Home
last modified time | relevance | path

Searched refs:dsaddr (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/fs/nfs/filelayout/
H A Dfilelayoutdev.c45 nfs4_fl_free_deviceid(struct nfs4_file_layout_dsaddr *dsaddr) in nfs4_fl_free_deviceid() argument
50 nfs4_print_deviceid(&dsaddr->id_node.deviceid); in nfs4_fl_free_deviceid()
52 for (i = 0; i < dsaddr->ds_num; i++) { in nfs4_fl_free_deviceid()
53 ds = dsaddr->ds_list[i]; in nfs4_fl_free_deviceid()
57 kfree(dsaddr->stripe_indices); in nfs4_fl_free_deviceid()
58 kfree_rcu(dsaddr, id_node.rcu); in nfs4_fl_free_deviceid()
72 struct nfs4_file_layout_dsaddr *dsaddr = NULL; in nfs4_fl_alloc_deviceid_node() local
139 dsaddr = kzalloc(struct_size(dsaddr, ds_list, num), gfp_flags); in nfs4_fl_alloc_deviceid_node()
140 if (!dsaddr) in nfs4_fl_alloc_deviceid_node()
143 dsaddr->stripe_count = cnt; in nfs4_fl_alloc_deviceid_node()
[all …]
H A Dfilelayout.h65 struct nfs4_file_layout_dsaddr *dsaddr; /* Point to GETDEVINFO data */ member
92 return &FILELAYOUT_LSEG(lseg)->dsaddr->id_node; in FILELAYOUT_DEVID_NODE()
115 extern void nfs4_fl_put_deviceid(struct nfs4_file_layout_dsaddr *dsaddr);
116 extern void nfs4_fl_free_deviceid(struct nfs4_file_layout_dsaddr *dsaddr);
H A Dfilelayout.c58 u32 stripe_width = flseg->stripe_unit * flseg->dsaddr->stripe_count; in filelayout_get_dense_offset()
543 struct nfs4_file_layout_dsaddr *dsaddr; in filelayout_check_deviceid() local
547 if (fl->dsaddr != NULL) in filelayout_check_deviceid()
556 dsaddr = container_of(d, struct nfs4_file_layout_dsaddr, id_node); in filelayout_check_deviceid()
558 if (filelayout_test_devid_unavailable(&dsaddr->id_node)) in filelayout_check_deviceid()
561 if (fl->first_stripe_index >= dsaddr->stripe_count) { in filelayout_check_deviceid()
568 fl->num_fh > 1 && fl->num_fh != dsaddr->ds_num) || in filelayout_check_deviceid()
570 fl->num_fh != dsaddr->stripe_count)) { in filelayout_check_deviceid()
581 if (cmpxchg(&fl->dsaddr, NULL, dsaddr) != NULL) in filelayout_check_deviceid()
586 nfs4_fl_put_deviceid(dsaddr); in filelayout_check_deviceid()
[all …]
/openbmc/u-boot/drivers/mmc/
H A Dfsl_esdhc.c39 uint dsaddr; /* SDMA system address register */ member
281 esdhc_write32(&regs->dsaddr, lower_32_bits(addr)); in esdhc_setup_data()
283 esdhc_write32(&regs->dsaddr, (u32)data->dest); in esdhc_setup_data()
311 esdhc_write32(&regs->dsaddr, lower_32_bits(addr)); in esdhc_setup_data()
313 esdhc_write32(&regs->dsaddr, (u32)data->src); in esdhc_setup_data()
/openbmc/linux/fs/nfs/flexfilelayout/
H A Dflexfilelayout.c2182 struct nfs4_ff_layout_ds *dsaddr; in ff_layout_alloc_deviceid_node() local
2184 dsaddr = nfs4_ff_alloc_deviceid_node(server, pdev, gfp_flags); in ff_layout_alloc_deviceid_node()
2185 if (!dsaddr) in ff_layout_alloc_deviceid_node()
2187 return &dsaddr->id_node; in ff_layout_alloc_deviceid_node()