Lines Matching defs:locations
4122 * Get locations and (maybe) other attributes of a referral.
4132 struct nfs4_fs_locations *locations = NULL;
4137 locations = kmalloc(sizeof(struct nfs4_fs_locations), GFP_KERNEL);
4138 if (locations == NULL)
4141 status = nfs4_proc_fs_locations(client, dir, name, locations, page);
4150 if (nfs_fsid_equal(&NFS_SERVER(dir)->fsid, &locations->fattr.fsid)) {
4157 nfs_fixup_referral_attributes(&locations->fattr);
4159 /* replace the lookup nfs_fattr with the locations nfs_fattr */
4160 memcpy(fattr, &locations->fattr, sizeof(struct nfs_fattr));
4165 kfree(locations);
7842 struct nfs4_fs_locations *locations,
7859 .fs_locations = locations,
7872 nfs_fattr_init(&locations->fattr);
7873 locations->server = server;
7874 locations->nlocations = 0;
7899 struct nfs4_fs_locations *locations,
7914 .fs_locations = locations,
7925 nfs_fattr_init(&locations->fattr);
7926 locations->server = server;
7927 locations->nlocations = 0;
7941 * nfs4_proc_get_locations - discover locations for a migrated FSID
7943 * @locations: result of query
7950 * On success, "locations" is filled in, but if the server has
7951 * no locations information, NFS_ATTR_FATTR_V4_LOCATIONS is not
7958 struct nfs4_fs_locations *locations,
7977 status = ops->get_locations(inode, locations, page, cred);