Searched refs:dsaddrs (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/fs/nfs/filelayout/ |
D | filelayoutdev.c | 76 struct list_head dsaddrs; in nfs4_fl_alloc_deviceid_node() local 149 INIT_LIST_HEAD(&dsaddrs); in nfs4_fl_alloc_deviceid_node() 164 list_add_tail(&da->da_node, &dsaddrs); in nfs4_fl_alloc_deviceid_node() 166 if (list_empty(&dsaddrs)) { in nfs4_fl_alloc_deviceid_node() 172 dsaddr->ds_list[i] = nfs4_pnfs_ds_add(&dsaddrs, gfp_flags); in nfs4_fl_alloc_deviceid_node() 177 while (!list_empty(&dsaddrs)) { in nfs4_fl_alloc_deviceid_node() 178 da = list_first_entry(&dsaddrs, in nfs4_fl_alloc_deviceid_node() 191 while (!list_empty(&dsaddrs)) { in nfs4_fl_alloc_deviceid_node() 192 da = list_first_entry(&dsaddrs, struct nfs4_pnfs_ds_addr, in nfs4_fl_alloc_deviceid_node()
|
/linux-6.1.9/fs/nfs/flexfilelayout/ |
D | flexfilelayoutdev.c | 48 struct list_head dsaddrs; in nfs4_ff_alloc_deviceid_node() local 69 INIT_LIST_HEAD(&dsaddrs); in nfs4_ff_alloc_deviceid_node() 86 list_add_tail(&da->da_node, &dsaddrs); in nfs4_ff_alloc_deviceid_node() 88 if (list_empty(&dsaddrs)) { in nfs4_ff_alloc_deviceid_node() 152 new_ds->ds = nfs4_pnfs_ds_add(&dsaddrs, gfp_flags); in nfs4_ff_alloc_deviceid_node() 157 while (!list_empty(&dsaddrs)) { in nfs4_ff_alloc_deviceid_node() 158 da = list_first_entry(&dsaddrs, in nfs4_ff_alloc_deviceid_node() 170 while (!list_empty(&dsaddrs)) { in nfs4_ff_alloc_deviceid_node() 171 da = list_first_entry(&dsaddrs, struct nfs4_pnfs_ds_addr, in nfs4_ff_alloc_deviceid_node()
|
/linux-6.1.9/fs/nfs/ |
D | pnfs_nfs.c | 654 _data_server_lookup_locked(const struct list_head *dsaddrs) in _data_server_lookup_locked() argument 659 if (_same_data_server_addrs_locked(&ds->ds_addrs, dsaddrs)) in _data_server_lookup_locked() 717 nfs4_pnfs_remotestr(struct list_head *dsaddrs, gfp_t gfp_flags) in nfs4_pnfs_remotestr() argument 725 list_for_each_entry(da, dsaddrs, da_node) { in nfs4_pnfs_remotestr() 736 list_for_each_entry(da, dsaddrs, da_node) { in nfs4_pnfs_remotestr() 766 nfs4_pnfs_ds_add(struct list_head *dsaddrs, gfp_t gfp_flags) in nfs4_pnfs_ds_add() argument 771 if (list_empty(dsaddrs)) { in nfs4_pnfs_ds_add() 781 remotestr = nfs4_pnfs_remotestr(dsaddrs, gfp_flags); in nfs4_pnfs_ds_add() 784 tmp_ds = _data_server_lookup_locked(dsaddrs); in nfs4_pnfs_ds_add() 787 list_splice_init(dsaddrs, &ds->ds_addrs); in nfs4_pnfs_ds_add()
|
D | pnfs.h | 408 struct nfs4_pnfs_ds *nfs4_pnfs_ds_add(struct list_head *dsaddrs,
|