/Linux-v4.19/fs/nfs/ |
D | nfs4_fs.h | 54 int (*init_client)(struct nfs_client *); 55 void (*shutdown_client)(struct nfs_client *); 212 int (*establish_clid)(struct nfs_client *, struct rpc_cred *); 213 int (*reclaim_complete)(struct nfs_client *, struct rpc_cred *); 214 int (*detect_trunking)(struct nfs_client *, struct nfs_client **, 244 struct nfs_client *clp; 249 int (*sched_state_renewal)(struct nfs_client *, struct rpc_cred *, unsigned); 250 struct rpc_cred * (*get_state_renewal_cred_locked)(struct nfs_client *); 251 int (*renew_lease)(struct nfs_client *, struct rpc_cred *); 286 extern int nfs4_proc_setclientid(struct nfs_client *, u32, unsigned short, struct rpc_cred *, struc… [all …]
|
D | nfs4client.c | 27 static int nfs_get_cb_ident_idr(struct nfs_client *clp, int minorversion) in nfs_get_cb_ident_idr() 57 nfs4_find_ds_client(struct nfs_client *ds_clp, rpc_authflavor_t flavor) in nfs4_find_ds_client() 74 nfs4_add_ds_client(struct nfs_client *ds_clp, rpc_authflavor_t flavor, in nfs4_add_ds_client() 94 nfs4_alloc_ds_server(struct nfs_client *ds_clp, rpc_authflavor_t flavor) in nfs4_alloc_ds_server() 125 nfs4_find_or_create_ds_client(struct nfs_client *ds_clp, struct inode *inode) in nfs4_find_or_create_ds_client() 145 nfs4_shutdown_ds_clients(struct nfs_client *clp) in nfs4_shutdown_ds_clients() 160 nfs4_cleanup_callback(struct nfs_client *clp) in nfs4_cleanup_callback() 172 void nfs41_shutdown_client(struct nfs_client *clp) in nfs41_shutdown_client() 184 void nfs40_shutdown_client(struct nfs_client *clp) in nfs40_shutdown_client() 192 struct nfs_client *nfs4_alloc_client(const struct nfs_client_initdata *cl_init) in nfs4_alloc_client() [all …]
|
D | delegation.h | 47 struct inode *nfs_delegation_find_inode(struct nfs_client *clp, const struct nfs_fh *fhandle); 49 void nfs_expire_all_delegations(struct nfs_client *clp); 50 void nfs_expire_unused_delegation_types(struct nfs_client *clp, fmode_t flags); 51 void nfs_expire_unreferenced_delegations(struct nfs_client *clp); 52 int nfs_client_return_marked_delegations(struct nfs_client *clp); 53 int nfs_delegations_present(struct nfs_client *clp); 56 void nfs_delegation_mark_reclaim(struct nfs_client *clp); 57 void nfs_delegation_reap_unclaimed(struct nfs_client *clp); 59 void nfs_mark_test_expired_all_delegations(struct nfs_client *clp); 60 void nfs_reap_expired_delegations(struct nfs_client *clp);
|
D | nfs4session.h | 73 struct nfs_client *clp; 107 static inline struct nfs4_session *nfs4_get_session(const struct nfs_client *clp) in nfs4_get_session() 121 extern struct nfs4_session *nfs4_alloc_session(struct nfs_client *clp); 123 extern int nfs4_init_session(struct nfs_client *clp); 124 extern int nfs4_init_ds_session(struct nfs_client *, unsigned long); 129 static inline int nfs4_has_session(const struct nfs_client *clp) in nfs4_has_session() 136 static inline int nfs4_has_persistent_session(const struct nfs_client *clp) in nfs4_has_persistent_session() 161 static inline int nfs4_init_session(struct nfs_client *clp) in nfs4_init_session() 169 static inline int nfs4_has_session(const struct nfs_client *clp) in nfs4_has_session() 174 static inline int nfs4_has_persistent_session(const struct nfs_client *clp) in nfs4_has_persistent_session()
|
D | nfs4state.c | 90 int nfs4_init_clientid(struct nfs_client *clp, struct rpc_cred *cred) in nfs4_init_clientid() 135 int nfs40_discover_server_trunking(struct nfs_client *clp, in nfs40_discover_server_trunking() 136 struct nfs_client **result, in nfs40_discover_server_trunking() 167 struct rpc_cred *nfs4_get_machine_cred_locked(struct nfs_client *clp) in nfs4_get_machine_cred_locked() 176 static void nfs4_root_machine_cred(struct nfs_client *clp) in nfs4_root_machine_cred() 215 struct rpc_cred *nfs4_get_renew_cred_locked(struct nfs_client *clp) in nfs4_get_renew_cred_locked() 246 static void nfs4_end_drain_session(struct nfs_client *clp) in nfs4_end_drain_session() 274 static int nfs4_begin_drain_session(struct nfs_client *clp) in nfs4_begin_drain_session() 292 static int nfs41_setup_state_renewal(struct nfs_client *clp) in nfs41_setup_state_renewal() 313 static void nfs41_finish_session_reset(struct nfs_client *clp) in nfs41_finish_session_reset() [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() 311 _deviceid_purge_client(const struct nfs_client *clp, long hash) in _deviceid_purge_client() 319 if (d->nfs_client == clp && atomic_read(&d->ref)) { in _deviceid_purge_client() 338 nfs4_deviceid_purge_client(const struct nfs_client *clp) in nfs4_deviceid_purge_client() [all …]
|
D | client.c | 151 struct nfs_client *nfs_alloc_client(const struct nfs_client_initdata *cl_init) in nfs_alloc_client() 153 struct nfs_client *clp; in nfs_alloc_client() 210 static void nfs_cb_idr_remove_locked(struct nfs_client *clp) in nfs_cb_idr_remove_locked() 228 static void nfs_cb_idr_remove_locked(struct nfs_client *clp) in nfs_cb_idr_remove_locked() 241 void nfs_free_client(struct nfs_client *clp) in nfs_free_client() 263 void nfs_put_client(struct nfs_client *clp) in nfs_put_client() 288 static struct nfs_client *nfs_match_client(const struct nfs_client_initdata *data) in nfs_match_client() 290 struct nfs_client *clp; in nfs_match_client() 339 bool nfs_client_init_is_complete(const struct nfs_client *clp) in nfs_client_init_is_complete() 351 int nfs_client_init_status(const struct nfs_client *clp) in nfs_client_init_status() [all …]
|
D | delegation.c | 266 struct nfs_client *clp) in nfs_abort_delegation_return() 279 struct nfs_client *clp) in nfs_detach_delegation_locked() 301 struct nfs_client *clp = server->nfs_client; in nfs_detach_delegation() 349 struct nfs_client *clp = server->nfs_client; in nfs_inode_set_delegation() 425 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client; in nfs_end_delegation_return() 487 int nfs_client_return_marked_delegations(struct nfs_client *clp) in nfs_client_return_marked_delegations() 624 if (!nfs4_has_session(NFS_SERVER(inode)->nfs_client) || in nfs4_inode_make_writeable() 634 set_bit(NFS4CLNT_DELEGRETURN, &server->nfs_client->cl_state); in nfs_mark_return_if_closed_delegation() 641 set_bit(NFS4CLNT_DELEGRETURN, &server->nfs_client->cl_state); in nfs_mark_return_delegation() 656 static void nfs_client_mark_return_all_delegations(struct nfs_client *clp) in nfs_client_mark_return_all_delegations() [all …]
|
D | internal.h | 159 extern struct nfs_client *nfs_alloc_client(const struct nfs_client_initdata *); 160 int nfs_create_rpc_client(struct nfs_client *, const struct nfs_client_initdata *, rpc_authflavor_t… 161 struct nfs_client *nfs_get_client(const struct nfs_client_initdata *); 172 extern void nfs_put_client(struct nfs_client *); 173 extern void nfs_free_client(struct nfs_client *); 174 extern struct nfs_client *nfs4_find_client_ident(struct net *, int); 175 extern struct nfs_client * 193 extern bool nfs_client_init_is_complete(const struct nfs_client *clp); 194 extern int nfs_client_init_status(const struct nfs_client *clp); 195 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() 117 nfs4_schedule_state_renewal(struct nfs_client *clp) in nfs4_schedule_state_renewal() 134 nfs4_kill_renewd(struct nfs_client *clp) in nfs4_kill_renewd() 146 void nfs4_set_lease_period(struct nfs_client *clp, in nfs4_set_lease_period()
|
D | fscache.h | 27 struct nfs_client *nfs_client; /* the server */ member 88 extern void nfs_fscache_get_client_cookie(struct nfs_client *); 89 extern void nfs_fscache_release_client_cookie(struct nfs_client *); 198 static inline void nfs_fscache_get_client_cookie(struct nfs_client *clp) {} in nfs_fscache_get_client_cookie() 199 static inline void nfs_fscache_release_client_cookie(struct nfs_client *clp) {} in nfs_fscache_release_client_cookie()
|
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 | 79 struct nfs_client *nfs3_set_ds_client(struct nfs_server *mds_srv, in nfs3_set_ds_client() 84 struct nfs_client *mds_clp = mds_srv->nfs_client; in nfs3_set_ds_client() 95 struct nfs_client *clp; in nfs3_set_ds_client()
|
D | fscache.c | 53 void nfs_fscache_get_client_cookie(struct nfs_client *clp) in nfs_fscache_get_client_cookie() 97 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() 243 if (NFS_SERVER(&nfsi->vfs_inode)->nfs_client->rpc_ops->version == 4) in nfs_fscache_init_inode()
|
D | nfs4proc.c | 101 static struct rpc_task *_nfs41_proc_sequence(struct nfs_client *clp, 366 const struct nfs4_minor_version_ops *ops = server->nfs_client->cl_mvops; in nfs4_test_and_free_stateid() 422 struct nfs_client *clp = server->nfs_client; in nfs4_do_handle_exception() 529 server->nfs_client->cl_hostname); in nfs4_do_handle_exception() 544 struct nfs_client *clp = server->nfs_client; in nfs4_handle_exception() 569 struct nfs_client *clp = server->nfs_client; in nfs4_async_handle_exception() 625 static bool _nfs4_is_integrity_protected(struct nfs_client *clp) in _nfs4_is_integrity_protected() 631 static void do_renew_lease(struct nfs_client *clp, unsigned long timestamp) in do_renew_lease() 641 struct nfs_client *clp = server->nfs_client; in renew_lease() 738 struct nfs_client *clp; in nfs41_sequence_process() [all …]
|
D | callback_proc.c | 124 static struct inode *nfs_layout_find_inode_by_stateid(struct nfs_client *clp, in nfs_layout_find_inode_by_stateid() 160 static struct inode *nfs_layout_find_inode_by_fh(struct nfs_client *clp, in nfs_layout_find_inode_by_fh() 193 static struct inode *nfs_layout_find_inode(struct nfs_client *clp, in nfs_layout_find_inode() 248 static u32 initiate_file_draining(struct nfs_client *clp, in initiate_file_draining() 317 static u32 initiate_bulk_draining(struct nfs_client *clp, in initiate_bulk_draining() 331 static u32 do_callback_layoutrecall(struct nfs_client *clp, in do_callback_layoutrecall() 350 static void pnfs_recall_all_layouts(struct nfs_client *clp) in pnfs_recall_all_layouts() 367 struct nfs_client *clp = cps->clp; in nfs4_callback_devicenotify() 445 static int referring_call_exists(struct nfs_client *clp, in referring_call_exists() 495 struct nfs_client *clp; in nfs4_callback_sequence()
|
D | pnfs.h | 60 struct nfs_client *ds_clp; 256 void pnfs_destroy_all_layouts(struct nfs_client *); 257 int pnfs_destroy_layouts_byfsid(struct nfs_client *clp, 260 int pnfs_destroy_layouts_byclid(struct nfs_client *clp, 317 void nfs4_deviceid_mark_client_invalid(struct nfs_client *clp); 335 const struct nfs_client *nfs_client; member 347 void nfs4_delete_deviceid(const struct pnfs_layoutdriver_type *, const struct nfs_client *, const s… 353 void nfs4_deviceid_purge_client(const struct nfs_client *); 639 static inline void pnfs_destroy_all_layouts(struct nfs_client *clp) in pnfs_destroy_all_layouts()
|
D | super.c | 448 error = server->nfs_client->rpc_ops->statfs(server, fh, &res); in nfs_statfs() 600 struct nfs_client *clp = nfss->nfs_client; in nfs_show_nfsv4_options() 643 struct nfs_client *clp = nfss->nfs_client; in nfs_show_mount_options() 724 rpc_peeraddr2str(nfss->nfs_client->cl_rpcclient, in nfs_show_options() 736 if (nfs4_has_session(server->nfs_client)) in show_sessions() 756 if (nfss->nfs_client && nfss->nfs_client->cl_implid) { in show_implementation_id() 757 struct nfs41_impl_id *impl_id = nfss->nfs_client->cl_implid; in show_implementation_id() 833 if (nfss->nfs_client->rpc_ops->version == 4) { in nfs_show_stats() 2227 data->version != nfss->nfs_client->rpc_ops->version || in nfs_compare_remount_data() 2228 data->minorversion != nfss->nfs_client->cl_minorversion || in nfs_compare_remount_data() [all …]
|
D | nfs42proc.c | 145 spin_lock(&server->nfs_client->cl_lock); in handle_async_copy() 146 list_for_each_entry(copy, &server->nfs_client->pending_cb_stateids, in handle_async_copy() 156 spin_unlock(&server->nfs_client->cl_lock); in handle_async_copy() 162 spin_unlock(&server->nfs_client->cl_lock); in handle_async_copy() 170 spin_unlock(&server->nfs_client->cl_lock); in handle_async_copy() 173 spin_lock(&server->nfs_client->cl_lock); in handle_async_copy() 175 spin_unlock(&server->nfs_client->cl_lock); in handle_async_copy() 391 nfs4_setup_sequence(data->seq_server->nfs_client, in nfs42_offload_cancel_prepare() 553 nfs4_setup_sequence(server->nfs_client, &data->args.seq_args, in nfs42_layoutstat_prepare()
|
D | callback.h | 44 struct nfs_client *clp; 199 extern int check_gss_callback_principal(struct nfs_client *, struct svc_rqst *);
|
D | nfs4idmap.c | 444 nfs_idmap_new(struct nfs_client *clp) in nfs_idmap_new() 482 nfs_idmap_delete(struct nfs_client *clp) in nfs_idmap_delete() 728 struct idmap *idmap = server->nfs_client->cl_idmap; in nfs_map_name_to_uid() 745 struct idmap *idmap = server->nfs_client->cl_idmap; in nfs_map_group_to_gid() 762 struct idmap *idmap = server->nfs_client->cl_idmap; in nfs_map_uid_to_name() 776 struct idmap *idmap = server->nfs_client->cl_idmap; in nfs_map_gid_to_group()
|
D | export.c | 104 rpc_ops = NFS_SB(sb)->nfs_client->rpc_ops; in nfs_fh_to_dentry() 135 struct nfs_rpc_ops const *ops = server->nfs_client->rpc_ops; in nfs_get_parent()
|
/Linux-v4.19/include/linux/ |
D | nfs_fs_sb.h | 28 struct nfs_client { struct 131 struct nfs_client * nfs_client; /* shared client and NFS4 state */ argument
|
D | nfs_xdr.h | 338 struct nfs_client *clp; 1101 struct nfs_client *sc_clnt; 1241 struct nfs_client *client; 1265 struct nfs_client *client; 1288 struct nfs_client *client; 1492 struct nfs_client *ds_clp; /* pNFS data server */ 1532 struct nfs_client *ds_clp; /* pNFS data server */ 1574 struct nfs_client; 1660 struct nfs_client *(*alloc_client) (const struct nfs_client_initdata *); 1661 struct nfs_client *(*init_client) (struct nfs_client *, [all …]
|
/Linux-v4.19/Documentation/filesystems/nfs/ |
D | pnfs.txt | 23 struct nfs_client (cl_layouts). Being put on this list does not bump 29 lsegs reference device ids, which are resolved per nfs_client and 38 deviceid's per filesystem, and multiple filesystems per nfs_client.
|