Searched refs:locations (Results 1 – 8 of 8) sorted by relevance
/fs/nfs/ |
D | nfs4namespace.c | 102 const struct nfs4_fs_locations *locations, in nfs4_validate_fspath() argument 111 fs_path = nfs4_pathname_string(&locations->fs_path, page2, PAGE_SIZE); in nfs4_validate_fspath() 297 const struct nfs4_fs_locations *locations) in nfs_follow_referral() argument 308 if (locations == NULL || locations->nlocations <= 0) in nfs_follow_referral() 322 error = nfs4_validate_fspath(dentry, locations, page, page2); in nfs_follow_referral() 328 for (loc = 0; loc < locations->nlocations; loc++) { in nfs_follow_referral() 329 const struct nfs4_fs_location *location = &locations->locations[loc]; in nfs_follow_referral() 483 const struct nfs4_fs_locations *locations) in nfs4_replace_transport() argument 489 if (locations == NULL || locations->nlocations <= 0) in nfs4_replace_transport() 500 for (loc = 0; loc < locations->nlocations; loc++) { in nfs4_replace_transport() [all …]
|
D | nfs4state.c | 2055 struct nfs4_fs_locations *locations = NULL; in nfs4_try_migration() local 2067 locations = kmalloc(sizeof(struct nfs4_fs_locations), GFP_KERNEL); in nfs4_try_migration() 2068 if (page == NULL || locations == NULL) { in nfs4_try_migration() 2074 result = nfs4_proc_get_locations(inode, locations, page, cred); in nfs4_try_migration() 2082 if (!locations->nlocations) in nfs4_try_migration() 2085 if (!(locations->fattr.valid & NFS_ATTR_FATTR_V4_LOCATIONS)) { in nfs4_try_migration() 2097 status = nfs4_replace_transport(server, locations); in nfs4_try_migration() 2110 kfree(locations); in nfs4_try_migration()
|
D | nfs4proc.c | 4087 struct nfs4_fs_locations *locations = NULL; in nfs4_get_referral() local 4092 locations = kmalloc(sizeof(struct nfs4_fs_locations), GFP_KERNEL); in nfs4_get_referral() 4093 if (locations == NULL) in nfs4_get_referral() 4096 status = nfs4_proc_fs_locations(client, dir, name, locations, page); in nfs4_get_referral() 4105 if (nfs_fsid_equal(&NFS_SERVER(dir)->fsid, &locations->fattr.fsid)) { in nfs4_get_referral() 4112 nfs_fixup_referral_attributes(&locations->fattr); in nfs4_get_referral() 4115 memcpy(fattr, &locations->fattr, sizeof(struct nfs_fattr)); in nfs4_get_referral() 4120 kfree(locations); in nfs4_get_referral() 7558 struct nfs4_fs_locations *locations, in _nfs40_proc_get_locations() argument 7575 .fs_locations = locations, in _nfs40_proc_get_locations() [all …]
|
D | nfs4_fs.h | 281 const struct nfs4_fs_locations *locations);
|
D | nfs4xdr.c | 3692 loc = &res->locations[res->nlocations]; in decode_attr_fs_locations()
|
/fs/nfsd/ |
D | export.c | 308 struct nfsd4_fs_location *locations = fsloc->locations; in nfsd4_fslocs_free() local 311 if (!locations) in nfsd4_fslocs_free() 315 kfree(locations[i].path); in nfsd4_fslocs_free() 316 kfree(locations[i].hosts); in nfsd4_fslocs_free() 319 kfree(locations); in nfsd4_fslocs_free() 320 fsloc->locations = NULL; in nfsd4_fslocs_free() 408 if (fsloc->locations) in fsloc_parse() 420 fsloc->locations = kcalloc(fsloc->locations_count, in fsloc_parse() 423 if (!fsloc->locations) in fsloc_parse() 432 fsloc->locations[i].hosts = kstrdup(buf, GFP_KERNEL); in fsloc_parse() [all …]
|
D | export.h | 29 struct nfsd4_fs_location *locations; member
|
D | nfs4xdr.c | 2247 status = nfsd4_encode_fs_location4(xdr, &fslocs->locations[i]); in nfsd4_encode_fs_locations()
|