| /linux/fs/nfs/ |
| H A D | nfs4client.c | 30 static int nfs_get_cb_ident_idr(struct nfs_client *clp, int minorversion) in nfs_get_cb_ident_idr() 61 nfs4_find_ds_client(struct nfs_client *ds_clp, rpc_authflavor_t flavor) in nfs4_find_ds_client() 78 nfs4_add_ds_client(struct nfs_client *ds_clp, rpc_authflavor_t flavor, in nfs4_add_ds_client() 98 nfs4_alloc_ds_server(struct nfs_client *ds_clp, rpc_authflavor_t flavor) in nfs4_alloc_ds_server() 133 nfs4_find_or_create_ds_client(struct nfs_client *ds_clp, struct inode *inode) in nfs4_find_or_create_ds_client() 153 nfs4_shutdown_ds_clients(struct nfs_client *clp) in nfs4_shutdown_ds_clients() 167 nfs4_cleanup_callback(struct nfs_client *clp) in nfs4_cleanup_callback() 179 void nfs41_shutdown_client(struct nfs_client *clp) in nfs41_shutdown_client() 190 struct nfs_client *nfs4_alloc_client(const struct nfs_client_initdata *cl_init) in nfs4_alloc_client() 194 struct nfs_client *clp = nfs_alloc_client(cl_init); in nfs4_alloc_client() [all …]
|
| H A D | nfs40client.c | 21 static void nfs4_swap_callback_idents(struct nfs_client *keep, in nfs4_swap_callback_idents() 22 struct nfs_client *drop) in nfs4_swap_callback_idents() 49 void nfs40_shutdown_client(struct nfs_client *clp) in nfs40_shutdown_client() 63 int nfs40_init_client(struct nfs_client *clp) in nfs40_init_client() 92 void nfs40_handle_cb_pathdown(struct nfs_client *clp) in nfs40_handle_cb_pathdown() 100 void nfs4_schedule_path_down_recovery(struct nfs_client *clp) in nfs4_schedule_path_down_recovery() 119 static int nfs40_walk_client_list(struct nfs_client *new, in nfs40_walk_client_list() 120 struct nfs_client **result, in nfs40_walk_client_list() 124 struct nfs_client *pos, *prev = NULL; in nfs40_walk_client_list() 211 int nfs40_discover_server_trunking(struct nfs_client *clp, in nfs40_discover_server_trunking() [all …]
|
| H A D | nfs4state.c | 71 static void nfs4_state_start_reclaim_reboot(struct nfs_client *clp); 95 static int nfs4_setup_state_renewal(struct nfs_client *clp) in nfs4_setup_state_renewal() 114 int nfs4_init_clientid(struct nfs_client *clp, const struct cred *cred) in nfs4_init_clientid() 146 const struct cred *nfs4_get_machine_cred(struct nfs_client *clp) in nfs4_get_machine_cred() 151 static void nfs4_root_machine_cred(struct nfs_client *clp) in nfs4_root_machine_cred() 185 const struct cred *nfs4_get_renew_cred(struct nfs_client *clp) in nfs4_get_renew_cred() 218 static void nfs4_end_drain_session(struct nfs_client *clp) in nfs4_end_drain_session() 246 static int nfs4_begin_drain_session(struct nfs_client *clp) in nfs4_begin_drain_session() 262 static void nfs41_finish_session_reset(struct nfs_client *clp) in nfs41_finish_session_reset() 271 int nfs41_init_clientid(struct nfs_client *clp, const struct cred *cred) in nfs41_init_clientid() [all …]
|
| H A D | pnfs_dev.c | 80 const struct nfs_client *clp, const struct nfs4_deviceid *id, in _lookup_deviceid() 86 if (d->ld == ld && d->nfs_client == clp && in _lookup_deviceid() 112 max_resp_sz = server->nfs_client->cl_session->fc_attrs.max_resp_sz; in nfs4_get_device_info() 176 d = _lookup_deviceid(server->pnfs_curr_ld, server->nfs_client, id, in __nfs4_find_get_deviceid() 229 const struct nfs_client *clp, const struct nfs4_deviceid *id) in nfs4_delete_deviceid() 257 d->nfs_client = server->nfs_client; in nfs4_init_deviceid_node() 280 nfs4_delete_deviceid(d->ld, d->nfs_client, &d->deviceid); in nfs4_put_deviceid_node() 284 trace_nfs4_deviceid_free(d->nfs_client, &d->deviceid); in nfs4_put_deviceid_node() 328 _deviceid_purge_client(const struct nfs_client *clp, long hash) in _deviceid_purge_client() 336 if (d->nfs_client == clp && atomic_read(&d->ref)) { in _deviceid_purge_client() [all …]
|
| H A D | nfs40proc.c | 15 nfs4_setup_sequence(data->seq_server->nfs_client, in nfs40_call_sync_prepare() 62 struct nfs_client *client; 73 struct nfs_client *clp = data->client; in nfs4_renew_release() 84 struct nfs_client *clp = data->client; in nfs4_renew_done() 112 static int nfs4_proc_async_renew(struct nfs_client *clp, const struct cred *cred, unsigned renew_fl… in nfs4_proc_async_renew() 136 static int nfs4_proc_renew(struct nfs_client *clp, const struct cred *cred) in nfs4_proc_renew() 173 struct nfs_client *clp = server->nfs_client; in _nfs40_proc_get_locations() 223 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client; in _nfs40_proc_fsid_present() 269 nfs4_setup_sequence(server->nfs_client, &data->args.seq_args, in nfs4_release_lockowner_prepare() 271 data->args.lock_owner.clientid = server->nfs_client->cl_clientid; in nfs4_release_lockowner_prepare() [all …]
|
| H A D | nfs42.h | 37 struct nfs_client *c_in = (NFS_SERVER(file_inode(in)))->nfs_client; in nfs42_files_from_same_server() 38 struct nfs_client *c_out = (NFS_SERVER(file_inode(out)))->nfs_client; in nfs42_files_from_same_server()
|
| H A D | nfs4idmap.h | 44 struct nfs_client; 51 int nfs_idmap_new(struct nfs_client *); 52 void nfs_idmap_delete(struct nfs_client *);
|
| H A D | sysfs.c | 206 netns->nfs_client = clp; in nfs_netns_sysfs_setup() 213 struct nfs_netns_client *clp = netns->nfs_client; in nfs_netns_sysfs_destroy() 221 netns->nfs_client = NULL; in nfs_netns_sysfs_destroy() 240 static void shutdown_nfs_client(struct nfs_client *clp) in shutdown_nfs_client() 293 shutdown_nfs_client(server->nfs_client); in shutdown_store() 305 struct nfs41_impl_id *impl_id = server->nfs_client->cl_implid; in implid_domain_show() 320 struct nfs41_impl_id *impl_id = server->nfs_client->cl_implid; in implid_name_show() 359 kobj)->nfs_client->cl_net); in nfs_netns_server_namespace() 374 if (!server->nfs_client->cl_implid) in nfs_sysfs_add_nfsv41_server() 402 bool localio = nfs_server_is_local(server->nfs_client); in localio_show()
|
| H A D | nfs3client.c | 85 struct nfs_client *nfs3_set_ds_client(struct nfs_server *mds_srv, in nfs3_set_ds_client() 91 struct nfs_client *mds_clp = mds_srv->nfs_client; in nfs3_set_ds_client() 110 struct nfs_client *clp; in nfs3_set_ds_client()
|
| H A D | pnfs.h | 64 struct nfs_client *ds_clp; 283 void pnfs_destroy_all_layouts(struct nfs_client *); 284 int pnfs_layout_destroy_byfsid(struct nfs_client *clp, struct nfs_fsid *fsid, 286 int pnfs_layout_destroy_byclid(struct nfs_client *clp, 348 void nfs4_deviceid_mark_client_invalid(struct nfs_client *clp); 354 void pnfs_layout_return_unused_byclid(struct nfs_client *clp, 356 int pnfs_layout_handle_reboot(struct nfs_client *clp); 370 const struct nfs_client *nfs_client; member 382 void nfs4_delete_deviceid(const struct pnfs_layoutdriver_type *, const struct nfs_client *, const s… 389 void nfs4_deviceid_purge_client(const struct nfs_client *); [all …]
|
| H A D | localio.c | 66 static inline bool nfs_client_is_local(const struct nfs_client *clp) in nfs_client_is_local() 71 bool nfs_server_is_local(const struct nfs_client *clp) in nfs_server_is_local() 136 static struct rpc_clnt *nfs_init_localioclient(struct nfs_client *clp) in nfs_init_localioclient() 150 static bool nfs_server_uuid_is_local(struct nfs_client *clp) in nfs_server_uuid_is_local() 183 static void nfs_local_probe(struct nfs_client *clp) in nfs_local_probe() 204 struct nfs_client *clp = in nfs_local_probe_async_work() 205 container_of(work, struct nfs_client, cl_local_probe_work); in nfs_local_probe_async_work() 213 void nfs_local_probe_async(struct nfs_client *clp) in nfs_local_probe_async() 238 __nfs_local_open_fh(struct nfs_client *clp, const struct cred *cred, in __nfs_local_open_fh() 271 nfs_local_open_fh(struct nfs_client *clp, const struct cred *cred, in nfs_local_open_fh() [all …]
|
| H A D | nfs4idmap.c | 442 nfs_idmap_new(struct nfs_client *clp) in nfs_idmap_new() 483 nfs_idmap_delete(struct nfs_client *clp) in nfs_idmap_delete() 734 struct idmap *idmap = server->nfs_client->cl_idmap; in nfs_map_name_to_uid() 751 struct idmap *idmap = server->nfs_client->cl_idmap; in nfs_map_group_to_gid() 768 struct idmap *idmap = server->nfs_client->cl_idmap; in nfs_map_uid_to_name() 782 struct idmap *idmap = server->nfs_client->cl_idmap; in nfs_map_gid_to_group()
|
| H A D | nfs4session.c | 557 struct nfs4_session *nfs4_alloc_session(struct nfs_client *clp) in nfs4_alloc_session() 605 static int nfs41_check_session_ready(struct nfs_client *clp) in nfs41_check_session_ready() 620 int nfs4_init_session(struct nfs_client *clp) in nfs4_init_session() 629 int nfs4_init_ds_session(struct nfs_client *clp, unsigned long lease_time) in nfs4_init_ds_session()
|
| H A D | fscache.c | 46 static bool nfs_fscache_get_client_key(struct nfs_client *clp, in nfs_fscache_get_client_key() 106 if (!nfs_fscache_get_client_key(nfss->nfs_client, key, &len) || in nfs_fscache_get_super_cookie()
|
| H A D | fscache.h | 122 if (NFS_SERVER(inode)->nfs_client->rpc_ops->version == 4) in nfs_fscache_update_auxdata()
|
| /linux/include/linux/ |
| H A D | nfslocalio.h | 19 struct nfs_client; 47 void nfs_localio_enable_client(struct nfs_client *clp); 48 void nfs_localio_disable_client(struct nfs_client *clp); 116 struct nfs_client; 117 static inline void nfs_localio_disable_client(struct nfs_client *clp) in nfs_localio_disable_client()
|
| /linux/fs/nfs_common/ |
| H A D | nfslocalio.c | 141 void nfs_localio_enable_client(struct nfs_client *clp) in nfs_localio_enable_client() 219 void nfs_localio_disable_client(struct nfs_client *clp) in nfs_localio_disable_client() 231 struct nfs_client *clp; in nfs_localio_invalidate_clients() 239 clp = container_of(nfs_uuid, struct nfs_client, cl_uuid); in nfs_localio_invalidate_clients()
|
| /linux/Documentation/filesystems/nfs/ |
| H A D | pnfs.rst | 25 struct nfs_client (cl_layouts). Being put on this list does not bump 32 lsegs reference device ids, which are resolved per nfs_client and 41 deviceid's per filesystem, and multiple filesystems per nfs_client.
|
| H A D | client-identifier.rst | 155 /sys/fs/nfs/net/nfs_client/identifier 167 > /sys/fs/nfs/net/nfs_client/identifier
|
| /linux/fs/nfs/flexfilelayout/ |
| H A D | flexfilelayoutdev.c | 52 struct net *net = server->nfs_client->cl_net; in nfs4_ff_alloc_deviceid_node() 121 server->nfs_client->cl_proto); in nfs4_ff_alloc_deviceid_node() 123 server->nfs_client->cl_proto); in nfs4_ff_alloc_deviceid_node() 464 struct nfs_client *ds_clp, struct inode *inode, in nfs4_ff_find_or_create_ds_client()
|
| /linux/fs/nfs/filelayout/ |
| H A D | filelayoutdev.c | 79 struct net *net = server->nfs_client->cl_net; in nfs4_fl_alloc_deviceid_node() 283 s->nfs_client->cl_minorversion); in nfs4_fl_prepare_ds()
|
| /linux/fs/nfs/blocklayout/ |
| H A D | rpc_pipefs.c | 55 struct net *net = server->nfs_client->cl_net; in bl_resolve_deviceid()
|
| /linux/Documentation/admin-guide/nfs/ |
| H A D | nfs-client.rst | 59 /sys/fs/nfs/net/nfs_client/identifier which will be local to the network
|