Home
last modified time | relevance | path

Searched refs:da (Results 1 – 25 of 27) sorted by relevance

12

/linux-4.19.296/fs/nfsd/
Dflexfilelayout.c83 struct pnfs_ff_device_addr *da; in nfsd4_ff_proc_getdeviceinfo() local
88 da = kzalloc(sizeof(struct pnfs_ff_device_addr), GFP_KERNEL); in nfsd4_ff_proc_getdeviceinfo()
89 if (!da) in nfsd4_ff_proc_getdeviceinfo()
92 gdp->gd_device = da; in nfsd4_ff_proc_getdeviceinfo()
94 da->version = 3; in nfsd4_ff_proc_getdeviceinfo()
95 da->minor_version = 0; in nfsd4_ff_proc_getdeviceinfo()
97 da->rsize = svc_max_payload(rqstp); in nfsd4_ff_proc_getdeviceinfo()
98 da->wsize = da->rsize; in nfsd4_ff_proc_getdeviceinfo()
107 snprintf(da->netaddr.netid, FF_NETID_LEN + 1, "tcp"); in nfsd4_ff_proc_getdeviceinfo()
108 da->netaddr.netid_len = 3; in nfsd4_ff_proc_getdeviceinfo()
[all …]
Dflexfilelayoutxdr.c82 struct pnfs_ff_device_addr *da = gdp->gd_device; in nfsd4_ff_encode_getdeviceinfo() local
98 addr_len = 16 + da->netaddr.netid_len + da->netaddr.addr_len; in nfsd4_ff_encode_getdeviceinfo()
113 p = xdr_encode_opaque(p, da->netaddr.netid, da->netaddr.netid_len); in nfsd4_ff_encode_getdeviceinfo()
114 p = xdr_encode_opaque(p, da->netaddr.addr, da->netaddr.addr_len); in nfsd4_ff_encode_getdeviceinfo()
118 *p++ = cpu_to_be32(da->version); in nfsd4_ff_encode_getdeviceinfo()
119 *p++ = cpu_to_be32(da->minor_version); in nfsd4_ff_encode_getdeviceinfo()
120 *p++ = cpu_to_be32(da->rsize); in nfsd4_ff_encode_getdeviceinfo()
121 *p++ = cpu_to_be32(da->wsize); in nfsd4_ff_encode_getdeviceinfo()
122 *p++ = cpu_to_be32(da->tightly_coupled); in nfsd4_ff_encode_getdeviceinfo()
/linux-4.19.296/fs/nfs/
Dpnfs_nfs.c428 struct nfs4_pnfs_ds_addr *da; in destroy_ds() local
437 da = list_first_entry(&ds->ds_addrs, in destroy_ds()
440 list_del_init(&da->da_node); in destroy_ds()
441 kfree(da->da_remotestr); in destroy_ds()
442 kfree(da); in destroy_ds()
467 struct nfs4_pnfs_ds_addr *da; in nfs4_pnfs_remotestr() local
473 list_for_each_entry(da, dsaddrs, da_node) { in nfs4_pnfs_remotestr()
474 len += strlen(da->da_remotestr) + 1; /* string plus comma */ in nfs4_pnfs_remotestr()
484 list_for_each_entry(da, dsaddrs, da_node) { in nfs4_pnfs_remotestr()
485 size_t ll = strlen(da->da_remotestr); in nfs4_pnfs_remotestr()
[all …]
/linux-4.19.296/fs/nfs/filelayout/
Dfilelayoutdev.c77 struct nfs4_pnfs_ds_addr *da; in nfs4_fl_alloc_deviceid_node() local
163 da = nfs4_decode_mp_ds_addr(server->nfs_client->cl_net, in nfs4_fl_alloc_deviceid_node()
165 if (da) in nfs4_fl_alloc_deviceid_node()
166 list_add_tail(&da->da_node, &dsaddrs); in nfs4_fl_alloc_deviceid_node()
180 da = list_first_entry(&dsaddrs, in nfs4_fl_alloc_deviceid_node()
183 list_del_init(&da->da_node); in nfs4_fl_alloc_deviceid_node()
184 kfree(da->da_remotestr); in nfs4_fl_alloc_deviceid_node()
185 kfree(da); in nfs4_fl_alloc_deviceid_node()
194 da = list_first_entry(&dsaddrs, struct nfs4_pnfs_ds_addr, in nfs4_fl_alloc_deviceid_node()
196 list_del_init(&da->da_node); in nfs4_fl_alloc_deviceid_node()
[all …]
/linux-4.19.296/fs/gfs2/
Ddir.h35 const struct gfs2_inode *ip, struct gfs2_diradd *da);
36 static inline void gfs2_dir_no_add(struct gfs2_diradd *da) in gfs2_dir_no_add() argument
38 if (da->bh) in gfs2_dir_no_add()
39 brelse(da->bh); in gfs2_dir_no_add()
40 da->bh = NULL; in gfs2_dir_no_add()
52 struct gfs2_diradd *da);
Dinode.c509 const struct gfs2_diradd *da, in gfs2_trans_da_blks() argument
512 return da->nr_blocks + gfs2_rg_blocks(dip, da->nr_blocks) + in gfs2_trans_da_blks()
517 struct gfs2_inode *ip, struct gfs2_diradd *da) in link_dinode() argument
520 struct gfs2_alloc_parms ap = { .target = da->nr_blocks, }; in link_dinode()
523 if (da->nr_blocks) { in link_dinode()
532 error = gfs2_trans_begin(sdp, gfs2_trans_da_blks(dip, da, 2), 0); in link_dinode()
541 error = gfs2_dir_add(&dip->i_inode, name, ip, da); in link_dinode()
595 struct gfs2_diradd da = { .bh = NULL, .save_loc = 1, }; in gfs2_create_inode() local
639 error = gfs2_diradd_alloc_required(dir, name, &da); in gfs2_create_inode()
764 error = link_dinode(dip, name, ip, &da); in gfs2_create_inode()
[all …]
Ddir.c1798 const struct gfs2_inode *nip, struct gfs2_diradd *da) in gfs2_dir_add() argument
1801 struct buffer_head *bh = da->bh; in gfs2_dir_add()
1802 struct gfs2_dirent *dent = da->dent; in gfs2_dir_add()
1808 if (da->bh == NULL) { in gfs2_dir_add()
1826 da->dent = NULL; in gfs2_dir_add()
1827 da->bh = NULL; in gfs2_dir_add()
2154 struct gfs2_diradd *da) in gfs2_diradd_alloc_required() argument
2162 da->nr_blocks = 0; in gfs2_diradd_alloc_required()
2163 da->bh = NULL; in gfs2_diradd_alloc_required()
2164 da->dent = NULL; in gfs2_diradd_alloc_required()
[all …]
/linux-4.19.296/include/linux/
Dremoteproc.h167 u32 da; member
205 u32 da; member
230 u32 da; member
254 u32 da; member
321 u32 da; member
346 void * (*da_to_va)(struct rproc *rproc, u64 da, int len);
406 dma_addr_t da; member
514 u32 da; member
559 int rproc_coredump_add_segment(struct rproc *rproc, dma_addr_t da, size_t size);
/linux-4.19.296/drivers/media/dvb-frontends/
Ddibx000_common.c98 u16 da; in dibx000_master_i2c_write() local
113 da = (((u8) (msg->addr)) << 9) | in dibx000_master_i2c_write()
123 da |= 1 << 5; /* start */ in dibx000_master_i2c_write()
126 da |= 1 << 6; /* stop */ in dibx000_master_i2c_write()
128 dibx000_write_word(mst, mst->base_reg+1, da); in dibx000_master_i2c_write()
140 u16 da; in dibx000_master_i2c_read() local
146 da = (((u8) (msg->addr)) << 9) | in dibx000_master_i2c_read()
156 da |= 1 << 5; /* start */ in dibx000_master_i2c_read()
159 da |= 1 << 6; /* stop */ in dibx000_master_i2c_read()
160 dibx000_write_word(mst, mst->base_reg+1, da); in dibx000_master_i2c_read()
[all …]
/linux-4.19.296/drivers/of/
Dfdt_address.c73 u64 cp, s, da; in fdt_bus_default_map() local
77 da = of_read_number(addr, na); in fdt_bus_default_map()
80 cp, s, da); in fdt_bus_default_map()
82 if (da < cp || da >= (cp + s)) in fdt_bus_default_map()
84 return da - cp; in fdt_bus_default_map()
Daddress.c69 u64 cp, s, da; in of_bus_default_map() local
73 da = of_read_number(addr, na); in of_bus_default_map()
77 (unsigned long long)da); in of_bus_default_map()
79 if (da < cp || da >= (cp + s)) in of_bus_default_map()
81 return da - cp; in of_bus_default_map()
148 u64 cp, s, da; in of_bus_pci_map() local
161 da = of_read_number(addr + 1, na - 1); in of_bus_pci_map()
165 (unsigned long long)da); in of_bus_pci_map()
167 if (da < cp || da >= (cp + s)) in of_bus_pci_map()
169 return da - cp; in of_bus_pci_map()
[all …]
/linux-4.19.296/fs/nfs/flexfilelayout/
Dflexfilelayoutdev.c49 struct nfs4_pnfs_ds_addr *da; in nfs4_ff_alloc_deviceid_node() local
83 da = nfs4_decode_mp_ds_addr(server->nfs_client->cl_net, in nfs4_ff_alloc_deviceid_node()
85 if (da) in nfs4_ff_alloc_deviceid_node()
86 list_add_tail(&da->da_node, &dsaddrs); in nfs4_ff_alloc_deviceid_node()
156 da = list_first_entry(&dsaddrs, in nfs4_ff_alloc_deviceid_node()
159 list_del_init(&da->da_node); in nfs4_ff_alloc_deviceid_node()
160 kfree(da->da_remotestr); in nfs4_ff_alloc_deviceid_node()
161 kfree(da); in nfs4_ff_alloc_deviceid_node()
169 da = list_first_entry(&dsaddrs, struct nfs4_pnfs_ds_addr, in nfs4_ff_alloc_deviceid_node()
171 list_del_init(&da->da_node); in nfs4_ff_alloc_deviceid_node()
[all …]
Dflexfilelayout.c2153 ff_layout_encode_netaddr(struct xdr_stream *xdr, struct nfs4_pnfs_ds_addr *da) in ff_layout_encode_netaddr() argument
2155 struct sockaddr *sap = (struct sockaddr *)&da->da_addr; in ff_layout_encode_netaddr()
2228 struct nfs4_pnfs_ds_addr *da; in ff_layout_encode_ff_layoutupdate() local
2233 da = list_first_entry(&ds->ds_addrs, struct nfs4_pnfs_ds_addr, da_node); in ff_layout_encode_ff_layoutupdate()
2235 __func__, ds->ds_remotestr, da->da_remotestr); in ff_layout_encode_ff_layoutupdate()
2237 ff_layout_encode_netaddr(xdr, da); in ff_layout_encode_ff_layoutupdate()
/linux-4.19.296/drivers/ptp/
Dptp_sysfs.c289 struct device_attribute *da = &ptp->pin_dev_attr[i]; in ptp_populate_pin_groups() local
290 sysfs_attr_init(&da->attr); in ptp_populate_pin_groups()
291 da->attr.name = info->pin_config[i].name; in ptp_populate_pin_groups()
292 da->attr.mode = 0644; in ptp_populate_pin_groups()
293 da->show = ptp_pin_show; in ptp_populate_pin_groups()
294 da->store = ptp_pin_store; in ptp_populate_pin_groups()
295 ptp->pin_attr[i] = &da->attr; in ptp_populate_pin_groups()
/linux-4.19.296/drivers/misc/mic/scif/
Dscif_main.c89 dma_addr_t da = 0; in scif_qp_setup_handler() local
95 da = bp->scif_card_dma_addr; in scif_qp_setup_handler()
100 da = readq(&bp->scif_host_dma_addr); in scif_qp_setup_handler()
103 if (da) { in scif_qp_setup_handler()
104 err = scif_qp_response(da, scifdev); in scif_qp_setup_handler()
/linux-4.19.296/fs/xfs/libxfs/
Dxfs_dir2.h279 xfs_dir2_da_to_db(struct xfs_da_geometry *geo, xfs_dablk_t da) in xfs_dir2_da_to_db() argument
281 return (xfs_dir2_db_t)(da >> (geo->blklog - geo->fsblog)); in xfs_dir2_da_to_db()
288 xfs_dir2_da_to_byte(struct xfs_da_geometry *geo, xfs_dablk_t da) in xfs_dir2_da_to_byte() argument
290 return xfs_dir2_db_off_to_byte(geo, xfs_dir2_da_to_db(geo, da), 0); in xfs_dir2_da_to_byte()
Dxfs_dir2.c642 xfs_dablk_t da; /* directory file offset */ in xfs_dir2_shrink_inode() local
654 da = xfs_dir2_db_to_da(args->geo, db); in xfs_dir2_shrink_inode()
657 error = xfs_bunmapi(tp, dp, da, args->geo->fsbcount, 0, 0, &done); in xfs_dir2_shrink_inode()
688 bno = da; in xfs_dir2_shrink_inode()
/linux-4.19.296/drivers/misc/mic/host/
Dmic_boot.c207 dma_addr_t da; in __mic_dma_map_sg() local
214 da = mic_map(mdev, sg_dma_address(s) + s->offset, s->length); in __mic_dma_map_sg()
215 if (!da) in __mic_dma_map_sg()
217 sg_dma_address(s) = da; in __mic_dma_map_sg()
237 dma_addr_t da; in __mic_dma_unmap_sg() local
241 da = mic_to_dma_addr(mdev, sg_dma_address(s)); in __mic_dma_unmap_sg()
243 sg_dma_address(s) = da; in __mic_dma_unmap_sg()
/linux-4.19.296/drivers/uwb/
Dhwa-rc.c180 struct uwb_rc_evt_drp_avail_WUSB_0100 *da; in hwarc_filter_evt_drp_avail_WUSB_0100() local
187 da = container_of(*header, struct uwb_rc_evt_drp_avail_WUSB_0100, rceb); in hwarc_filter_evt_drp_avail_WUSB_0100()
189 if (bytes_left < sizeof(*da)) { in hwarc_filter_evt_drp_avail_WUSB_0100()
192 "received %zu.\n", (size_t)sizeof(*da), bytes_left); in hwarc_filter_evt_drp_avail_WUSB_0100()
195 bytes_left -= sizeof(*da); in hwarc_filter_evt_drp_avail_WUSB_0100()
196 ielength = le16_to_cpu(da->wIELength); in hwarc_filter_evt_drp_avail_WUSB_0100()
209 ie_hdr = (void *) da->IEData; in hwarc_filter_evt_drp_avail_WUSB_0100()
219 newda->rceb = da->rceb; in hwarc_filter_evt_drp_avail_WUSB_0100()
/linux-4.19.296/drivers/auxdisplay/
Dpanel.c215 int da; member
934 lcd.pins.da = PIN_D0; in lcd_init()
997 lcd.pins.da = lcd_da_pin; in lcd_init()
1016 if (lcd.pins.da == PIN_NOT_SET) in lcd_init()
1017 lcd.pins.da = DEFAULT_LCD_PIN_SDA; in lcd_init()
1045 if (lcd.pins.da == PIN_NOT_SET) in lcd_init()
1046 lcd.pins.da = PIN_NONE; in lcd_init()
1066 pin_to_bits(lcd.pins.da, lcd_bits[LCD_PORT_D][LCD_BIT_DA], in lcd_init()
1744 lcd.pins.da = lcd_da_pin; in panel_init_module()
/linux-4.19.296/drivers/s390/block/
Ddasd_fba.h16 unsigned char da:1; /* usually zero */ member
/linux-4.19.296/include/net/
Dllc.h104 const unsigned char *da);
Dllc_pdu.h276 static inline void llc_pdu_decode_da(struct sk_buff *skb, u8 *da) in llc_pdu_decode_da() argument
279 memcpy(da, eth_hdr(skb)->h_dest, ETH_ALEN); in llc_pdu_decode_da()
/linux-4.19.296/fs/kernfs/
Ddir.c74 size_t da, db; in kernfs_common_ancestor() local
80 da = kernfs_depth(ra->kn, a); in kernfs_common_ancestor()
83 while (da > db) { in kernfs_common_ancestor()
85 da--; in kernfs_common_ancestor()
87 while (db > da) { in kernfs_common_ancestor()
/linux-4.19.296/fs/xfs/
Dxfs_ioctl.c1930 struct dioattr da; in xfs_file_ioctl() local
1935 da.d_mem = da.d_miniosz = target->bt_logical_sectorsize; in xfs_file_ioctl()
1936 da.d_maxiosz = INT_MAX & ~(da.d_miniosz - 1); in xfs_file_ioctl()
1938 if (copy_to_user(arg, &da, sizeof(da))) in xfs_file_ioctl()

12