Lines Matching refs:locations
3323 struct nfs4_fs_locations *locations = NULL; in nfs4_get_referral() local
3328 locations = kmalloc(sizeof(struct nfs4_fs_locations), GFP_KERNEL); in nfs4_get_referral()
3329 if (locations == NULL) in nfs4_get_referral()
3332 status = nfs4_proc_fs_locations(client, dir, name, locations, page); in nfs4_get_referral()
3341 if (nfs_fsid_equal(&NFS_SERVER(dir)->fsid, &locations->fattr.fsid)) { in nfs4_get_referral()
3348 nfs_fixup_referral_attributes(&locations->fattr); in nfs4_get_referral()
3351 memcpy(fattr, &locations->fattr, sizeof(struct nfs_fattr)); in nfs4_get_referral()
3356 kfree(locations); in nfs4_get_referral()
6421 struct nfs4_fs_locations *locations, in _nfs40_proc_get_locations() argument
6438 .fs_locations = locations, in _nfs40_proc_get_locations()
6451 nfs_fattr_init(&locations->fattr); in _nfs40_proc_get_locations()
6452 locations->server = server; in _nfs40_proc_get_locations()
6453 locations->nlocations = 0; in _nfs40_proc_get_locations()
6479 struct nfs4_fs_locations *locations, in _nfs41_proc_get_locations() argument
6494 .fs_locations = locations, in _nfs41_proc_get_locations()
6505 nfs_fattr_init(&locations->fattr); in _nfs41_proc_get_locations()
6506 locations->server = server; in _nfs41_proc_get_locations()
6507 locations->nlocations = 0; in _nfs41_proc_get_locations()
6539 struct nfs4_fs_locations *locations, in nfs4_proc_get_locations() argument
6556 status = ops->get_locations(inode, locations, page, cred); in nfs4_proc_get_locations()