Searched refs:locations (Results 1 – 8 of 8) sorted by relevance
| /fs/nfs/ |
| A D | nfs4namespace.c | 130 const struct nfs4_fs_locations *locations, in nfs4_validate_fspath() argument 149 fs_path = nfs4_pathname_string(&locations->fs_path, &len); in nfs4_validate_fspath() 369 const struct nfs4_fs_locations *locations) in nfs_follow_referral() argument 374 if (locations == NULL || locations->nlocations <= 0) in nfs_follow_referral() 380 error = nfs4_validate_fspath(ctx->clone_data.dentry, locations, ctx); in nfs_follow_referral() 385 for (loc = 0; loc < locations->nlocations; loc++) { in nfs_follow_referral() 386 const struct nfs4_fs_location *location = &locations->locations[loc]; in nfs_follow_referral() 542 const struct nfs4_fs_locations *locations) in nfs4_replace_transport() argument 548 if (locations == NULL || locations->nlocations <= 0) in nfs4_replace_transport() 559 for (loc = 0; loc < locations->nlocations; loc++) { in nfs4_replace_transport() [all …]
|
| A D | nfs4state.c | 2113 struct nfs4_fs_locations *locations = NULL; in nfs4_try_migration() local 2125 locations = kmalloc(sizeof(struct nfs4_fs_locations), GFP_KERNEL); in nfs4_try_migration() 2127 if (page == NULL || locations == NULL || fattr == NULL) { in nfs4_try_migration() 2133 locations->fattr = fattr; in nfs4_try_migration() 2135 result = nfs4_proc_get_locations(server, NFS_FH(inode), locations, in nfs4_try_migration() 2144 if (!locations->nlocations) in nfs4_try_migration() 2147 if (!(locations->fattr->valid & NFS_ATTR_FATTR_V4_LOCATIONS)) { in nfs4_try_migration() 2159 status = nfs4_replace_transport(server, locations); in nfs4_try_migration() 2172 if (locations != NULL) in nfs4_try_migration() 2173 kfree(locations->fattr); in nfs4_try_migration() [all …]
|
| A D | nfs4proc.c | 4193 if (!locations) in _nfs4_discover_trunking() 4196 if (!locations->fattr) in _nfs4_discover_trunking() 4206 &locations->locations[i].rootpath)) in _nfs4_discover_trunking() 4208 test_fs_location_for_trunking(&locations->locations[i], clp, in _nfs4_discover_trunking() 4212 kfree(locations->fattr); in _nfs4_discover_trunking() 4214 kfree(locations); in _nfs4_discover_trunking() 4427 if (locations == NULL) in nfs4_get_referral() 4430 locations->fattr = fattr; in nfs4_get_referral() 4453 kfree(locations); in nfs4_get_referral() 8332 locations->nlocations = 0; in _nfs40_proc_get_locations() [all …]
|
| A D | nfs4_fs.h | 285 const struct nfs4_fs_locations *locations);
|
| A D | nfs4xdr.c | 3794 loc = &res->locations[res->nlocations]; in decode_attr_fs_locations()
|
| /fs/nfsd/ |
| A D | export.c | 317 struct nfsd4_fs_location *locations = fsloc->locations; in nfsd4_fslocs_free() local 320 if (!locations) in nfsd4_fslocs_free() 324 kfree(locations[i].path); in nfsd4_fslocs_free() 325 kfree(locations[i].hosts); in nfsd4_fslocs_free() 328 kfree(locations); in nfsd4_fslocs_free() 329 fsloc->locations = NULL; in nfsd4_fslocs_free() 468 if (fsloc->locations) in fsloc_parse() 483 if (!fsloc->locations) in fsloc_parse() 493 if (!fsloc->locations[i].hosts) in fsloc_parse() 502 if (!fsloc->locations[i].path) in fsloc_parse() [all …]
|
| A D | export.h | 30 struct nfsd4_fs_location *locations; member
|
| A D | nfs4xdr.c | 2800 status = nfsd4_encode_fs_location4(xdr, &fslocs->locations[i]); in nfsd4_encode_fs_locations4()
|
Completed in 62 milliseconds