/Linux-v5.10/fs/nfs/ |
D | nfs4_fs.h | 58 int (*init_client)(struct nfs_client *); 59 void (*shutdown_client)(struct nfs_client *); 219 int (*establish_clid)(struct nfs_client *, const struct cred *); 220 int (*reclaim_complete)(struct nfs_client *, const struct cred *); 221 int (*detect_trunking)(struct nfs_client *, struct nfs_client **, 251 struct nfs_client *clp; 256 int (*sched_state_renewal)(struct nfs_client *, const struct cred *, unsigned); 257 const struct cred * (*get_state_renewal_cred)(struct nfs_client *); 258 int (*renew_lease)(struct nfs_client *, const struct cred *); 292 extern int nfs4_proc_setclientid(struct nfs_client *, u32, unsigned short, const struct cred *, str… [all …]
|
D | nfs4client.c | 28 static int nfs_get_cb_ident_idr(struct nfs_client *clp, int minorversion) in nfs_get_cb_ident_idr() 60 nfs4_find_ds_client(struct nfs_client *ds_clp, rpc_authflavor_t flavor) in nfs4_find_ds_client() 77 nfs4_add_ds_client(struct nfs_client *ds_clp, rpc_authflavor_t flavor, in nfs4_add_ds_client() 97 nfs4_alloc_ds_server(struct nfs_client *ds_clp, rpc_authflavor_t flavor) in nfs4_alloc_ds_server() 132 nfs4_find_or_create_ds_client(struct nfs_client *ds_clp, struct inode *inode) in nfs4_find_or_create_ds_client() 152 nfs4_shutdown_ds_clients(struct nfs_client *clp) in nfs4_shutdown_ds_clients() 166 nfs4_cleanup_callback(struct nfs_client *clp) in nfs4_cleanup_callback() 178 void nfs41_shutdown_client(struct nfs_client *clp) in nfs41_shutdown_client() 190 void nfs40_shutdown_client(struct nfs_client *clp) in nfs40_shutdown_client() 198 struct nfs_client *nfs4_alloc_client(const struct nfs_client_initdata *cl_init) in nfs4_alloc_client() [all …]
|
D | delegation.h | 50 struct inode *nfs_delegation_find_inode(struct nfs_client *clp, const struct nfs_fh *fhandle); 52 void nfs_expire_all_delegations(struct nfs_client *clp); 53 void nfs_expire_unused_delegation_types(struct nfs_client *clp, fmode_t flags); 54 void nfs_expire_unreferenced_delegations(struct nfs_client *clp); 55 int nfs_client_return_marked_delegations(struct nfs_client *clp); 56 int nfs_delegations_present(struct nfs_client *clp); 60 void nfs_delegation_mark_reclaim(struct nfs_client *clp); 61 void nfs_delegation_reap_unclaimed(struct nfs_client *clp); 63 void nfs_mark_test_expired_all_delegations(struct nfs_client *clp); 64 void nfs_test_expired_all_delegations(struct nfs_client *clp); [all …]
|
D | nfs4session.h | 74 struct nfs_client *clp; 108 static inline struct nfs4_session *nfs4_get_session(const struct nfs_client *clp) in nfs4_get_session() 122 extern struct nfs4_session *nfs4_alloc_session(struct nfs_client *clp); 124 extern int nfs4_init_session(struct nfs_client *clp); 125 extern int nfs4_init_ds_session(struct nfs_client *, unsigned long); 130 static inline int nfs4_has_session(const struct nfs_client *clp) in nfs4_has_session() 137 static inline int nfs4_has_persistent_session(const struct nfs_client *clp) in nfs4_has_persistent_session() 162 static inline int nfs4_init_session(struct nfs_client *clp) in nfs4_init_session() 170 static inline int nfs4_has_session(const struct nfs_client *clp) in nfs4_has_session() 175 static inline int nfs4_has_persistent_session(const struct nfs_client *clp) in nfs4_has_persistent_session()
|
D | nfs4state.c | 91 static int nfs4_setup_state_renewal(struct nfs_client *clp) in nfs4_setup_state_renewal() 110 int nfs4_init_clientid(struct nfs_client *clp, const struct cred *cred) in nfs4_init_clientid() 155 int nfs40_discover_server_trunking(struct nfs_client *clp, in nfs40_discover_server_trunking() 156 struct nfs_client **result, in nfs40_discover_server_trunking() 191 const struct cred *nfs4_get_machine_cred(struct nfs_client *clp) in nfs4_get_machine_cred() 196 static void nfs4_root_machine_cred(struct nfs_client *clp) in nfs4_root_machine_cred() 230 const struct cred *nfs4_get_renew_cred(struct nfs_client *clp) in nfs4_get_renew_cred() 263 static void nfs4_end_drain_session(struct nfs_client *clp) in nfs4_end_drain_session() 291 static int nfs4_begin_drain_session(struct nfs_client *clp) in nfs4_begin_drain_session() 309 static void nfs41_finish_session_reset(struct nfs_client *clp) in nfs41_finish_session_reset() [all …]
|
D | client.c | 149 struct nfs_client *nfs_alloc_client(const struct nfs_client_initdata *cl_init) in nfs_alloc_client() 151 struct nfs_client *clp; in nfs_alloc_client() 207 static void nfs_cb_idr_remove_locked(struct nfs_client *clp) in nfs_cb_idr_remove_locked() 225 static void nfs_cb_idr_remove_locked(struct nfs_client *clp) in nfs_cb_idr_remove_locked() 238 void nfs_free_client(struct nfs_client *clp) in nfs_free_client() 257 void nfs_put_client(struct nfs_client *clp) in nfs_put_client() 282 static struct nfs_client *nfs_match_client(const struct nfs_client_initdata *data) in nfs_match_client() 284 struct nfs_client *clp; in nfs_match_client() 342 bool nfs_client_init_is_complete(const struct nfs_client *clp) in nfs_client_init_is_complete() 354 int nfs_client_init_status(const struct nfs_client *clp) in nfs_client_init_status() [all …]
|
D | pnfs_dev.c | 78 const struct nfs_client *clp, const struct nfs4_deviceid *id, in _lookup_deviceid() 84 if (d->ld == ld && d->nfs_client == clp && in _lookup_deviceid() 110 max_resp_sz = server->nfs_client->cl_session->fc_attrs.max_resp_sz; in nfs4_get_device_info() 177 d = _lookup_deviceid(server->pnfs_curr_ld, server->nfs_client, id, in __nfs4_find_get_deviceid() 226 const struct nfs_client *clp, const struct nfs4_deviceid *id) in nfs4_delete_deviceid() 254 d->nfs_client = server->nfs_client; in nfs4_init_deviceid_node() 277 nfs4_delete_deviceid(d->ld, d->nfs_client, &d->deviceid); in nfs4_put_deviceid_node() 324 _deviceid_purge_client(const struct nfs_client *clp, long hash) in _deviceid_purge_client() 332 if (d->nfs_client == clp && atomic_read(&d->ref)) { in _deviceid_purge_client() 351 nfs4_deviceid_purge_client(const struct nfs_client *clp) in nfs4_deviceid_purge_client() [all …]
|
D | delegation.c | 319 struct nfs_client *clp) in nfs_abort_delegation_return() 332 struct nfs_client *clp) in nfs_detach_delegation_locked() 357 struct nfs_client *clp = server->nfs_client; in nfs_detach_delegation() 427 struct nfs_client *clp = server->nfs_client; in nfs_inode_set_delegation() 512 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client; in nfs_end_delegation_return() 630 set_bit(NFS4CLNT_DELEGRETURN, &server->nfs_client->cl_state); in nfs_server_return_marked_delegations() 649 int nfs_client_return_marked_delegations(struct nfs_client *clp) in nfs_client_return_marked_delegations() 751 (nfs4_has_session(NFS_SERVER(inode)->nfs_client) && in nfs4_inode_make_writeable() 764 set_bit(NFS4CLNT_DELEGRETURN, &server->nfs_client->cl_state); in nfs_mark_return_if_closed_delegation() 771 set_bit(NFS4CLNT_DELEGRETURN, &server->nfs_client->cl_state); in nfs_mark_return_delegation() [all …]
|
D | internal.h | 176 extern struct nfs_client *nfs_alloc_client(const struct nfs_client_initdata *); 177 int nfs_create_rpc_client(struct nfs_client *, const struct nfs_client_initdata *, rpc_authflavor_t… 178 struct nfs_client *nfs_get_client(const struct nfs_client_initdata *); 188 extern void nfs_put_client(struct nfs_client *); 189 extern void nfs_free_client(struct nfs_client *); 190 extern struct nfs_client *nfs4_find_client_ident(struct net *, int); 191 extern struct nfs_client * 205 extern bool nfs_client_init_is_complete(const struct nfs_client *clp); 206 extern int nfs_client_init_status(const struct nfs_client *clp); 207 extern int nfs_wait_client_init_complete(const struct nfs_client *clp); [all …]
|
D | nfs4renewd.c | 58 struct nfs_client *clp = in nfs4_renew_state() 59 container_of(work, struct nfs_client, cl_renewd.work); in nfs4_renew_state() 114 nfs4_schedule_state_renewal(struct nfs_client *clp) in nfs4_schedule_state_renewal() 131 nfs4_kill_renewd(struct nfs_client *clp) in nfs4_kill_renewd() 142 void nfs4_set_lease_period(struct nfs_client *clp, in nfs4_set_lease_period()
|
D | fscache.h | 23 struct nfs_client *nfs_client; /* the server */ member 86 extern void nfs_fscache_get_client_cookie(struct nfs_client *); 87 extern void nfs_fscache_release_client_cookie(struct nfs_client *); 196 static inline void nfs_fscache_get_client_cookie(struct nfs_client *clp) {} in nfs_fscache_get_client_cookie() 197 static inline void nfs_fscache_release_client_cookie(struct nfs_client *clp) {} in nfs_fscache_release_client_cookie()
|
D | nfs42.h | 35 struct nfs_client *c_in = (NFS_SERVER(file_inode(in)))->nfs_client; in nfs42_files_from_same_server() 36 struct nfs_client *c_out = (NFS_SERVER(file_inode(out)))->nfs_client; in nfs42_files_from_same_server()
|
D | super.c | 223 int nfs_client_for_each_server(struct nfs_client *clp, in nfs_client_for_each_server() 247 error = server->nfs_client->rpc_ops->statfs(server, fh, &res); in nfs_statfs() 397 struct nfs_client *clp = nfss->nfs_client; in nfs_show_nfsv4_options() 442 struct nfs_client *clp = nfss->nfs_client; in nfs_show_mount_options() 527 rpc_peeraddr2str(nfss->nfs_client->cl_rpcclient, in nfs_show_options() 538 struct nfs_client *clp = server->nfs_client; in show_lease() 549 if (nfs4_has_session(server->nfs_client)) in show_sessions() 569 if (nfss->nfs_client && nfss->nfs_client->cl_implid) { in show_implementation_id() 570 struct nfs41_impl_id *impl_id = nfss->nfs_client->cl_implid; in show_implementation_id() 646 if (nfss->nfs_client->rpc_ops->version == 4) { in nfs_show_stats() [all …]
|
D | nfs4idmap.h | 44 struct nfs_client; 51 int nfs_idmap_new(struct nfs_client *); 52 void nfs_idmap_delete(struct nfs_client *);
|
D | nfs3client.c | 80 struct nfs_client *nfs3_set_ds_client(struct nfs_server *mds_srv, in nfs3_set_ds_client() 85 struct nfs_client *mds_clp = mds_srv->nfs_client; in nfs3_set_ds_client() 97 struct nfs_client *clp; in nfs3_set_ds_client()
|
D | fscache.c | 50 void nfs_fscache_get_client_cookie(struct nfs_client *clp) in nfs_fscache_get_client_cookie() 95 void nfs_fscache_release_client_cookie(struct nfs_client *clp) in nfs_fscache_release_client_cookie() 130 key->nfs_client = nfss->nfs_client; in nfs_fscache_get_super_cookie() 152 if (key->nfs_client < xkey->nfs_client) in nfs_fscache_get_super_cookie() 154 if (key->nfs_client > xkey->nfs_client) in nfs_fscache_get_super_cookie() 187 nfss->fscache = fscache_acquire_cookie(nfss->nfs_client->fscache, in nfs_fscache_get_super_cookie() 237 if (NFS_SERVER(&nfsi->vfs_inode)->nfs_client->rpc_ops->version == 4) in nfs_fscache_update_auxdata()
|
D | nfs4proc.c | 106 static struct rpc_task *_nfs41_proc_sequence(struct nfs_client *clp, 375 const struct nfs4_minor_version_ops *ops = server->nfs_client->cl_mvops; in nfs4_test_and_free_stateid() 462 struct nfs_client *clp = server->nfs_client; in nfs4_do_handle_exception() 569 server->nfs_client->cl_hostname); in nfs4_do_handle_exception() 584 struct nfs_client *clp = server->nfs_client; in nfs4_handle_exception() 610 struct nfs_client *clp = server->nfs_client; in nfs4_async_handle_exception() 666 static bool _nfs4_is_integrity_protected(struct nfs_client *clp) in _nfs4_is_integrity_protected() 672 static void do_renew_lease(struct nfs_client *clp, unsigned long timestamp) in do_renew_lease() 682 struct nfs_client *clp = server->nfs_client; in renew_lease() 787 static void nfs4_probe_sequence(struct nfs_client *client, const struct cred *cred, in nfs4_probe_sequence() [all …]
|
D | pnfs.h | 60 struct nfs_client *ds_clp; 269 void pnfs_destroy_all_layouts(struct nfs_client *); 270 int pnfs_destroy_layouts_byfsid(struct nfs_client *clp, 273 int pnfs_destroy_layouts_byclid(struct nfs_client *clp, 335 void nfs4_deviceid_mark_client_invalid(struct nfs_client *clp); 341 void pnfs_layout_return_unused_byclid(struct nfs_client *clp, 356 const struct nfs_client *nfs_client; member 368 void nfs4_delete_deviceid(const struct pnfs_layoutdriver_type *, const struct nfs_client *, const s… 375 void nfs4_deviceid_purge_client(const struct nfs_client *); 705 static inline void pnfs_destroy_all_layouts(struct nfs_client *clp) in pnfs_destroy_all_layouts()
|
D | callback_proc.c | 122 static struct inode *nfs_layout_find_inode_by_stateid(struct nfs_client *clp, in nfs_layout_find_inode_by_stateid() 158 static struct inode *nfs_layout_find_inode_by_fh(struct nfs_client *clp, in nfs_layout_find_inode_by_fh() 188 static struct inode *nfs_layout_find_inode(struct nfs_client *clp, in nfs_layout_find_inode() 238 static u32 initiate_file_draining(struct nfs_client *clp, in initiate_file_draining() 307 static u32 initiate_bulk_draining(struct nfs_client *clp, in initiate_bulk_draining() 321 static u32 do_callback_layoutrecall(struct nfs_client *clp, in do_callback_layoutrecall() 340 static void pnfs_recall_all_layouts(struct nfs_client *clp) in pnfs_recall_all_layouts() 357 struct nfs_client *clp = cps->clp; in nfs4_callback_devicenotify() 447 static int referring_call_exists(struct nfs_client *clp, in referring_call_exists() 497 struct nfs_client *clp; in nfs4_callback_sequence()
|
D | sysfs.c | 176 netns->nfs_client = clp; in nfs_netns_sysfs_setup() 183 struct nfs_netns_client *clp = netns->nfs_client; in nfs_netns_sysfs_destroy() 189 netns->nfs_client = NULL; in nfs_netns_sysfs_destroy()
|
D | nfs42proc.c | 27 struct nfs_client *clp = (NFS_SERVER(file_inode(filep)))->nfs_client; in nfs42_set_netaddr() 177 spin_lock(&dst_server->nfs_client->cl_lock); in handle_async_copy() 179 &dst_server->nfs_client->pending_cb_stateids, in handle_async_copy() 189 spin_unlock(&dst_server->nfs_client->cl_lock); in handle_async_copy() 201 spin_unlock(&dst_server->nfs_client->cl_lock); in handle_async_copy() 204 spin_lock(&src_server->nfs_client->cl_lock); in handle_async_copy() 206 spin_unlock(&src_server->nfs_client->cl_lock); in handle_async_copy() 210 spin_lock(&dst_server->nfs_client->cl_lock); in handle_async_copy() 212 spin_unlock(&dst_server->nfs_client->cl_lock); in handle_async_copy() 214 spin_lock(&src_server->nfs_client->cl_lock); in handle_async_copy() [all …]
|
D | callback.h | 44 struct nfs_client *clp; 201 extern int check_gss_callback_principal(struct nfs_client *, struct svc_rqst *);
|
/Linux-v5.10/include/linux/ |
D | nfs_fs_sb.h | 28 struct nfs_client { struct 135 struct nfs_client * nfs_client; /* shared client and NFS4 state */ argument
|
D | nfs_xdr.h | 340 struct nfs_client *clp; 1149 struct nfs_client *sc_clnt; 1298 struct nfs_client *client; 1323 struct nfs_client *client; 1347 struct nfs_client *client; 1613 struct nfs_client *ds_clp; /* pNFS data server */ 1653 struct nfs_client *ds_clp; /* pNFS data server */ 1695 struct nfs_client; 1780 struct nfs_client *(*alloc_client) (const struct nfs_client_initdata *); 1781 struct nfs_client *(*init_client) (struct nfs_client *, [all …]
|
/Linux-v5.10/Documentation/filesystems/nfs/ |
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.
|