Lines Matching refs:locations
3170 struct nfs4_fs_locations *locations = NULL; in nfs4_get_referral() local
3175 locations = kmalloc(sizeof(struct nfs4_fs_locations), GFP_KERNEL); in nfs4_get_referral()
3176 if (locations == NULL) in nfs4_get_referral()
3179 status = nfs4_proc_fs_locations(client, dir, name, locations, page); in nfs4_get_referral()
3188 if (nfs_fsid_equal(&NFS_SERVER(dir)->fsid, &locations->fattr.fsid)) { in nfs4_get_referral()
3195 nfs_fixup_referral_attributes(&locations->fattr); in nfs4_get_referral()
3198 memcpy(fattr, &locations->fattr, sizeof(struct nfs_fattr)); in nfs4_get_referral()
3203 kfree(locations); in nfs4_get_referral()
6283 struct nfs4_fs_locations *locations, in _nfs40_proc_get_locations() argument
6300 .fs_locations = locations, in _nfs40_proc_get_locations()
6313 nfs_fattr_init(&locations->fattr); in _nfs40_proc_get_locations()
6314 locations->server = server; in _nfs40_proc_get_locations()
6315 locations->nlocations = 0; in _nfs40_proc_get_locations()
6341 struct nfs4_fs_locations *locations, in _nfs41_proc_get_locations() argument
6356 .fs_locations = locations, in _nfs41_proc_get_locations()
6367 nfs_fattr_init(&locations->fattr); in _nfs41_proc_get_locations()
6368 locations->server = server; in _nfs41_proc_get_locations()
6369 locations->nlocations = 0; in _nfs41_proc_get_locations()
6401 struct nfs4_fs_locations *locations, in nfs4_proc_get_locations() argument
6418 status = ops->get_locations(inode, locations, page, cred); in nfs4_proc_get_locations()