Searched refs:locations (Results 1 – 5 of 5) sorted by relevance
/fs/nfs/ |
D | nfs4namespace.c | 76 const struct nfs4_fs_locations *locations, in nfs4_validate_fspath() argument 85 fs_path = nfs4_pathname_string(&locations->fs_path, page2, PAGE_SIZE); in nfs4_validate_fspath() 154 const struct nfs4_fs_locations *locations) in nfs_follow_referral() argument 165 if (locations == NULL || locations->nlocations <= 0) in nfs_follow_referral() 180 error = nfs4_validate_fspath(mnt_parent, dentry, locations, page, page2); in nfs_follow_referral() 186 for (loc = 0; loc < locations->nlocations; loc++) { in nfs_follow_referral() 187 const struct nfs4_fs_location *location = &locations->locations[loc]; in nfs_follow_referral()
|
D | nfs4proc.c | 1678 struct nfs4_fs_locations *locations = NULL; in nfs4_get_referral() local 1683 locations = kmalloc(sizeof(struct nfs4_fs_locations), GFP_KERNEL); in nfs4_get_referral() 1684 if (locations == NULL) in nfs4_get_referral() 1687 status = nfs4_proc_fs_locations(dir, name, locations, page); in nfs4_get_referral() 1691 if (nfs_fsid_equal(&NFS_SERVER(dir)->fsid, &locations->fattr.fsid)) { in nfs4_get_referral() 1697 memcpy(fattr, &locations->fattr, sizeof(struct nfs_fattr)); in nfs4_get_referral() 1705 if (locations) in nfs4_get_referral() 1706 kfree(locations); in nfs4_get_referral()
|
D | nfs4xdr.c | 2445 struct nfs4_fs_location *loc = &res->locations[res->nlocations]; in decode_attr_fs_locations()
|
/fs/nfsd/ |
D | export.c | 323 kfree(fsloc->locations[i].path); in nfsd4_fslocs_free() 324 kfree(fsloc->locations[i].hosts); in nfsd4_fslocs_free() 326 kfree(fsloc->locations); in nfsd4_fslocs_free() 413 fsloc->locations = kzalloc(fsloc->locations_count in fsloc_parse() 415 if (!fsloc->locations) in fsloc_parse() 424 fsloc->locations[i].hosts = kstrdup(buf, GFP_KERNEL); in fsloc_parse() 425 if (!fsloc->locations[i].hosts) in fsloc_parse() 433 fsloc->locations[i].path = kstrdup(buf, GFP_KERNEL); in fsloc_parse() 434 if (!fsloc->locations[i].path) in fsloc_parse() 686 new->ex_fslocs.locations = NULL; in svc_export_init() [all …]
|
D | nfs4xdr.c | 1324 status = nfsd4_encode_fs_location4(&fslocs->locations[i], in nfsd4_encode_fs_locations() 1472 if (exp->ex_fslocs.locations == NULL) { in nfsd4_encode_fattr() 1490 if (!exp->ex_fslocs.locations) in nfsd4_encode_fattr()
|