Home
last modified time | relevance | path

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

/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()
/fs/nfs/flexfilelayout/
Dflexfilelayoutdev.c45 struct list_head dsaddrs; in nfs4_ff_alloc_deviceid_node() local
66 INIT_LIST_HEAD(&dsaddrs); in nfs4_ff_alloc_deviceid_node()
83 list_add_tail(&da->da_node, &dsaddrs); in nfs4_ff_alloc_deviceid_node()
85 if (list_empty(&dsaddrs)) { in nfs4_ff_alloc_deviceid_node()
140 new_ds->ds = nfs4_pnfs_ds_add(&dsaddrs, gfp_flags); in nfs4_ff_alloc_deviceid_node()
145 while (!list_empty(&dsaddrs)) { in nfs4_ff_alloc_deviceid_node()
146 da = list_first_entry(&dsaddrs, in nfs4_ff_alloc_deviceid_node()
158 while (!list_empty(&dsaddrs)) { in nfs4_ff_alloc_deviceid_node()
159 da = list_first_entry(&dsaddrs, struct nfs4_pnfs_ds_addr, in nfs4_ff_alloc_deviceid_node()
/fs/nfs/
Dpnfs_nfs.c440 _data_server_lookup_locked(const struct list_head *dsaddrs) in _data_server_lookup_locked() argument
445 if (_same_data_server_addrs_locked(&ds->ds_addrs, dsaddrs)) in _data_server_lookup_locked()
489 nfs4_pnfs_remotestr(struct list_head *dsaddrs, gfp_t gfp_flags) in nfs4_pnfs_remotestr() argument
497 list_for_each_entry(da, dsaddrs, da_node) { in nfs4_pnfs_remotestr()
508 list_for_each_entry(da, dsaddrs, da_node) { in nfs4_pnfs_remotestr()
538 nfs4_pnfs_ds_add(struct list_head *dsaddrs, gfp_t gfp_flags) in nfs4_pnfs_ds_add() argument
543 if (list_empty(dsaddrs)) { in nfs4_pnfs_ds_add()
553 remotestr = nfs4_pnfs_remotestr(dsaddrs, gfp_flags); in nfs4_pnfs_ds_add()
556 tmp_ds = _data_server_lookup_locked(dsaddrs); in nfs4_pnfs_ds_add()
559 list_splice_init(dsaddrs, &ds->ds_addrs); in nfs4_pnfs_ds_add()
Dpnfs.h361 struct nfs4_pnfs_ds *nfs4_pnfs_ds_add(struct list_head *dsaddrs,