Home
last modified time | relevance | path

Searched refs:ld (Results 1 – 21 of 21) sorted by relevance

/linux-4.19.296/include/linux/
Dlcd.h85 int (*reset)(struct lcd_device *ld);
88 int (*power_on)(struct lcd_device *ld, int enable);
106 static inline void lcd_set_power(struct lcd_device *ld, int power) in lcd_set_power() argument
108 mutex_lock(&ld->update_lock); in lcd_set_power()
109 if (ld->ops && ld->ops->set_power) in lcd_set_power()
110 ld->ops->set_power(ld, power); in lcd_set_power()
111 mutex_unlock(&ld->update_lock); in lcd_set_power()
119 extern void lcd_device_unregister(struct lcd_device *ld);
121 struct lcd_device *ld);
Dtty.h517 extern void tty_buffer_flush(struct tty_struct *tty, struct tty_ldisc *ld);
723 extern int tty_ldisc_receive_buf(struct tty_ldisc *ld, const unsigned char *p,
/linux-4.19.296/fs/gfs2/
Dlops.c377 struct gfs2_log_descriptor *ld = page_address(page); in gfs2_get_log_desc() local
378 clear_page(ld); in gfs2_get_log_desc()
379 ld->ld_header.mh_magic = cpu_to_be32(GFS2_MAGIC); in gfs2_get_log_desc()
380 ld->ld_header.mh_type = cpu_to_be32(GFS2_METATYPE_LD); in gfs2_get_log_desc()
381 ld->ld_header.mh_format = cpu_to_be32(GFS2_FORMAT_LD); in gfs2_get_log_desc()
382 ld->ld_type = cpu_to_be32(ld_type); in gfs2_get_log_desc()
383 ld->ld_length = cpu_to_be32(ld_length); in gfs2_get_log_desc()
384 ld->ld_data1 = cpu_to_be32(ld_data1); in gfs2_get_log_desc()
385 ld->ld_data2 = 0; in gfs2_get_log_desc()
420 struct gfs2_log_descriptor *ld; in gfs2_before_commit() local
[all …]
Dlops.h81 struct gfs2_log_descriptor *ld, in lops_scan_elements() argument
89 ld, ptr, pass); in lops_scan_elements()
Drecovery.c313 struct gfs2_log_descriptor *ld; in foreach_descriptor() local
329 ld = (struct gfs2_log_descriptor *)bh->b_data; in foreach_descriptor()
330 length = be32_to_cpu(ld->ld_length); in foreach_descriptor()
332 if (be32_to_cpu(ld->ld_header.mh_type) == GFS2_METATYPE_LH) { in foreach_descriptor()
351 error = lops_scan_elements(jd, start, ld, ptr, pass); in foreach_descriptor()
Dincore.h60 struct gfs2_log_descriptor *ld, __be64 *ptr,
/linux-4.19.296/fs/nfs/
Dpnfs.h229 extern void pnfs_put_layoutdriver(const struct pnfs_layoutdriver_type *ld);
338 const struct pnfs_layoutdriver_type *ld; member
446 struct pnfs_layoutdriver_type *ld = NFS_SERVER(inode)->pnfs_curr_ld; in pnfs_get_ds_info() local
448 if (ld == NULL || ld->get_ds_info == NULL) in pnfs_get_ds_info()
450 return ld->get_ds_info(inode); in pnfs_get_ds_info()
464 struct pnfs_layoutdriver_type *ld = NFS_SERVER(inode)->pnfs_curr_ld; in pnfs_mark_request_commit() local
466 if (lseg == NULL || ld->mark_request_commit == NULL) in pnfs_mark_request_commit()
468 ld->mark_request_commit(req, lseg, cinfo, ds_commit_idx); in pnfs_mark_request_commit()
476 struct pnfs_layoutdriver_type *ld = NFS_SERVER(inode)->pnfs_curr_ld; in pnfs_clear_request_commit() local
478 if (ld == NULL || ld->clear_request_commit == NULL) in pnfs_clear_request_commit()
[all …]
Dpnfs_dev.c77 _lookup_deviceid(const struct pnfs_layoutdriver_type *ld, in _lookup_deviceid() argument
84 if (d->ld == ld && d->nfs_client == clp && in _lookup_deviceid()
225 nfs4_delete_deviceid(const struct pnfs_layoutdriver_type *ld, in nfs4_delete_deviceid() argument
232 d = _lookup_deviceid(ld, clp, id, nfs4_deviceid_hash(id)); in nfs4_delete_deviceid()
253 d->ld = server->pnfs_curr_ld; in nfs4_init_deviceid_node()
277 nfs4_delete_deviceid(d->ld, d->nfs_client, &d->deviceid); in nfs4_put_deviceid_node()
281 d->ld->free_deviceid_node(d); in nfs4_put_deviceid_node()
Dcallback_proc.c367 const struct pnfs_layoutdriver_type *ld = NULL; in nfs4_callback_devicenotify() local
379 if (!ld || ld->id != dev->cbd_layout_type) { in nfs4_callback_devicenotify()
380 pnfs_put_layoutdriver(ld); in nfs4_callback_devicenotify()
381 ld = pnfs_find_layoutdriver(dev->cbd_layout_type); in nfs4_callback_devicenotify()
382 if (!ld) in nfs4_callback_devicenotify()
385 nfs4_delete_deviceid(ld, cps->clp, &dev->cbd_dev_id); in nfs4_callback_devicenotify()
387 pnfs_put_layoutdriver(ld); in nfs4_callback_devicenotify()
Dpnfs.c100 void pnfs_put_layoutdriver(const struct pnfs_layoutdriver_type *ld) in pnfs_put_layoutdriver() argument
102 if (ld) in pnfs_put_layoutdriver()
103 module_put(ld->owner); in pnfs_put_layoutdriver()
272 struct pnfs_layoutdriver_type *ld = NFS_SERVER(ino)->pnfs_curr_ld; in pnfs_alloc_layout_hdr() local
273 return ld->alloc_layout_hdr(ino, gfp_flags); in pnfs_alloc_layout_hdr()
280 struct pnfs_layoutdriver_type *ld = server->pnfs_curr_ld; in pnfs_free_layout_hdr() local
290 return ld->free_layout_hdr(lo); in pnfs_free_layout_hdr()
1197 struct pnfs_layoutdriver_type *ld = NFS_SERVER(ino)->pnfs_curr_ld; in pnfs_send_layoutreturn() local
1215 if (ld->prepare_layoutreturn) in pnfs_send_layoutreturn()
1216 ld->prepare_layoutreturn(&lrp->args); in pnfs_send_layoutreturn()
[all …]
/linux-4.19.296/fs/xfs/
Dxfs_mount.h301 xfs_rfsblock_t ld = XFS_BB_TO_FSBT(mp, d); in xfs_daddr_to_agno() local
302 do_div(ld, mp->m_sb.sb_agblocks); in xfs_daddr_to_agno()
303 return (xfs_agnumber_t) ld; in xfs_daddr_to_agno()
309 xfs_rfsblock_t ld = XFS_BB_TO_FSBT(mp, d); in xfs_daddr_to_agbno() local
310 return (xfs_agblock_t) do_div(ld, mp->m_sb.sb_agblocks); in xfs_daddr_to_agbno()
/linux-4.19.296/drivers/isdn/capi/
Dcapi.c408 struct tty_ldisc *ld; in handle_recv_skb() local
417 ld = tty_ldisc_ref(tty); in handle_recv_skb()
418 if (!ld) { in handle_recv_skb()
425 if (ld->ops->receive_buf == NULL) { in handle_recv_skb()
454 ld->ops->receive_buf(tty, skb->data, NULL, skb->len); in handle_recv_skb()
469 tty_ldisc_deref(ld); in handle_recv_skb()
/linux-4.19.296/drivers/gpio/
Dgpio-f7188x.c114 static inline void superio_select(int base, int ld) in superio_select() argument
117 outb(ld, base + 1); in superio_select()
/linux-4.19.296/lib/raid6/test/
DMakefile12 LD = ld
/linux-4.19.296/fs/
DKconfig.binfmt27 ld.so (check the file <file:Documentation/Changes> for location and
134 or /lib/ld.so) are still in a.out format, you will have to
/linux-4.19.296/drivers/media/rc/
Dlirc_dev.c743 static void lirc_release_device(struct device *ld) in lirc_release_device() argument
745 struct rc_dev *rcdev = container_of(ld, struct rc_dev, lirc_dev); in lirc_release_device()
/linux-4.19.296/drivers/char/pcmcia/
Dsynclink_cs.c498 struct tty_ldisc *ld; in ldisc_receive_buf() local
501 ld = tty_ldisc_ref(tty); in ldisc_receive_buf()
502 if (ld) { in ldisc_receive_buf()
503 if (ld->ops->receive_buf) in ldisc_receive_buf()
504 ld->ops->receive_buf(tty, data, flags, count); in ldisc_receive_buf()
505 tty_ldisc_deref(ld); in ldisc_receive_buf()
/linux-4.19.296/fs/nfs/flexfilelayout/
Dflexfilelayoutdev.c189 nfs4_delete_deviceid(devid->ld, devid->nfs_client, &devid->deviceid); in ff_layout_mark_devid_invalid()
Dflexfilelayout.c1101 nfs4_delete_deviceid(devid->ld, devid->nfs_client, in ff_layout_async_handle_error_v4()
1139 nfs4_delete_deviceid(devid->ld, devid->nfs_client, in ff_layout_async_handle_error_v3()
/linux-4.19.296/fs/nfsd/
Dnfs4xdr.c3265 nfsd4_encode_lock_denied(struct xdr_stream *xdr, struct nfsd4_lock_denied *ld) in nfsd4_encode_lock_denied() argument
3267 struct xdr_netobj *conf = &ld->ld_owner; in nfsd4_encode_lock_denied()
3285 p = xdr_encode_hyper(p, ld->ld_start); in nfsd4_encode_lock_denied()
3286 p = xdr_encode_hyper(p, ld->ld_length); in nfsd4_encode_lock_denied()
3287 *p++ = cpu_to_be32(ld->ld_type); in nfsd4_encode_lock_denied()
3289 p = xdr_encode_opaque_fixed(p, &ld->ld_clientid, 8); in nfsd4_encode_lock_denied()
/linux-4.19.296/fs/nfs/blocklayout/
Dblocklayout.c604 nfs4_delete_deviceid(node->ld, node->nfs_client, id); in bl_find_get_deviceid()