Home
last modified time | relevance | path

Searched refs:dsaddrs (Results 1 – 4 of 4) sorted by relevance

/linux-4.19.296/fs/nfs/filelayout/
Dfilelayoutdev.c76 struct list_head dsaddrs; in nfs4_fl_alloc_deviceid_node() local
151 INIT_LIST_HEAD(&dsaddrs); in nfs4_fl_alloc_deviceid_node()
166 list_add_tail(&da->da_node, &dsaddrs); in nfs4_fl_alloc_deviceid_node()
168 if (list_empty(&dsaddrs)) { in nfs4_fl_alloc_deviceid_node()
174 dsaddr->ds_list[i] = nfs4_pnfs_ds_add(&dsaddrs, gfp_flags); in nfs4_fl_alloc_deviceid_node()
179 while (!list_empty(&dsaddrs)) { in nfs4_fl_alloc_deviceid_node()
180 da = list_first_entry(&dsaddrs, in nfs4_fl_alloc_deviceid_node()
193 while (!list_empty(&dsaddrs)) { in nfs4_fl_alloc_deviceid_node()
194 da = list_first_entry(&dsaddrs, struct nfs4_pnfs_ds_addr, in nfs4_fl_alloc_deviceid_node()
/linux-4.19.296/fs/nfs/flexfilelayout/
Dflexfilelayoutdev.c48 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()
150 new_ds->ds = nfs4_pnfs_ds_add(&dsaddrs, gfp_flags); in nfs4_ff_alloc_deviceid_node()
155 while (!list_empty(&dsaddrs)) { in nfs4_ff_alloc_deviceid_node()
156 da = list_first_entry(&dsaddrs, in nfs4_ff_alloc_deviceid_node()
168 while (!list_empty(&dsaddrs)) { in nfs4_ff_alloc_deviceid_node()
169 da = list_first_entry(&dsaddrs, struct nfs4_pnfs_ds_addr, in nfs4_ff_alloc_deviceid_node()
/linux-4.19.296/fs/nfs/
Dpnfs_nfs.c416 _data_server_lookup_locked(const struct list_head *dsaddrs) in _data_server_lookup_locked() argument
421 if (_same_data_server_addrs_locked(&ds->ds_addrs, dsaddrs)) in _data_server_lookup_locked()
465 nfs4_pnfs_remotestr(struct list_head *dsaddrs, gfp_t gfp_flags) in nfs4_pnfs_remotestr() argument
473 list_for_each_entry(da, dsaddrs, da_node) { in nfs4_pnfs_remotestr()
484 list_for_each_entry(da, dsaddrs, da_node) { in nfs4_pnfs_remotestr()
514 nfs4_pnfs_ds_add(struct list_head *dsaddrs, gfp_t gfp_flags) in nfs4_pnfs_ds_add() argument
519 if (list_empty(dsaddrs)) { in nfs4_pnfs_ds_add()
529 remotestr = nfs4_pnfs_remotestr(dsaddrs, gfp_flags); in nfs4_pnfs_ds_add()
532 tmp_ds = _data_server_lookup_locked(dsaddrs); in nfs4_pnfs_ds_add()
535 list_splice_init(dsaddrs, &ds->ds_addrs); in nfs4_pnfs_ds_add()
Dpnfs.h376 struct nfs4_pnfs_ds *nfs4_pnfs_ds_add(struct list_head *dsaddrs,