Lines Matching refs:server
97 nfs4_get_device_info(struct nfs_server *server, in nfs4_get_device_info() argument
112 max_resp_sz = server->nfs_client->cl_session->fc_attrs.max_resp_sz; in nfs4_get_device_info()
113 if (server->pnfs_curr_ld->max_deviceinfo_size && in nfs4_get_device_info()
114 server->pnfs_curr_ld->max_deviceinfo_size < max_resp_sz) in nfs4_get_device_info()
115 max_resp_sz = server->pnfs_curr_ld->max_deviceinfo_size; in nfs4_get_device_info()
118 __func__, server, max_resp_sz, max_pages); in nfs4_get_device_info()
135 pdev->layout_type = server->pnfs_curr_ld->id; in nfs4_get_device_info()
142 rc = nfs4_proc_getdeviceinfo(server, pdev, cred); in nfs4_get_device_info()
151 d = server->pnfs_curr_ld->alloc_deviceid_node(server, pdev, in nfs4_get_device_info()
173 __nfs4_find_get_deviceid(struct nfs_server *server, in __nfs4_find_get_deviceid() argument
179 d = _lookup_deviceid(server->pnfs_curr_ld, server->nfs_client, id, in __nfs4_find_get_deviceid()
188 nfs4_find_get_deviceid(struct nfs_server *server, in nfs4_find_get_deviceid() argument
195 d = __nfs4_find_get_deviceid(server, id, hash); in nfs4_find_get_deviceid()
199 new = nfs4_get_device_info(server, id, cred, gfp_mask); in nfs4_find_get_deviceid()
201 trace_nfs4_find_deviceid(server, id, -ENOENT); in nfs4_find_get_deviceid()
206 d = __nfs4_find_get_deviceid(server, id, hash); in nfs4_find_get_deviceid()
209 server->pnfs_curr_ld->free_deviceid_node(new); in nfs4_find_get_deviceid()
217 trace_nfs4_find_deviceid(server, id, 0); in nfs4_find_get_deviceid()
254 nfs4_init_deviceid_node(struct nfs4_deviceid_node *d, struct nfs_server *server, in nfs4_init_deviceid_node() argument
259 d->ld = server->pnfs_curr_ld; in nfs4_init_deviceid_node()
260 d->nfs_client = server->nfs_client; in nfs4_init_deviceid_node()