Home
last modified time | relevance | path

Searched refs:nservers (Results 1 – 7 of 7) sorted by relevance

/fs/afs/
Dvolume.c71 for (loop = 0; loop < vlocation->vldb.nservers; loop++) in afs_volume_lookup()
125 volume->servers[volume->nservers] = server; in afs_volume_lookup()
126 volume->nservers++; in afs_volume_lookup()
162 for (loop = volume->nservers - 1; loop >= 0; loop--) in afs_volume_lookup()
206 for (loop = volume->nservers - 1; loop >= 0; loop--) in afs_put_volume()
237 if (volume->nservers == 0) { in afs_volume_pick_fileserver()
247 for (loop = 0; loop < volume->nservers; loop++) { in afs_volume_pick_fileserver()
332 for (loop = 0; loop < volume->nservers; loop++) in afs_volume_release_fileserver()
340 volume->nservers--; in afs_volume_release_fileserver()
344 (volume->nservers - loop)); in afs_volume_release_fileserver()
[all …]
Dcache.c164 dlen -= offsetof(struct afs_cache_vlocation, nservers); in afs_vlocation_cache_get_aux()
168 memcpy(buffer, (uint8_t *)&vlocation->vldb.nservers, dlen); in afs_vlocation_cache_get_aux()
190 dlen -= offsetof(struct afs_cache_vlocation, nservers); in afs_vlocation_cache_check_aux()
194 cvldb = container_of(buffer, struct afs_cache_vlocation, nservers); in afs_vlocation_cache_check_aux()
199 memcpy((uint8_t *)&vlocation->vldb.nservers, buffer, dlen); in afs_vlocation_cache_check_aux()
Dafs.h84 size_t nservers; /* number of entries used in servers[] */ member
Dvlclient.c84 entry->nservers = ntohl(*bp++); in afs_deliver_vl_get_entry_by_xxx()
Dinternal.h224 uint8_t nservers; /* number of entries used in servers[] */ member
313 unsigned short nservers; /* number of server slots filled */ member
/fs/nfs/
Dnfs4namespace.c258 for (s = 0; s < location->nservers; s++) { in try_location()
331 if (location == NULL || location->nservers <= 0 || in nfs_follow_referral()
444 for (s = 0; s < location->nservers; s++) { in nfs4_try_replacing_one_location()
509 if (location == NULL || location->nservers <= 0 || in nfs4_replace_transport()
Dnfs4xdr.c3651 for (loc->nservers = 0; loc->nservers < m; loc->nservers++) { in decode_attr_fs_locations()
3654 if (loc->nservers == NFS4_FS_LOCATION_MAXSERVERS) { in decode_attr_fs_locations()
3661 for (i = loc->nservers; i < m; i++) { in decode_attr_fs_locations()
3670 server = &loc->servers[loc->nservers]; in decode_attr_fs_locations()