/kernel/linux/linux-6.6/fs/nfs/ |
H A D | nfs4state.c | 70 static void nfs4_state_start_reclaim_reboot(struct nfs_client *clp); 94 static int nfs4_setup_state_renewal(struct nfs_client *clp) in nfs4_setup_state_renewal() argument 99 if (!test_bit(NFS_CS_CHECK_LEASE_TIME, &clp->cl_res_state)) { in nfs4_setup_state_renewal() 100 nfs4_schedule_state_renewal(clp); in nfs4_setup_state_renewal() 104 status = nfs4_proc_get_lease_time(clp, &fsinfo); in nfs4_setup_state_renewal() 106 nfs4_set_lease_period(clp, fsinfo.lease_time * HZ); in nfs4_setup_state_renewal() 107 nfs4_schedule_state_renewal(clp); in nfs4_setup_state_renewal() 113 int nfs4_init_clientid(struct nfs_client *clp, const struct cred *cred) in nfs4_init_clientid() argument 116 .clientid = clp->cl_clientid, in nfs4_init_clientid() 117 .confirm = clp in nfs4_init_clientid() 158 nfs40_discover_server_trunking(struct nfs_client *clp, struct nfs_client **result, const struct cred *cred) nfs40_discover_server_trunking() argument 194 nfs4_get_machine_cred(struct nfs_client *clp) nfs4_get_machine_cred() argument 199 nfs4_root_machine_cred(struct nfs_client *clp) nfs4_root_machine_cred() argument 233 nfs4_get_renew_cred(struct nfs_client *clp) nfs4_get_renew_cred() argument 266 nfs4_end_drain_session(struct nfs_client *clp) nfs4_end_drain_session() argument 294 nfs4_begin_drain_session(struct nfs_client *clp) nfs4_begin_drain_session() argument 312 nfs41_finish_session_reset(struct nfs_client *clp) nfs41_finish_session_reset() argument 321 nfs41_init_clientid(struct nfs_client *clp, const struct cred *cred) nfs41_init_clientid() argument 356 nfs41_discover_server_trunking(struct nfs_client *clp, struct nfs_client **result, const struct cred *cred) nfs41_discover_server_trunking() argument 398 nfs4_get_clid_cred(struct nfs_client *clp) nfs4_get_clid_cred() argument 546 struct nfs_client *clp = server->nfs_client; nfs4_gc_state_owners() local 581 struct nfs_client *clp = server->nfs_client; nfs4_get_state_owner() local 617 struct nfs_client *clp = server->nfs_client; nfs4_put_state_owner() local 640 struct nfs_client *clp = server->nfs_client; nfs4_purge_state_owners() local 952 struct nfs_client *clp = server->nfs_client; nfs4_put_lock_state() local 1199 nfs4_clear_state_manager_bit(struct nfs_client *clp) nfs4_clear_state_manager_bit() argument 1208 nfs4_schedule_state_manager(struct nfs_client *clp) nfs4_schedule_state_manager() argument 1259 nfs4_schedule_lease_recovery(struct nfs_client *clp) nfs4_schedule_lease_recovery() argument 1281 struct nfs_client *clp = server->nfs_client; nfs4_schedule_migration_recovery() local 1313 nfs4_schedule_lease_moved_recovery(struct nfs_client *clp) nfs4_schedule_lease_moved_recovery() argument 1323 nfs4_wait_clnt_recover(struct nfs_client *clp) nfs4_wait_clnt_recover() argument 1342 nfs4_client_recover_expired_lease(struct nfs_client *clp) nfs4_client_recover_expired_lease() argument 1368 nfs40_handle_cb_pathdown(struct nfs_client *clp) nfs40_handle_cb_pathdown() argument 1376 nfs4_schedule_path_down_recovery(struct nfs_client *clp) nfs4_schedule_path_down_recovery() argument 1382 nfs4_state_mark_reclaim_reboot(struct nfs_client *clp, struct nfs4_state *state) nfs4_state_mark_reclaim_reboot() argument 1398 nfs4_state_mark_reclaim_nograce(struct nfs_client *clp, struct nfs4_state *state) nfs4_state_mark_reclaim_nograce() argument 1411 struct nfs_client *clp = server->nfs_client; nfs4_schedule_stateid_recovery() local 1456 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client; nfs_inode_find_state_and_recover() local 1769 nfs4_reset_seqids(struct nfs_server *server, int (*mark_reclaim)(struct nfs_client *clp, struct nfs4_state *state)) nfs4_reset_seqids() argument 1772 struct nfs_client *clp = server->nfs_client; nfs4_reset_seqids() local 1793 nfs4_state_mark_reclaim_helper(struct nfs_client *clp, int (*mark_reclaim)(struct nfs_client *clp, struct nfs4_state *state)) nfs4_state_mark_reclaim_helper() argument 1804 nfs4_state_start_reclaim_reboot(struct nfs_client *clp) nfs4_state_start_reclaim_reboot() argument 1812 nfs4_reclaim_complete(struct nfs_client *clp, const struct nfs4_state_recovery_ops *ops, const struct cred *cred) nfs4_reclaim_complete() argument 1824 struct nfs_client *clp = server->nfs_client; nfs4_clear_reclaim_server() local 1846 nfs4_state_clear_reclaim_reboot(struct nfs_client *clp) nfs4_state_clear_reclaim_reboot() argument 1862 nfs4_state_end_reclaim_reboot(struct nfs_client *clp) nfs4_state_end_reclaim_reboot() argument 1878 nfs4_state_start_reclaim_nograce(struct nfs_client *clp) nfs4_state_start_reclaim_nograce() argument 1884 nfs4_recovery_handle_error(struct nfs_client *clp, int error) nfs4_recovery_handle_error() argument 1925 nfs4_do_reclaim(struct nfs_client *clp, const struct nfs4_state_recovery_ops *ops) nfs4_do_reclaim() argument 1976 nfs4_check_lease(struct nfs_client *clp) nfs4_check_lease() argument 2006 nfs4_handle_reclaim_lease_error(struct nfs_client *clp, int status) nfs4_handle_reclaim_lease_error() argument 2055 nfs4_establish_lease(struct nfs_client *clp) nfs4_establish_lease() argument 2080 nfs4_reclaim_lease(struct nfs_client *clp) nfs4_reclaim_lease() argument 2096 nfs4_purge_lease(struct nfs_client *clp) nfs4_purge_lease() argument 2118 struct nfs_client *clp = server->nfs_client; nfs4_try_migration() local 2194 nfs4_handle_migration(struct nfs_client *clp) nfs4_handle_migration() argument 2240 nfs4_handle_lease_moved(struct nfs_client *clp) nfs4_handle_lease_moved() argument 2295 nfs4_discover_server_trunking(struct nfs_client *clp, struct nfs_client **result) nfs4_discover_server_trunking() argument 2388 struct nfs_client *clp = session->clp; nfs4_schedule_session_recovery() local 2401 nfs41_notify_server(struct nfs_client *clp) nfs41_notify_server() argument 2408 nfs4_reset_all_state(struct nfs_client *clp) nfs4_reset_all_state() argument 2420 nfs41_handle_server_reboot(struct nfs_client *clp) nfs41_handle_server_reboot() argument 2430 nfs41_handle_all_state_revoked(struct nfs_client *clp) nfs41_handle_all_state_revoked() argument 2436 nfs41_handle_some_state_revoked(struct nfs_client *clp) nfs41_handle_some_state_revoked() argument 2444 nfs41_handle_recallable_state_revoked(struct nfs_client *clp) nfs41_handle_recallable_state_revoked() argument 2453 nfs41_handle_backchannel_fault(struct nfs_client *clp) nfs41_handle_backchannel_fault() argument 2462 nfs41_handle_cb_path_down(struct nfs_client *clp) nfs41_handle_cb_path_down() argument 2469 nfs41_handle_sequence_flag_errors(struct nfs_client *clp, u32 flags, bool recovery) nfs41_handle_sequence_flag_errors() argument 2505 nfs4_reset_session(struct nfs_client *clp) nfs4_reset_session() argument 2549 nfs4_bind_conn_to_session(struct nfs_client *clp) nfs4_bind_conn_to_session() argument 2578 nfs4_layoutreturn_any_run(struct nfs_client *clp) nfs4_layoutreturn_any_run() argument 2593 nfs4_reset_session(struct nfs_client *clp) nfs4_reset_session() argument 2595 nfs4_bind_conn_to_session(struct nfs_client *clp) nfs4_bind_conn_to_session() argument 2600 nfs4_layoutreturn_any_run(struct nfs_client *clp) nfs4_layoutreturn_any_run() argument 2605 nfs4_state_manager(struct nfs_client *clp) nfs4_state_manager() argument 2754 struct nfs_client *clp = ptr; nfs4_run_state_manager() local [all...] |
H A D | client.c | 151 struct nfs_client *clp; in nfs_alloc_client() local 154 if ((clp = kzalloc(sizeof(*clp), GFP_KERNEL)) == NULL) in nfs_alloc_client() 157 clp->cl_minorversion = cl_init->minorversion; in nfs_alloc_client() 158 clp->cl_nfs_mod = cl_init->nfs_mod; in nfs_alloc_client() 159 if (!try_module_get(clp->cl_nfs_mod->owner)) in nfs_alloc_client() 162 clp->rpc_ops = clp->cl_nfs_mod->rpc_ops; in nfs_alloc_client() 164 refcount_set(&clp->cl_count, 1); in nfs_alloc_client() 165 clp in nfs_alloc_client() 208 nfs_cb_idr_remove_locked(struct nfs_client *clp) nfs_cb_idr_remove_locked() argument 226 nfs_cb_idr_remove_locked(struct nfs_client *clp) nfs_cb_idr_remove_locked() argument 239 nfs_free_client(struct nfs_client *clp) nfs_free_client() argument 256 nfs_put_client(struct nfs_client *clp) nfs_put_client() argument 283 struct nfs_client *clp; nfs_match_client() local 345 nfs_client_init_is_complete(const struct nfs_client *clp) nfs_client_init_is_complete() argument 357 nfs_client_init_status(const struct nfs_client *clp) nfs_client_init_status() argument 368 nfs_wait_client_init_complete(const struct nfs_client *clp) nfs_wait_client_init_complete() argument 379 nfs_found_client(const struct nfs_client_initdata *cl_init, struct nfs_client *clp) nfs_found_client() argument 406 struct nfs_client *clp, *new = NULL; nfs_get_client() local 447 nfs_mark_client_ready(struct nfs_client *clp, int state) nfs_mark_client_ready() argument 501 nfs_create_rpc_client(struct nfs_client *clp, const struct nfs_client_initdata *cl_init, rpc_authflavor_t flavor) nfs_create_rpc_client() argument 569 struct nfs_client *clp = server->nfs_client; nfs_start_lockd() local 615 struct nfs_client *clp = server->nfs_client; nfs_init_server_rpcclient() local 647 nfs_init_client(struct nfs_client *clp, const struct nfs_client_initdata *cl_init) nfs_init_client() argument 691 struct nfs_client *clp; nfs_init_server() local 772 struct nfs_client *clp = server->nfs_client; nfs_server_set_fsinfo() local 845 struct nfs_client *clp = server->nfs_client; nfs_probe_fsinfo() local 930 struct nfs_client *clp = server->nfs_client; nfs_server_insert_lists() local 944 struct nfs_client *clp = server->nfs_client; nfs_server_remove_lists() local 1256 struct nfs_client *clp; nfs_server_list_show() local 1324 struct nfs_client *clp; nfs_volume_list_show() local [all...] |
H A D | nfs4renewd.c | 58 struct nfs_client *clp = in nfs4_renew_state() local 65 ops = clp->cl_mvops->state_renewal_ops; in nfs4_renew_state() 68 if (test_bit(NFS_CS_STOP_RENEW, &clp->cl_res_state)) in nfs4_renew_state() 71 lease = clp->cl_lease_time; in nfs4_renew_state() 72 last = clp->cl_last_renewal; in nfs4_renew_state() 77 if (nfs_delegations_present(clp)) in nfs4_renew_state() 81 cred = ops->get_state_renewal_cred(clp); in nfs4_renew_state() 84 set_bit(NFS4CLNT_LEASE_EXPIRED, &clp->cl_state); in nfs4_renew_state() 87 nfs_expire_all_delegations(clp); in nfs4_renew_state() 92 ret = ops->sched_state_renewal(clp, cre in nfs4_renew_state() 114 nfs4_schedule_state_renewal(struct nfs_client *clp) nfs4_schedule_state_renewal() argument 131 nfs4_kill_renewd(struct nfs_client *clp) nfs4_kill_renewd() argument 142 nfs4_set_lease_period(struct nfs_client *clp, unsigned long lease) nfs4_set_lease_period() argument [all...] |
H A D | nfs4client.c | 29 static int nfs_get_cb_ident_idr(struct nfs_client *clp, int minorversion) in nfs_get_cb_ident_idr() argument 32 struct nfs_net *nn = net_generic(clp->cl_net, nfs_net_id); in nfs_get_cb_ident_idr() 34 if (clp->rpc_ops->version != 4 || minorversion != 0) in nfs_get_cb_ident_idr() 38 ret = idr_alloc(&nn->cb_ident_idr, clp, 1, 0, GFP_NOWAIT); in nfs_get_cb_ident_idr() 40 clp->cl_cb_ident = ret; in nfs_get_cb_ident_idr() 153 nfs4_shutdown_ds_clients(struct nfs_client *clp) in nfs4_shutdown_ds_clients() argument 157 while (!list_empty(&clp->cl_ds_clients)) { in nfs4_shutdown_ds_clients() 158 dss = list_entry(clp->cl_ds_clients.next, in nfs4_shutdown_ds_clients() 167 nfs4_cleanup_callback(struct nfs_client *clp) in nfs4_cleanup_callback() argument 171 while (!list_empty(&clp in nfs4_cleanup_callback() 179 nfs41_shutdown_client(struct nfs_client *clp) nfs41_shutdown_client() argument 191 nfs40_shutdown_client(struct nfs_client *clp) nfs40_shutdown_client() argument 203 struct nfs_client *clp = nfs_alloc_client(cl_init); nfs4_alloc_client() local 279 nfs4_destroy_callback(struct nfs_client *clp) nfs4_destroy_callback() argument 285 nfs4_shutdown_client(struct nfs_client *clp) nfs4_shutdown_client() argument 301 nfs4_free_client(struct nfs_client *clp) nfs4_free_client() argument 310 nfs4_init_callback(struct nfs_client *clp) nfs4_init_callback() argument 340 nfs40_init_client(struct nfs_client *clp) nfs40_init_client() argument 369 nfs41_init_client(struct nfs_client *clp) nfs41_init_client() argument 399 nfs4_init_client_minor_version(struct nfs_client *clp) nfs4_init_client_minor_version() argument 409 nfs4_add_trunk(struct nfs_client *clp, struct nfs_client *old) nfs4_add_trunk() argument 446 nfs4_init_client(struct nfs_client *clp, const struct nfs_client_initdata *cl_init) nfs4_init_client() argument 707 nfs4_detect_session_trunking(struct nfs_client *clp, struct nfs41_exchange_id_res *res, struct rpc_xprt *xprt) nfs4_detect_session_trunking() argument 814 struct nfs_client *clp; nfs4_find_client_ident() local 827 nfs4_cb_match_client(const struct sockaddr *addr, struct nfs_client *clp, u32 minorversion) nfs4_cb_match_client() argument 859 struct nfs_client *clp; nfs4_find_client_sessionid() local 920 struct nfs_client *clp; nfs4_set_client() local 1336 struct nfs_client *clp = server->nfs_client; nfs4_update_server() local [all...] |
H A D | callback_proc.c | 37 if (!cps->clp) /* Always set for v4.0. Set in cb_sequence for v4.1 */ in nfs4_callback_getattr() 44 rpc_peeraddr2str(cps->clp->cl_rpcclient, RPC_DISPLAY_ADDR)); in nfs4_callback_getattr() 46 inode = nfs_delegation_find_inode(cps->clp, &args->fh); in nfs4_callback_getattr() 50 trace_nfs4_cb_getattr(cps->clp, &args->fh, NULL, in nfs4_callback_getattr() 71 trace_nfs4_cb_getattr(cps->clp, &args->fh, inode, -ntohl(res->status)); in nfs4_callback_getattr() 86 if (!cps->clp) /* Always set for v4.0. Set in cb_sequence for v4.1 */ in nfs4_callback_recall() 90 rpc_peeraddr2str(cps->clp->cl_rpcclient, RPC_DISPLAY_ADDR)); in nfs4_callback_recall() 93 inode = nfs_delegation_find_inode(cps->clp, &args->fh); in nfs4_callback_recall() 97 trace_nfs4_cb_recall(cps->clp, &args->fh, NULL, in nfs4_callback_recall() 112 trace_nfs4_cb_recall(cps->clp, in nfs4_callback_recall() 163 nfs_layout_find_inode_by_fh(struct nfs_client *clp, const struct nfs_fh *fh) nfs_layout_find_inode_by_fh() argument 194 nfs_layout_find_inode(struct nfs_client *clp, const struct nfs_fh *fh, const nfs4_stateid *stateid) nfs_layout_find_inode() argument 244 initiate_file_draining(struct nfs_client *clp, struct cb_layoutrecallargs *args) initiate_file_draining() argument 314 initiate_bulk_draining(struct nfs_client *clp, struct cb_layoutrecallargs *args) initiate_bulk_draining() argument 328 do_callback_layoutrecall(struct nfs_client *clp, struct cb_layoutrecallargs *args) do_callback_layoutrecall() argument 347 pnfs_recall_all_layouts(struct nfs_client *clp) pnfs_recall_all_layouts() argument 495 struct nfs_client *clp; nfs4_callback_sequence() local [all...] |
H A D | nfs4session.h | 75 struct nfs_client *clp; member 109 static inline struct nfs4_session *nfs4_get_session(const struct nfs_client *clp) in nfs4_get_session() argument 111 return clp->cl_session; in nfs4_get_session() 123 extern struct nfs4_session *nfs4_alloc_session(struct nfs_client *clp); 125 extern int nfs4_init_session(struct nfs_client *clp); 131 static inline int nfs4_has_session(const struct nfs_client *clp) in nfs4_has_session() argument 133 if (clp->cl_session) in nfs4_has_session() 138 static inline int nfs4_has_persistent_session(const struct nfs_client *clp) in nfs4_has_persistent_session() argument 140 if (nfs4_has_session(clp)) in nfs4_has_persistent_session() 141 return (clp in nfs4_has_persistent_session() 163 nfs4_init_session(struct nfs_client *clp) nfs4_init_session() argument 171 nfs4_has_session(const struct nfs_client *clp) nfs4_has_session() argument 176 nfs4_has_persistent_session(const struct nfs_client *clp) nfs4_has_persistent_session() argument [all...] |
H A D | delegation.c | 324 struct nfs_client *clp, int err) in nfs_abort_delegation_return() 331 set_bit(NFS4CLNT_DELEGRETURN_DELAYED, &clp->cl_state); in nfs_abort_delegation_return() 339 struct nfs_client *clp) in nfs_detach_delegation_locked() 343 lockdep_is_held(&clp->cl_lock)); in nfs_detach_delegation_locked() 364 struct nfs_client *clp = server->nfs_client; in nfs_detach_delegation() local 366 spin_lock(&clp->cl_lock); in nfs_detach_delegation() 367 delegation = nfs_detach_delegation_locked(nfsi, delegation, clp); in nfs_detach_delegation() 368 spin_unlock(&clp->cl_lock); in nfs_detach_delegation() 434 struct nfs_client *clp = server->nfs_client; in nfs_inode_set_delegation() local 453 spin_lock(&clp in nfs_inode_set_delegation() 323 nfs_abort_delegation_return(struct nfs_delegation *delegation, struct nfs_client *clp, int err) nfs_abort_delegation_return() argument 337 nfs_detach_delegation_locked(struct nfs_inode *nfsi, struct nfs_delegation *delegation, struct nfs_client *clp) nfs_detach_delegation_locked() argument 530 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client; nfs_end_delegation_return() local 680 nfs_client_clear_delayed_delegations(struct nfs_client *clp) nfs_client_clear_delayed_delegations() argument 707 nfs_client_return_marked_delegations(struct nfs_client *clp) nfs_client_return_marked_delegations() argument 846 nfs_client_mark_return_all_delegations(struct nfs_client *clp) nfs_client_mark_return_all_delegations() argument 856 nfs_delegation_run_state_manager(struct nfs_client *clp) nfs_delegation_run_state_manager() argument 867 nfs_expire_all_delegations(struct nfs_client *clp) nfs_expire_all_delegations() argument 880 struct nfs_client *clp = server->nfs_client; nfs_server_return_all_delegations() local 909 nfs_client_mark_return_unused_delegation_types(struct nfs_client *clp, fmode_t flags) nfs_client_mark_return_unused_delegation_types() argument 1004 nfs_expire_unused_delegation_types(struct nfs_client *clp, fmode_t flags) nfs_expire_unused_delegation_types() argument 1026 nfs_expire_unreferenced_delegations(struct nfs_client *clp) nfs_expire_unreferenced_delegations() argument 1049 struct nfs_client *clp = server->nfs_client; nfs_async_inode_return_delegation() local 1112 nfs_delegation_find_inode(struct nfs_client *clp, const struct nfs_fh *fhandle) nfs_delegation_find_inode() argument 1150 nfs_delegation_mark_reclaim(struct nfs_client *clp) nfs_delegation_mark_reclaim() argument 1201 nfs_delegation_reap_unclaimed(struct nfs_client *clp) nfs_delegation_reap_unclaimed() argument 1207 nfs4_server_rebooted(const struct nfs_client *clp) nfs4_server_rebooted() argument 1252 nfs_mark_test_expired_all_delegations(struct nfs_client *clp) nfs_mark_test_expired_all_delegations() argument 1268 nfs_test_expired_all_delegations(struct nfs_client *clp) nfs_test_expired_all_delegations() argument 1341 nfs_reap_expired_delegations(struct nfs_client *clp) nfs_reap_expired_delegations() argument 1350 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client; nfs_inode_find_delegation_state_and_recover() local 1374 nfs_delegations_present(struct nfs_client *clp) nfs_delegations_present() argument [all...] |
H A D | delegation.h | 51 struct inode *nfs_delegation_find_inode(struct nfs_client *clp, const struct nfs_fh *fhandle); 53 void nfs_expire_all_delegations(struct nfs_client *clp); 54 void nfs_expire_unused_delegation_types(struct nfs_client *clp, fmode_t flags); 55 void nfs_expire_unreferenced_delegations(struct nfs_client *clp); 56 int nfs_client_return_marked_delegations(struct nfs_client *clp); 57 int nfs_delegations_present(struct nfs_client *clp); 61 void nfs_delegation_mark_reclaim(struct nfs_client *clp); 62 void nfs_delegation_reap_unclaimed(struct nfs_client *clp); 64 void nfs_mark_test_expired_all_delegations(struct nfs_client *clp); 65 void nfs_test_expired_all_delegations(struct nfs_client *clp); [all...] |
H A D | nfs4_fs.h | 255 struct nfs_client *clp; member 301 extern int nfs4_proc_exchange_id(struct nfs_client *clp, const struct cred *cred); 302 extern int nfs4_destroy_clientid(struct nfs_client *clp); 333 extern int nfs4_proc_get_lease_time(struct nfs_client *clp, 348 extern int nfs4_detect_session_trunking(struct nfs_client *clp, 352 is_ds_only_client(struct nfs_client *clp) in is_ds_only_client() argument 354 return (clp->cl_exchange_flags & EXCHGID4_FLAG_MASK_PNFS) == in is_ds_only_client() 359 is_ds_client(struct nfs_client *clp) in is_ds_client() argument 361 return clp->cl_exchange_flags & EXCHGID4_FLAG_USE_PNFS_DS; in is_ds_client() 365 _nfs4_state_protect(struct nfs_client *clp, unsigne argument 401 nfs4_state_protect(struct nfs_client *clp, unsigned long sp4_mode, struct rpc_clnt **clntp, struct rpc_message *msg) nfs4_state_protect() argument 413 nfs4_state_protect_write(struct nfs_client *clp, struct rpc_clnt **clntp, struct rpc_message *msg, struct nfs_pgio_header *hdr) nfs4_state_protect_write() argument 422 is_ds_only_client(struct nfs_client *clp) is_ds_only_client() argument 428 is_ds_client(struct nfs_client *clp) is_ds_client() argument 434 nfs4_state_protect(struct nfs_client *clp, unsigned long sp4_flags, struct rpc_clnt **clntp, struct rpc_message *msg) nfs4_state_protect() argument 440 nfs4_state_protect_write(struct nfs_client *clp, struct rpc_clnt **clntp, struct rpc_message *msg, struct nfs_pgio_header *hdr) nfs4_state_protect_write() argument [all...] |
/kernel/linux/linux-5.10/fs/nfs/ |
H A D | nfs4state.c | 70 static void nfs4_state_start_reclaim_reboot(struct nfs_client *clp); 94 static int nfs4_setup_state_renewal(struct nfs_client *clp) in nfs4_setup_state_renewal() argument 99 if (!test_bit(NFS_CS_CHECK_LEASE_TIME, &clp->cl_res_state)) { in nfs4_setup_state_renewal() 100 nfs4_schedule_state_renewal(clp); in nfs4_setup_state_renewal() 104 status = nfs4_proc_get_lease_time(clp, &fsinfo); in nfs4_setup_state_renewal() 106 nfs4_set_lease_period(clp, fsinfo.lease_time * HZ); in nfs4_setup_state_renewal() 107 nfs4_schedule_state_renewal(clp); in nfs4_setup_state_renewal() 113 int nfs4_init_clientid(struct nfs_client *clp, const struct cred *cred) in nfs4_init_clientid() argument 116 .clientid = clp->cl_clientid, in nfs4_init_clientid() 117 .confirm = clp in nfs4_init_clientid() 158 nfs40_discover_server_trunking(struct nfs_client *clp, struct nfs_client **result, const struct cred *cred) nfs40_discover_server_trunking() argument 194 nfs4_get_machine_cred(struct nfs_client *clp) nfs4_get_machine_cred() argument 199 nfs4_root_machine_cred(struct nfs_client *clp) nfs4_root_machine_cred() argument 233 nfs4_get_renew_cred(struct nfs_client *clp) nfs4_get_renew_cred() argument 266 nfs4_end_drain_session(struct nfs_client *clp) nfs4_end_drain_session() argument 294 nfs4_begin_drain_session(struct nfs_client *clp) nfs4_begin_drain_session() argument 312 nfs41_finish_session_reset(struct nfs_client *clp) nfs41_finish_session_reset() argument 321 nfs41_init_clientid(struct nfs_client *clp, const struct cred *cred) nfs41_init_clientid() argument 356 nfs41_discover_server_trunking(struct nfs_client *clp, struct nfs_client **result, const struct cred *cred) nfs41_discover_server_trunking() argument 398 nfs4_get_clid_cred(struct nfs_client *clp) nfs4_get_clid_cred() argument 547 struct nfs_client *clp = server->nfs_client; nfs4_gc_state_owners() local 582 struct nfs_client *clp = server->nfs_client; nfs4_get_state_owner() local 618 struct nfs_client *clp = server->nfs_client; nfs4_put_state_owner() local 641 struct nfs_client *clp = server->nfs_client; nfs4_purge_state_owners() local 953 struct nfs_client *clp = server->nfs_client; nfs4_put_lock_state() local 1199 nfs4_clear_state_manager_bit(struct nfs_client *clp) nfs4_clear_state_manager_bit() argument 1211 nfs4_schedule_state_manager(struct nfs_client *clp) nfs4_schedule_state_manager() argument 1259 nfs4_schedule_lease_recovery(struct nfs_client *clp) nfs4_schedule_lease_recovery() argument 1281 struct nfs_client *clp = server->nfs_client; nfs4_schedule_migration_recovery() local 1313 nfs4_schedule_lease_moved_recovery(struct nfs_client *clp) nfs4_schedule_lease_moved_recovery() argument 1323 nfs4_wait_clnt_recover(struct nfs_client *clp) nfs4_wait_clnt_recover() argument 1341 nfs4_client_recover_expired_lease(struct nfs_client *clp) nfs4_client_recover_expired_lease() argument 1367 nfs40_handle_cb_pathdown(struct nfs_client *clp) nfs40_handle_cb_pathdown() argument 1375 nfs4_schedule_path_down_recovery(struct nfs_client *clp) nfs4_schedule_path_down_recovery() argument 1381 nfs4_state_mark_reclaim_reboot(struct nfs_client *clp, struct nfs4_state *state) nfs4_state_mark_reclaim_reboot() argument 1397 nfs4_state_mark_reclaim_nograce(struct nfs_client *clp, struct nfs4_state *state) nfs4_state_mark_reclaim_nograce() argument 1410 struct nfs_client *clp = server->nfs_client; nfs4_schedule_stateid_recovery() local 1455 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client; nfs_inode_find_state_and_recover() local 1764 nfs4_reset_seqids(struct nfs_server *server, int (*mark_reclaim)(struct nfs_client *clp, struct nfs4_state *state)) nfs4_reset_seqids() argument 1767 struct nfs_client *clp = server->nfs_client; nfs4_reset_seqids() local 1788 nfs4_state_mark_reclaim_helper(struct nfs_client *clp, int (*mark_reclaim)(struct nfs_client *clp, struct nfs4_state *state)) nfs4_state_mark_reclaim_helper() argument 1799 nfs4_state_start_reclaim_reboot(struct nfs_client *clp) nfs4_state_start_reclaim_reboot() argument 1807 nfs4_reclaim_complete(struct nfs_client *clp, const struct nfs4_state_recovery_ops *ops, const struct cred *cred) nfs4_reclaim_complete() argument 1819 struct nfs_client *clp = server->nfs_client; nfs4_clear_reclaim_server() local 1841 nfs4_state_clear_reclaim_reboot(struct nfs_client *clp) nfs4_state_clear_reclaim_reboot() argument 1857 nfs4_state_end_reclaim_reboot(struct nfs_client *clp) nfs4_state_end_reclaim_reboot() argument 1873 nfs4_state_start_reclaim_nograce(struct nfs_client *clp) nfs4_state_start_reclaim_nograce() argument 1879 nfs4_recovery_handle_error(struct nfs_client *clp, int error) nfs4_recovery_handle_error() argument 1920 nfs4_do_reclaim(struct nfs_client *clp, const struct nfs4_state_recovery_ops *ops) nfs4_do_reclaim() argument 1964 nfs4_check_lease(struct nfs_client *clp) nfs4_check_lease() argument 1994 nfs4_handle_reclaim_lease_error(struct nfs_client *clp, int status) nfs4_handle_reclaim_lease_error() argument 2039 nfs4_establish_lease(struct nfs_client *clp) nfs4_establish_lease() argument 2064 nfs4_reclaim_lease(struct nfs_client *clp) nfs4_reclaim_lease() argument 2080 nfs4_purge_lease(struct nfs_client *clp) nfs4_purge_lease() argument 2102 struct nfs_client *clp = server->nfs_client; nfs4_try_migration() local 2170 nfs4_handle_migration(struct nfs_client *clp) nfs4_handle_migration() argument 2216 nfs4_handle_lease_moved(struct nfs_client *clp) nfs4_handle_lease_moved() argument 2271 nfs4_discover_server_trunking(struct nfs_client *clp, struct nfs_client **result) nfs4_discover_server_trunking() argument 2364 struct nfs_client *clp = session->clp; nfs4_schedule_session_recovery() local 2377 nfs41_notify_server(struct nfs_client *clp) nfs41_notify_server() argument 2384 nfs4_reset_all_state(struct nfs_client *clp) nfs4_reset_all_state() argument 2396 nfs41_handle_server_reboot(struct nfs_client *clp) nfs41_handle_server_reboot() argument 2406 nfs41_handle_all_state_revoked(struct nfs_client *clp) nfs41_handle_all_state_revoked() argument 2412 nfs41_handle_some_state_revoked(struct nfs_client *clp) nfs41_handle_some_state_revoked() argument 2420 nfs41_handle_recallable_state_revoked(struct nfs_client *clp) nfs41_handle_recallable_state_revoked() argument 2429 nfs41_handle_backchannel_fault(struct nfs_client *clp) nfs41_handle_backchannel_fault() argument 2438 nfs41_handle_cb_path_down(struct nfs_client *clp) nfs41_handle_cb_path_down() argument 2445 nfs41_handle_sequence_flag_errors(struct nfs_client *clp, u32 flags, bool recovery) nfs41_handle_sequence_flag_errors() argument 2481 nfs4_reset_session(struct nfs_client *clp) nfs4_reset_session() argument 2525 nfs4_bind_conn_to_session(struct nfs_client *clp) nfs4_bind_conn_to_session() argument 2554 nfs4_layoutreturn_any_run(struct nfs_client *clp) nfs4_layoutreturn_any_run() argument 2569 nfs4_reset_session(struct nfs_client *clp) nfs4_reset_session() argument 2571 nfs4_bind_conn_to_session(struct nfs_client *clp) nfs4_bind_conn_to_session() argument 2576 nfs4_layoutreturn_any_run(struct nfs_client *clp) nfs4_layoutreturn_any_run() argument 2581 nfs4_state_manager(struct nfs_client *clp) nfs4_state_manager() argument 2730 struct nfs_client *clp = ptr; nfs4_run_state_manager() local [all...] |
H A D | client.c | 150 struct nfs_client *clp; in nfs_alloc_client() local 153 if ((clp = kzalloc(sizeof(*clp), GFP_KERNEL)) == NULL) in nfs_alloc_client() 156 clp->cl_minorversion = cl_init->minorversion; in nfs_alloc_client() 157 clp->cl_nfs_mod = cl_init->nfs_mod; in nfs_alloc_client() 158 if (!try_module_get(clp->cl_nfs_mod->owner)) in nfs_alloc_client() 161 clp->rpc_ops = clp->cl_nfs_mod->rpc_ops; in nfs_alloc_client() 163 refcount_set(&clp->cl_count, 1); in nfs_alloc_client() 164 clp in nfs_alloc_client() 207 nfs_cb_idr_remove_locked(struct nfs_client *clp) nfs_cb_idr_remove_locked() argument 225 nfs_cb_idr_remove_locked(struct nfs_client *clp) nfs_cb_idr_remove_locked() argument 238 nfs_free_client(struct nfs_client *clp) nfs_free_client() argument 257 nfs_put_client(struct nfs_client *clp) nfs_put_client() argument 284 struct nfs_client *clp; nfs_match_client() local 342 nfs_client_init_is_complete(const struct nfs_client *clp) nfs_client_init_is_complete() argument 354 nfs_client_init_status(const struct nfs_client *clp) nfs_client_init_status() argument 365 nfs_wait_client_init_complete(const struct nfs_client *clp) nfs_wait_client_init_complete() argument 376 nfs_found_client(const struct nfs_client_initdata *cl_init, struct nfs_client *clp) nfs_found_client() argument 403 struct nfs_client *clp, *new = NULL; nfs_get_client() local 444 nfs_mark_client_ready(struct nfs_client *clp, int state) nfs_mark_client_ready() argument 499 nfs_create_rpc_client(struct nfs_client *clp, const struct nfs_client_initdata *cl_init, rpc_authflavor_t flavor) nfs_create_rpc_client() argument 565 struct nfs_client *clp = server->nfs_client; nfs_start_lockd() local 610 struct nfs_client *clp = server->nfs_client; nfs_init_server_rpcclient() local 641 nfs_init_client(struct nfs_client *clp, const struct nfs_client_initdata *cl_init) nfs_init_client() argument 684 struct nfs_client *clp; nfs_init_server() local 825 struct nfs_client *clp = server->nfs_client; nfs_probe_fsinfo() local 879 struct nfs_client *clp = server->nfs_client; nfs_server_insert_lists() local 893 struct nfs_client *clp = server->nfs_client; nfs_server_remove_lists() local 1194 struct nfs_client *clp; nfs_server_list_show() local 1262 struct nfs_client *clp; nfs_volume_list_show() local [all...] |
H A D | nfs4renewd.c | 58 struct nfs_client *clp = in nfs4_renew_state() local 65 ops = clp->cl_mvops->state_renewal_ops; in nfs4_renew_state() 68 if (test_bit(NFS_CS_STOP_RENEW, &clp->cl_res_state)) in nfs4_renew_state() 71 lease = clp->cl_lease_time; in nfs4_renew_state() 72 last = clp->cl_last_renewal; in nfs4_renew_state() 77 if (nfs_delegations_present(clp)) in nfs4_renew_state() 81 cred = ops->get_state_renewal_cred(clp); in nfs4_renew_state() 84 set_bit(NFS4CLNT_LEASE_EXPIRED, &clp->cl_state); in nfs4_renew_state() 87 nfs_expire_all_delegations(clp); in nfs4_renew_state() 92 ret = ops->sched_state_renewal(clp, cre in nfs4_renew_state() 114 nfs4_schedule_state_renewal(struct nfs_client *clp) nfs4_schedule_state_renewal() argument 131 nfs4_kill_renewd(struct nfs_client *clp) nfs4_kill_renewd() argument 142 nfs4_set_lease_period(struct nfs_client *clp, unsigned long lease) nfs4_set_lease_period() argument [all...] |
H A D | nfs4client.c | 28 static int nfs_get_cb_ident_idr(struct nfs_client *clp, int minorversion) in nfs_get_cb_ident_idr() argument 31 struct nfs_net *nn = net_generic(clp->cl_net, nfs_net_id); in nfs_get_cb_ident_idr() 33 if (clp->rpc_ops->version != 4 || minorversion != 0) in nfs_get_cb_ident_idr() 37 ret = idr_alloc(&nn->cb_ident_idr, clp, 1, 0, GFP_NOWAIT); in nfs_get_cb_ident_idr() 39 clp->cl_cb_ident = ret; in nfs_get_cb_ident_idr() 152 nfs4_shutdown_ds_clients(struct nfs_client *clp) in nfs4_shutdown_ds_clients() argument 156 while (!list_empty(&clp->cl_ds_clients)) { in nfs4_shutdown_ds_clients() 157 dss = list_entry(clp->cl_ds_clients.next, in nfs4_shutdown_ds_clients() 166 nfs4_cleanup_callback(struct nfs_client *clp) in nfs4_cleanup_callback() argument 170 while (!list_empty(&clp in nfs4_cleanup_callback() 178 nfs41_shutdown_client(struct nfs_client *clp) nfs41_shutdown_client() argument 190 nfs40_shutdown_client(struct nfs_client *clp) nfs40_shutdown_client() argument 202 struct nfs_client *clp = nfs_alloc_client(cl_init); nfs4_alloc_client() local 276 nfs4_destroy_callback(struct nfs_client *clp) nfs4_destroy_callback() argument 282 nfs4_shutdown_client(struct nfs_client *clp) nfs4_shutdown_client() argument 298 nfs4_free_client(struct nfs_client *clp) nfs4_free_client() argument 307 nfs4_init_callback(struct nfs_client *clp) nfs4_init_callback() argument 337 nfs40_init_client(struct nfs_client *clp) nfs40_init_client() argument 366 nfs41_init_client(struct nfs_client *clp) nfs41_init_client() argument 396 nfs4_init_client_minor_version(struct nfs_client *clp) nfs4_init_client_minor_version() argument 414 nfs4_init_client(struct nfs_client *clp, const struct nfs_client_initdata *cl_init) nfs4_init_client() argument 672 nfs4_detect_session_trunking(struct nfs_client *clp, struct nfs41_exchange_id_res *res, struct rpc_xprt *xprt) nfs4_detect_session_trunking() argument 779 struct nfs_client *clp; nfs4_find_client_ident() local 792 nfs4_cb_match_client(const struct sockaddr *addr, struct nfs_client *clp, u32 minorversion) nfs4_cb_match_client() argument 824 struct nfs_client *clp; nfs4_find_client_sessionid() local 882 struct nfs_client *clp; nfs4_set_client() local 1296 struct nfs_client *clp = server->nfs_client; nfs4_update_server() local [all...] |
H A D | callback_proc.c | 32 if (!cps->clp) /* Always set for v4.0. Set in cb_sequence for v4.1 */ in nfs4_callback_getattr() 39 rpc_peeraddr2str(cps->clp->cl_rpcclient, RPC_DISPLAY_ADDR)); in nfs4_callback_getattr() 41 inode = nfs_delegation_find_inode(cps->clp, &args->fh); in nfs4_callback_getattr() 45 trace_nfs4_cb_getattr(cps->clp, &args->fh, NULL, in nfs4_callback_getattr() 66 trace_nfs4_cb_getattr(cps->clp, &args->fh, inode, -ntohl(res->status)); in nfs4_callback_getattr() 81 if (!cps->clp) /* Always set for v4.0. Set in cb_sequence for v4.1 */ in nfs4_callback_recall() 85 rpc_peeraddr2str(cps->clp->cl_rpcclient, RPC_DISPLAY_ADDR)); in nfs4_callback_recall() 88 inode = nfs_delegation_find_inode(cps->clp, &args->fh); in nfs4_callback_recall() 92 trace_nfs4_cb_recall(cps->clp, &args->fh, NULL, in nfs4_callback_recall() 107 trace_nfs4_cb_recall(cps->clp, in nfs4_callback_recall() 158 nfs_layout_find_inode_by_fh(struct nfs_client *clp, const struct nfs_fh *fh) nfs_layout_find_inode_by_fh() argument 189 nfs_layout_find_inode(struct nfs_client *clp, const struct nfs_fh *fh, const nfs4_stateid *stateid) nfs_layout_find_inode() argument 239 initiate_file_draining(struct nfs_client *clp, struct cb_layoutrecallargs *args) initiate_file_draining() argument 309 initiate_bulk_draining(struct nfs_client *clp, struct cb_layoutrecallargs *args) initiate_bulk_draining() argument 323 do_callback_layoutrecall(struct nfs_client *clp, struct cb_layoutrecallargs *args) do_callback_layoutrecall() argument 342 pnfs_recall_all_layouts(struct nfs_client *clp) pnfs_recall_all_layouts() argument 490 struct nfs_client *clp; nfs4_callback_sequence() local [all...] |
H A D | nfs4session.h | 74 struct nfs_client *clp; member 108 static inline struct nfs4_session *nfs4_get_session(const struct nfs_client *clp) in nfs4_get_session() argument 110 return clp->cl_session; 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); 130 static inline int nfs4_has_session(const struct nfs_client *clp) in nfs4_has_session() argument 132 if (clp->cl_session) in nfs4_has_session() 137 static inline int nfs4_has_persistent_session(const struct nfs_client *clp) in nfs4_has_persistent_session() argument 139 if (nfs4_has_session(clp)) in nfs4_has_persistent_session() 140 return (clp in nfs4_has_persistent_session() 162 nfs4_init_session(struct nfs_client *clp) nfs4_init_session() argument 170 nfs4_has_session(const struct nfs_client *clp) nfs4_has_session() argument 175 nfs4_has_persistent_session(const struct nfs_client *clp) nfs4_has_persistent_session() argument [all...] |
H A D | delegation.c | 324 struct nfs_client *clp, int err) in nfs_abort_delegation_return() 331 set_bit(NFS4CLNT_DELEGRETURN_DELAYED, &clp->cl_state); in nfs_abort_delegation_return() 339 struct nfs_client *clp) in nfs_detach_delegation_locked() 343 lockdep_is_held(&clp->cl_lock)); in nfs_detach_delegation_locked() 364 struct nfs_client *clp = server->nfs_client; in nfs_detach_delegation() local 366 spin_lock(&clp->cl_lock); in nfs_detach_delegation() 367 delegation = nfs_detach_delegation_locked(nfsi, delegation, clp); in nfs_detach_delegation() 368 spin_unlock(&clp->cl_lock); in nfs_detach_delegation() 434 struct nfs_client *clp = server->nfs_client; in nfs_inode_set_delegation() local 453 spin_lock(&clp in nfs_inode_set_delegation() 323 nfs_abort_delegation_return(struct nfs_delegation *delegation, struct nfs_client *clp, int err) nfs_abort_delegation_return() argument 337 nfs_detach_delegation_locked(struct nfs_inode *nfsi, struct nfs_delegation *delegation, struct nfs_client *clp) nfs_detach_delegation_locked() argument 519 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client; nfs_end_delegation_return() local 662 nfs_client_clear_delayed_delegations(struct nfs_client *clp) nfs_client_clear_delayed_delegations() argument 689 nfs_client_return_marked_delegations(struct nfs_client *clp) nfs_client_return_marked_delegations() argument 825 nfs_client_mark_return_all_delegations(struct nfs_client *clp) nfs_client_mark_return_all_delegations() argument 835 nfs_delegation_run_state_manager(struct nfs_client *clp) nfs_delegation_run_state_manager() argument 846 nfs_expire_all_delegations(struct nfs_client *clp) nfs_expire_all_delegations() argument 859 struct nfs_client *clp = server->nfs_client; nfs_server_return_all_delegations() local 888 nfs_client_mark_return_unused_delegation_types(struct nfs_client *clp, fmode_t flags) nfs_client_mark_return_unused_delegation_types() argument 983 nfs_expire_unused_delegation_types(struct nfs_client *clp, fmode_t flags) nfs_expire_unused_delegation_types() argument 1005 nfs_expire_unreferenced_delegations(struct nfs_client *clp) nfs_expire_unreferenced_delegations() argument 1028 struct nfs_client *clp = server->nfs_client; nfs_async_inode_return_delegation() local 1088 nfs_delegation_find_inode(struct nfs_client *clp, const struct nfs_fh *fhandle) nfs_delegation_find_inode() argument 1126 nfs_delegation_mark_reclaim(struct nfs_client *clp) nfs_delegation_mark_reclaim() argument 1177 nfs_delegation_reap_unclaimed(struct nfs_client *clp) nfs_delegation_reap_unclaimed() argument 1183 nfs4_server_rebooted(const struct nfs_client *clp) nfs4_server_rebooted() argument 1228 nfs_mark_test_expired_all_delegations(struct nfs_client *clp) nfs_mark_test_expired_all_delegations() argument 1244 nfs_test_expired_all_delegations(struct nfs_client *clp) nfs_test_expired_all_delegations() argument 1317 nfs_reap_expired_delegations(struct nfs_client *clp) nfs_reap_expired_delegations() argument 1326 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client; nfs_inode_find_delegation_state_and_recover() local 1350 nfs_delegations_present(struct nfs_client *clp) nfs_delegations_present() argument [all...] |
H A D | delegation.h | 51 struct inode *nfs_delegation_find_inode(struct nfs_client *clp, const struct nfs_fh *fhandle); 53 void nfs_expire_all_delegations(struct nfs_client *clp); 54 void nfs_expire_unused_delegation_types(struct nfs_client *clp, fmode_t flags); 55 void nfs_expire_unreferenced_delegations(struct nfs_client *clp); 56 int nfs_client_return_marked_delegations(struct nfs_client *clp); 57 int nfs_delegations_present(struct nfs_client *clp); 61 void nfs_delegation_mark_reclaim(struct nfs_client *clp); 62 void nfs_delegation_reap_unclaimed(struct nfs_client *clp); 64 void nfs_mark_test_expired_all_delegations(struct nfs_client *clp); 65 void nfs_test_expired_all_delegations(struct nfs_client *clp); [all...] |
H A D | nfs4_fs.h | 254 struct nfs_client *clp; member 300 extern int nfs4_proc_exchange_id(struct nfs_client *clp, const struct cred *cred); 301 extern int nfs4_destroy_clientid(struct nfs_client *clp); 329 extern int nfs4_proc_get_lease_time(struct nfs_client *clp, 344 extern int nfs4_detect_session_trunking(struct nfs_client *clp, 348 is_ds_only_client(struct nfs_client *clp) in is_ds_only_client() argument 350 return (clp->cl_exchange_flags & EXCHGID4_FLAG_MASK_PNFS) == in is_ds_only_client() 355 is_ds_client(struct nfs_client *clp) in is_ds_client() argument 357 return clp->cl_exchange_flags & EXCHGID4_FLAG_USE_PNFS_DS; in is_ds_client() 361 _nfs4_state_protect(struct nfs_client *clp, unsigne argument 397 nfs4_state_protect(struct nfs_client *clp, unsigned long sp4_mode, struct rpc_clnt **clntp, struct rpc_message *msg) nfs4_state_protect() argument 409 nfs4_state_protect_write(struct nfs_client *clp, struct rpc_clnt **clntp, struct rpc_message *msg, struct nfs_pgio_header *hdr) nfs4_state_protect_write() argument 418 is_ds_only_client(struct nfs_client *clp) is_ds_only_client() argument 424 is_ds_client(struct nfs_client *clp) is_ds_client() argument 430 nfs4_state_protect(struct nfs_client *clp, unsigned long sp4_flags, struct rpc_clnt **clntp, struct rpc_message *msg) nfs4_state_protect() argument 436 nfs4_state_protect_write(struct nfs_client *clp, struct rpc_clnt **clntp, struct rpc_message *msg, struct nfs_pgio_header *hdr) nfs4_state_protect_write() argument [all...] |
/kernel/linux/linux-5.10/fs/nfsd/ |
H A D | nfs4callback.c | 846 static void nfsd41_cb_inflight_begin(struct nfs4_client *clp) in nfsd41_cb_inflight_begin() argument 848 atomic_inc(&clp->cl_cb_inflight); in nfsd41_cb_inflight_begin() 851 static void nfsd41_cb_inflight_end(struct nfs4_client *clp) in nfsd41_cb_inflight_end() argument 854 if (atomic_dec_and_test(&clp->cl_cb_inflight)) in nfsd41_cb_inflight_end() 855 wake_up_var(&clp->cl_cb_inflight); in nfsd41_cb_inflight_end() 858 static void nfsd41_cb_inflight_wait_complete(struct nfs4_client *clp) in nfsd41_cb_inflight_wait_complete() argument 860 wait_var_event(&clp->cl_cb_inflight, in nfsd41_cb_inflight_wait_complete() 861 !atomic_read(&clp->cl_cb_inflight)); in nfsd41_cb_inflight_wait_complete() 864 static const struct cred *get_backchannel_cred(struct nfs4_client *clp, struct rpc_clnt *client, struct nfsd4_session *ses) in get_backchannel_cred() argument 866 if (clp in get_backchannel_cred() 884 setup_callback_client(struct nfs4_client *clp, struct nfs4_cb_conn *conn, struct nfsd4_session *ses) setup_callback_client() argument 948 nfsd4_mark_cb_down(struct nfs4_client *clp, int reason) nfsd4_mark_cb_down() argument 956 nfsd4_mark_cb_fault(struct nfs4_client *clp, int reason) nfsd4_mark_cb_fault() argument 966 struct nfs4_client *clp = container_of(calldata, struct nfs4_client, cl_cb_null); nfsd4_cb_probe_done() local 979 struct nfs4_client *clp = container_of(calldata, struct nfs4_client, cl_cb_null); nfsd4_cb_probe_release() local 996 nfsd4_probe_callback(struct nfs4_client *clp) nfsd4_probe_callback() argument 1004 nfsd4_probe_callback_sync(struct nfs4_client *clp) nfsd4_probe_callback_sync() argument 1010 nfsd4_change_callback(struct nfs4_client *clp, struct nfs4_cb_conn *conn) nfsd4_change_callback() argument 1026 struct nfs4_client *clp = cb->cb_clp; nfsd41_cb_get_slot() local 1044 struct nfs4_client *clp = cb->cb_clp; nfsd41_cb_release_slot() local 1055 struct nfs4_client *clp = cb->cb_clp; nfsd41_destroy_cb() local 1070 struct nfs4_client *clp = cb->cb_clp; nfsd4_cb_prepare() local 1086 struct nfs4_client *clp = cb->cb_clp; nfsd4_cb_sequence_done() local 1171 struct nfs4_client *clp = cb->cb_clp; nfsd4_cb_done() local 1232 nfsd4_shutdown_callback(struct nfs4_client *clp) nfsd4_shutdown_callback() argument 1246 __nfsd4_find_backchannel(struct nfs4_client *clp) __nfsd4_find_backchannel() argument 1269 struct nfs4_client *clp = cb->cb_clp; nfsd4_process_cb_update() local 1321 struct nfs4_client *clp = cb->cb_clp; nfsd4_run_cb_work() local 1359 nfsd4_init_cb(struct nfsd4_callback *cb, struct nfs4_client *clp, const struct nfsd4_callback_ops *ops, enum nfsd4_cb_op op) nfsd4_init_cb() argument 1376 struct nfs4_client *clp = cb->cb_clp; nfsd4_run_cb() local [all...] |
H A D | nfs4recover.c | 151 legacy_recdir_name_error(struct nfs4_client *clp, int error) in legacy_recdir_name_error() argument 164 nfsd4_client_tracking_exit(clp->net); in legacy_recdir_name_error() 169 __nfsd4_create_reclaim_record_grace(struct nfs4_client *clp, in __nfsd4_create_reclaim_record_grace() argument 188 crp->cr_clp = clp; in __nfsd4_create_reclaim_record_grace() 192 nfsd4_create_clid_dir(struct nfs4_client *clp) in nfsd4_create_clid_dir() argument 198 struct nfsd_net *nn = net_generic(clp->net, nfsd_net_id); in nfsd4_create_clid_dir() 200 if (test_and_set_bit(NFSD4_CLIENT_STABLE, &clp->cl_flags)) in nfsd4_create_clid_dir() 205 status = nfs4_make_rec_clidname(dname, &clp->cl_name); in nfsd4_create_clid_dir() 207 return legacy_recdir_name_error(clp, status); in nfsd4_create_clid_dir() 243 __nfsd4_create_reclaim_record_grace(clp, dnam in nfsd4_create_clid_dir() 385 nfsd4_remove_clid_dir(struct nfs4_client *clp) nfsd4_remove_clid_dir() argument 675 nfsd4_check_legacy_client(struct nfs4_client *clp) nfsd4_check_legacy_client() argument 1096 nfsd4_cld_create(struct nfs4_client *clp) nfsd4_cld_create() argument 1133 nfsd4_cld_create_v2(struct nfs4_client *clp) nfsd4_cld_create_v2() argument 1199 nfsd4_cld_remove(struct nfs4_client *clp) nfsd4_cld_remove() argument 1241 nfsd4_cld_check_v0(struct nfs4_client *clp) nfsd4_cld_check_v0() argument 1281 nfsd4_cld_check(struct nfs4_client *clp) nfsd4_cld_check() argument 1324 nfsd4_cld_check_v2(struct nfs4_client *clp) nfsd4_cld_check_v2() argument 1746 nfsd4_cltrack_client_has_session(struct nfs4_client *clp) nfsd4_cltrack_client_has_session() argument 1874 nfsd4_cltrack_upcall_lock(struct nfs4_client *clp) nfsd4_cltrack_upcall_lock() argument 1881 nfsd4_cltrack_upcall_unlock(struct nfs4_client *clp) nfsd4_cltrack_upcall_unlock() argument 1890 nfsd4_umh_cltrack_create(struct nfs4_client *clp) nfsd4_umh_cltrack_create() argument 1931 nfsd4_umh_cltrack_remove(struct nfs4_client *clp) nfsd4_umh_cltrack_remove() argument 1954 nfsd4_umh_cltrack_check(struct nfs4_client *clp) nfsd4_umh_cltrack_check() argument 2080 nfsd4_client_record_create(struct nfs4_client *clp) nfsd4_client_record_create() argument 2089 nfsd4_client_record_remove(struct nfs4_client *clp) nfsd4_client_record_remove() argument 2098 nfsd4_client_record_check(struct nfs4_client *clp) nfsd4_client_record_check() argument [all...] |
H A D | nfs4state.c | 139 static bool is_client_expired(struct nfs4_client *clp) in is_client_expired() argument 141 return clp->cl_time == 0; in is_client_expired() 144 static __be32 get_client_locked(struct nfs4_client *clp) in get_client_locked() argument 146 struct nfsd_net *nn = net_generic(clp->net, nfsd_net_id); in get_client_locked() 150 if (is_client_expired(clp)) in get_client_locked() 152 atomic_inc(&clp->cl_rpc_users); in get_client_locked() 158 renew_client_locked(struct nfs4_client *clp) in renew_client_locked() argument 160 struct nfsd_net *nn = net_generic(clp->net, nfsd_net_id); in renew_client_locked() 162 if (is_client_expired(clp)) { in renew_client_locked() 166 clp in renew_client_locked() 175 put_client_renew_locked(struct nfs4_client *clp) put_client_renew_locked() argument 189 put_client_renew(struct nfs4_client *clp) put_client_renew() argument 217 struct nfs4_client *clp = ses->se_client; nfsd4_put_session_locked() local 229 struct nfs4_client *clp = ses->se_client; nfsd4_put_session() local 291 struct nfs4_client *clp = lo->lo_owner.so_client; remove_blocked_locks() local 371 find_openstateowner_str_locked(unsigned int hashval, struct nfsd4_open *open, struct nfs4_client *clp) find_openstateowner_str_locked() argument 389 find_openstateowner_str(unsigned int hashval, struct nfsd4_open *open, struct nfs4_client *clp) find_openstateowner_str() argument 652 alloc_clnt_odstate(struct nfs4_client *clp) alloc_clnt_odstate() argument 844 nfs4_alloc_open_stateid(struct nfs4_client *clp) nfs4_alloc_open_stateid() argument 939 alloc_init_deleg(struct nfs4_client *clp, struct nfs4_file *fp, struct svc_fh *current_fh, struct nfs4_clnt_odstate *odstate) alloc_init_deleg() argument 983 struct nfs4_client *clp = s->sc_client; nfs4_put_stid() local 1057 nfs4_delegation_exists(struct nfs4_client *clp, struct nfs4_file *fp) nfs4_delegation_exists() argument 1090 struct nfs4_client *clp = dp->dl_stid.sc_client; hash_delegation_locked() local 1143 struct nfs4_client *clp = dp->dl_stid.sc_client; revoke_delegation() local 1332 struct nfs4_client *clp = sop->so_client; nfs4_put_stateowner() local 1401 struct nfs4_client *clp = s->sc_client; put_ol_stateid_locked() local 1429 struct nfs4_client *clp = stp->st_stid.sc_client; release_lock_stateid() local 1441 struct nfs4_client *clp = lo->lo_owner.so_client; unhash_lockowner_locked() local 1510 struct nfs4_client *clp = oo->oo_owner.so_client; unhash_openowner_locked() local 1538 struct nfs4_client *clp = oo->oo_owner.so_client; release_openowner() local 1605 struct nfs4_client *clp = ses->se_client; gen_sessionid() local 1749 struct nfs4_client *clp = c->cn_session->se_client; nfsd4_conn_lost() local 1782 struct nfs4_client *clp = ses->se_client; nfsd4_hash_conn() local 1820 struct nfs4_client *clp = s->se_client; nfsd4_del_conns() local 1850 init_session(struct svc_rqst *rqstp, struct nfsd4_session *new, struct nfs4_client *clp, struct nfsd4_create_session *cses) init_session() argument 1931 struct nfs4_client *clp = ses->se_client; unhash_session() local 1964 struct nfs4_client *clp; alloc_client() local 2007 struct nfs4_client *clp = container_of(c, struct nfs4_client, cl_nfsdfs); __free_client() local 2018 drop_client(struct nfs4_client *clp) drop_client() argument 2024 free_client(struct nfs4_client *clp) free_client() argument 2045 unhash_client_locked(struct nfs4_client *clp) unhash_client_locked() argument 2070 unhash_client(struct nfs4_client *clp) unhash_client() argument 2079 mark_client_expired_locked(struct nfs4_client *clp) mark_client_expired_locked() argument 2088 __destroy_client(struct nfs4_client *clp) __destroy_client() argument 2138 destroy_client(struct nfs4_client *clp) destroy_client() argument 2144 inc_reclaim_complete(struct nfs4_client *clp) inc_reclaim_complete() argument 2160 expire_client(struct nfs4_client *clp) expire_client() argument 2297 gen_confirm(struct nfs4_client *clp, struct nfsd_net *nn) gen_confirm() argument 2310 gen_clid(struct nfs4_client *clp, struct nfsd_net *nn) gen_clid() argument 2364 struct nfs4_client *clp; client_info_show() local 2405 struct nfs4_client *clp = s->private; global() variable 2417 struct nfs4_client *clp = s->private; states_next() local 2431 struct nfs4_client *clp = s->private; global() variable 2628 struct nfs4_client *clp; client_states_open() local 2646 struct nfs4_client *clp = m->private; client_opens_release() local 2666 force_expire_client(struct nfs4_client *clp) force_expire_client() argument 2692 struct nfs4_client *clp; client_ctl_write() local 2722 struct nfs4_client *clp; create_client() local 2760 struct nfs4_client *clp; add_clp_to_name_tree() local 2781 struct nfs4_client *clp; find_clp_in_name_tree() local 2797 add_to_unconfirmed(struct nfs4_client *clp) add_to_unconfirmed() argument 2812 move_to_confirmed(struct nfs4_client *clp) move_to_confirmed() argument 2830 struct nfs4_client *clp; find_client_in_id_table() local 2862 clp_used_exchangeid(struct nfs4_client *clp) clp_used_exchangeid() argument 2882 gen_callback(struct nfs4_client *clp, struct nfsd4_setclientid *se, struct svc_rqst *rqstp) gen_callback() argument 3039 client_has_openowners(struct nfs4_client *clp) client_has_openowners() argument 3050 client_has_state(struct nfs4_client *clp) client_has_state() argument 3061 copy_impl_id(struct nfs4_client *clp, struct nfsd4_exchange_id *exid) copy_impl_id() argument 3539 struct nfs4_client *clp = session->se_client; nfsd4_match_existing_connection() local 3664 struct nfs4_client *clp = ses->se_client; nfsd4_sequence_check_conn() local 3745 struct nfs4_client *clp; nfsd4_sequence() local 3884 struct nfs4_client *clp = NULL; nfsd4_destroy_clientid() local 4210 alloc_stateowner(struct kmem_cache *slab, struct xdr_netobj *owner, struct nfs4_client *clp) alloc_stateowner() argument 4231 hash_openowner(struct nfs4_openowner *oo, struct nfs4_client *clp, unsigned int strhashval) hash_openowner() argument 4331 struct nfs4_client *clp = cstate->clp; alloc_init_open_stateowner() local 4639 struct nfs4_client *clp; nfsd_breaker_owns_lease() local 4720 struct nfs4_client *clp = NULL; nfsd4_process_open1() local 4965 nfsd4_cb_channel_good(struct nfs4_client *clp) nfsd4_cb_channel_good() argument 4996 nfs4_set_delegation(struct nfs4_client *clp, struct svc_fh *fh, struct nfs4_file *fp, struct nfs4_clnt_odstate *odstate) nfs4_set_delegation() argument 5108 struct nfs4_client *clp = stp->st_stid.sc_client; nfs4_open_delegation() local 5320 struct nfs4_client *clp; nfsd4_renew() local 5399 struct nfs4_client *clp; nfs4_laundromat() local 5804 manage_cpntf_state(struct nfsd_net *nn, stateid_t *st, struct nfs4_client *clp, struct nfs4_cpntf_state **cps) manage_cpntf_state() argument 6222 struct nfs4_client *clp = s->st_stid.sc_client; nfsd4_close_open_stateid() local 6440 find_lockowner_str_locked(struct nfs4_client *clp, struct xdr_netobj *owner) find_lockowner_str_locked() argument 6458 find_lockowner_str(struct nfs4_client *clp, struct xdr_netobj *owner) find_lockowner_str() argument 6493 alloc_init_lock_stateowner(unsigned int strhashval, struct nfs4_client *clp, struct nfs4_ol_stateid *open_stp, struct nfsd4_lock *lock) alloc_init_lock_stateowner() argument 6544 struct nfs4_client *clp = lo->lo_owner.so_client; init_lock_stateid() local 6594 struct nfs4_client *clp = oo->oo_owner.so_client; find_or_create_lock_stateid() local 7124 struct nfs4_client *clp; nfsd4_release_lockowner() local 7364 struct nfs4_client *clp = NULL; nfs4_state_destroy_net() local [all...] |
H A D | trace.h | 372 TP_PROTO(const struct nfs4_client *clp), 373 TP_ARGS(clp), 379 __dynamic_array(unsigned char, name, clp->cl_name.len) 382 __entry->cl_boot = clp->cl_clientid.cl_boot; 383 __entry->cl_id = clp->cl_clientid.cl_id; 384 memcpy(__entry->addr, &clp->cl_addr, 386 __entry->namelen = clp->cl_name.len; 387 memcpy(__get_dynamic_array(name), clp->cl_name.data, 388 clp->cl_name.len); 600 const struct nfs4_client *clp, [all...] |
/kernel/linux/linux-6.6/fs/nfsd/ |
H A D | nfs4callback.c | 917 static void nfsd41_cb_inflight_begin(struct nfs4_client *clp) in nfsd41_cb_inflight_begin() argument 919 atomic_inc(&clp->cl_cb_inflight); in nfsd41_cb_inflight_begin() 922 static void nfsd41_cb_inflight_end(struct nfs4_client *clp) in nfsd41_cb_inflight_end() argument 925 if (atomic_dec_and_test(&clp->cl_cb_inflight)) in nfsd41_cb_inflight_end() 926 wake_up_var(&clp->cl_cb_inflight); in nfsd41_cb_inflight_end() 929 static void nfsd41_cb_inflight_wait_complete(struct nfs4_client *clp) in nfsd41_cb_inflight_wait_complete() argument 931 wait_var_event(&clp->cl_cb_inflight, in nfsd41_cb_inflight_wait_complete() 932 !atomic_read(&clp->cl_cb_inflight)); in nfsd41_cb_inflight_wait_complete() 935 static const struct cred *get_backchannel_cred(struct nfs4_client *clp, struct rpc_clnt *client, struct nfsd4_session *ses) in get_backchannel_cred() argument 937 if (clp in get_backchannel_cred() 955 setup_callback_client(struct nfs4_client *clp, struct nfs4_cb_conn *conn, struct nfsd4_session *ses) setup_callback_client() argument 1022 nfsd4_mark_cb_state(struct nfs4_client *clp, int newstate) nfsd4_mark_cb_state() argument 1030 nfsd4_mark_cb_down(struct nfs4_client *clp, int reason) nfsd4_mark_cb_down() argument 1037 nfsd4_mark_cb_fault(struct nfs4_client *clp, int reason) nfsd4_mark_cb_fault() argument 1046 struct nfs4_client *clp = container_of(calldata, struct nfs4_client, cl_cb_null); nfsd4_cb_probe_done() local 1056 struct nfs4_client *clp = container_of(calldata, struct nfs4_client, cl_cb_null); nfsd4_cb_probe_release() local 1073 nfsd4_probe_callback(struct nfs4_client *clp) nfsd4_probe_callback() argument 1081 nfsd4_probe_callback_sync(struct nfs4_client *clp) nfsd4_probe_callback_sync() argument 1087 nfsd4_change_callback(struct nfs4_client *clp, struct nfs4_cb_conn *conn) nfsd4_change_callback() argument 1102 struct nfs4_client *clp = cb->cb_clp; nfsd41_cb_get_slot() local 1120 struct nfs4_client *clp = cb->cb_clp; nfsd41_cb_release_slot() local 1131 struct nfs4_client *clp = cb->cb_clp; nfsd41_destroy_cb() local 1146 struct nfs4_client *clp = cb->cb_clp; nfsd4_cb_prepare() local 1162 struct nfs4_client *clp = cb->cb_clp; nfsd4_cb_sequence_done() local 1247 struct nfs4_client *clp = cb->cb_clp; nfsd4_cb_done() local 1306 nfsd4_shutdown_callback(struct nfs4_client *clp) nfsd4_shutdown_callback() argument 1323 __nfsd4_find_backchannel(struct nfs4_client *clp) __nfsd4_find_backchannel() argument 1346 struct nfs4_client *clp = cb->cb_clp; nfsd4_process_cb_update() local 1397 struct nfs4_client *clp = cb->cb_clp; nfsd4_run_cb_work() local 1433 nfsd4_init_cb(struct nfsd4_callback *cb, struct nfs4_client *clp, const struct nfsd4_callback_ops *ops, enum nfsd4_cb_op op) nfsd4_init_cb() argument 1457 struct nfs4_client *clp = cb->cb_clp; nfsd4_run_cb() local [all...] |
H A D | nfs4state.c | 161 static bool is_client_expired(struct nfs4_client *clp) in is_client_expired() argument 163 return clp->cl_time == 0; in is_client_expired() 167 struct nfs4_client *clp) in nfsd4_dec_courtesy_client_count() 169 if (clp->cl_state != NFSD4_ACTIVE) in nfsd4_dec_courtesy_client_count() 173 static __be32 get_client_locked(struct nfs4_client *clp) in get_client_locked() argument 175 struct nfsd_net *nn = net_generic(clp->net, nfsd_net_id); in get_client_locked() 179 if (is_client_expired(clp)) in get_client_locked() 181 atomic_inc(&clp->cl_rpc_users); in get_client_locked() 182 nfsd4_dec_courtesy_client_count(nn, clp); in get_client_locked() 183 clp in get_client_locked() 166 nfsd4_dec_courtesy_client_count(struct nfsd_net *nn, struct nfs4_client *clp) nfsd4_dec_courtesy_client_count() argument 189 renew_client_locked(struct nfs4_client *clp) renew_client_locked() argument 208 put_client_renew_locked(struct nfs4_client *clp) put_client_renew_locked() argument 222 put_client_renew(struct nfs4_client *clp) put_client_renew() argument 250 struct nfs4_client *clp = ses->se_client; nfsd4_put_session_locked() local 262 struct nfs4_client *clp = ses->se_client; nfsd4_put_session() local 335 struct nfs4_client *clp = lo->lo_owner.so_client; remove_blocked_locks() local 542 find_openstateowner_str_locked(unsigned int hashval, struct nfsd4_open *open, struct nfs4_client *clp) find_openstateowner_str_locked() argument 560 find_openstateowner_str(unsigned int hashval, struct nfsd4_open *open, struct nfs4_client *clp) find_openstateowner_str() argument 754 struct nfs4_client *clp; nfs4_resolve_deny_conflicts_locked() local 865 alloc_clnt_odstate(struct nfs4_client *clp) alloc_clnt_odstate() argument 1058 nfs4_alloc_open_stateid(struct nfs4_client *clp) nfs4_alloc_open_stateid() argument 1158 alloc_init_deleg(struct nfs4_client *clp, struct nfs4_file *fp, struct nfs4_clnt_odstate *odstate, u32 dl_type) alloc_init_deleg() argument 1202 struct nfs4_client *clp = s->sc_client; nfs4_put_stid() local 1276 nfs4_delegation_exists(struct nfs4_client *clp, struct nfs4_file *fp) nfs4_delegation_exists() argument 1309 struct nfs4_client *clp = dp->dl_stid.sc_client; hash_delegation_locked() local 1362 struct nfs4_client *clp = dp->dl_stid.sc_client; revoke_delegation() local 1451 struct nfs4_client *clp = sop->so_client; nfs4_put_stateowner() local 1520 struct nfs4_client *clp = s->sc_client; put_ol_stateid_locked() local 1548 struct nfs4_client *clp = stp->st_stid.sc_client; release_lock_stateid() local 1560 struct nfs4_client *clp = lo->lo_owner.so_client; unhash_lockowner_locked() local 1629 struct nfs4_client *clp = oo->oo_owner.so_client; unhash_openowner_locked() local 1657 struct nfs4_client *clp = oo->oo_owner.so_client; release_openowner() local 1724 struct nfs4_client *clp = ses->se_client; gen_sessionid() local 1867 struct nfs4_client *clp = c->cn_session->se_client; nfsd4_conn_lost() local 1902 struct nfs4_client *clp = ses->se_client; nfsd4_hash_conn() local 1940 struct nfs4_client *clp = s->se_client; nfsd4_del_conns() local 1970 init_session(struct svc_rqst *rqstp, struct nfsd4_session *new, struct nfs4_client *clp, struct nfsd4_create_session *cses) init_session() argument 2051 struct nfs4_client *clp = ses->se_client; unhash_session() local 2085 struct nfs4_client *clp; alloc_client() local 2135 struct nfs4_client *clp = container_of(c, struct nfs4_client, cl_nfsdfs); __free_client() local 2147 drop_client(struct nfs4_client *clp) drop_client() argument 2153 free_client(struct nfs4_client *clp) free_client() argument 2174 unhash_client_locked(struct nfs4_client *clp) unhash_client_locked() argument 2199 unhash_client(struct nfs4_client *clp) unhash_client() argument 2208 mark_client_expired_locked(struct nfs4_client *clp) mark_client_expired_locked() argument 2217 __destroy_client(struct nfs4_client *clp) __destroy_client() argument 2270 destroy_client(struct nfs4_client *clp) destroy_client() argument 2276 inc_reclaim_complete(struct nfs4_client *clp) inc_reclaim_complete() argument 2292 expire_client(struct nfs4_client *clp) expire_client() argument 2429 gen_confirm(struct nfs4_client *clp, struct nfsd_net *nn) gen_confirm() argument 2442 gen_clid(struct nfs4_client *clp, struct nfsd_net *nn) gen_clid() argument 2511 struct nfs4_client *clp; client_info_show() local 2555 struct nfs4_client *clp = s->private; global() variable 2567 struct nfs4_client *clp = s->private; states_next() local 2581 struct nfs4_client *clp = s->private; global() variable 2778 struct nfs4_client *clp; client_states_open() local 2796 struct nfs4_client *clp = m->private; client_opens_release() local 2816 force_expire_client(struct nfs4_client *clp) force_expire_client() argument 2844 struct nfs4_client *clp; client_ctl_write() local 2888 struct nfs4_client *clp = cb->cb_clp; nfsd4_cb_recall_any_release() local 2905 struct nfs4_client *clp; create_client() local 2954 struct nfs4_client *clp; add_clp_to_name_tree() local 2975 struct nfs4_client *clp; find_clp_in_name_tree() local 2991 add_to_unconfirmed(struct nfs4_client *clp) add_to_unconfirmed() argument 3006 move_to_confirmed(struct nfs4_client *clp) move_to_confirmed() argument 3024 struct nfs4_client *clp; find_client_in_id_table() local 3056 clp_used_exchangeid(struct nfs4_client *clp) clp_used_exchangeid() argument 3076 gen_callback(struct nfs4_client *clp, struct nfsd4_setclientid *se, struct svc_rqst *rqstp) gen_callback() argument 3233 client_has_openowners(struct nfs4_client *clp) client_has_openowners() argument 3244 client_has_state(struct nfs4_client *clp) client_has_state() argument 3255 copy_impl_id(struct nfs4_client *clp, struct nfsd4_exchange_id *exid) copy_impl_id() argument 3747 struct nfs4_client *clp = session->se_client; nfsd4_match_existing_connection() local 3872 struct nfs4_client *clp = ses->se_client; nfsd4_sequence_check_conn() local 3953 struct nfs4_client *clp; nfsd4_sequence() local 4092 struct nfs4_client *clp = NULL; nfsd4_destroy_clientid() local 4135 struct nfs4_client *clp = cstate->clp; nfsd4_reclaim_complete() local 4472 alloc_stateowner(struct kmem_cache *slab, struct xdr_netobj *owner, struct nfs4_client *clp) alloc_stateowner() argument 4493 hash_openowner(struct nfs4_openowner *oo, struct nfs4_client *clp, unsigned int strhashval) hash_openowner() argument 4593 struct nfs4_client *clp = cstate->clp; alloc_init_open_stateowner() local 4928 struct nfs4_client *clp = dp->dl_stid.sc_client; nfsd_break_deleg_cb() local 4964 struct nfs4_client *clp; nfsd_breaker_owns_lease() local 4981 struct nfs4_client *clp = dp->dl_stid.sc_client; nfsd_change_deleg_cb() local 5047 struct nfs4_client *clp = NULL; nfsd4_process_open1() local 5319 nfsd4_cb_channel_good(struct nfs4_client *clp) nfsd4_cb_channel_good() argument 5349 nfsd4_check_conflicting_opens(struct nfs4_client *clp, struct nfs4_file *fp) nfsd4_check_conflicting_opens() argument 5458 struct nfs4_client *clp = stp->st_stid.sc_client; nfs4_set_delegation() local 5632 struct nfs4_client *clp = stp->st_stid.sc_client; nfs4_open_delegation() local 5856 struct nfs4_client *clp; nfsd4_renew() local 6028 nfs4_anylock_blockers(struct nfs4_client *clp) nfs4_anylock_blockers() argument 6059 struct nfs4_client *clp; nfs4_get_client_reaplist() local 6096 struct nfs4_client *clp; nfs4_get_courtesy_client_reaplist() local 6120 struct nfs4_client *clp; nfs4_process_client_reaplist() local 6258 struct nfs4_client *clp; deleg_reaper() local 6549 manage_cpntf_state(struct nfsd_net *nn, stateid_t *st, struct nfs4_client *clp, struct nfs4_cpntf_state **cps) manage_cpntf_state() argument 6994 struct nfs4_client *clp = s->st_stid.sc_client; nfsd4_close_open_stateid() local 7151 struct nfs4_client *clp = lo->lo_owner.so_client; nfsd4_lm_lock_expirable() local 7233 find_lockowner_str_locked(struct nfs4_client *clp, struct xdr_netobj *owner) find_lockowner_str_locked() argument 7251 find_lockowner_str(struct nfs4_client *clp, struct xdr_netobj *owner) find_lockowner_str() argument 7286 alloc_init_lock_stateowner(unsigned int strhashval, struct nfs4_client *clp, struct nfs4_ol_stateid *open_stp, struct nfsd4_lock *lock) alloc_init_lock_stateowner() argument 7337 struct nfs4_client *clp = lo->lo_owner.so_client; init_lock_stateid() local 7387 struct nfs4_client *clp = oo->oo_owner.so_client; find_or_create_lock_stateid() local 7947 struct nfs4_client *clp; nfsd4_release_lockowner() local 8076 nfs4_check_open_reclaim(struct nfs4_client *clp) nfs4_check_open_reclaim() argument 8178 struct nfs4_client *clp = NULL; nfs4_state_destroy_net() local [all...] |
H A D | nfs4recover.c | 151 legacy_recdir_name_error(struct nfs4_client *clp, int error) in legacy_recdir_name_error() argument 164 nfsd4_client_tracking_exit(clp->net); in legacy_recdir_name_error() 169 __nfsd4_create_reclaim_record_grace(struct nfs4_client *clp, in __nfsd4_create_reclaim_record_grace() argument 188 crp->cr_clp = clp; in __nfsd4_create_reclaim_record_grace() 192 nfsd4_create_clid_dir(struct nfs4_client *clp) in nfsd4_create_clid_dir() argument 198 struct nfsd_net *nn = net_generic(clp->net, nfsd_net_id); in nfsd4_create_clid_dir() 200 if (test_and_set_bit(NFSD4_CLIENT_STABLE, &clp->cl_flags)) in nfsd4_create_clid_dir() 205 status = nfs4_make_rec_clidname(dname, &clp->cl_name); in nfsd4_create_clid_dir() 207 return legacy_recdir_name_error(clp, status); in nfsd4_create_clid_dir() 243 __nfsd4_create_reclaim_record_grace(clp, dnam in nfsd4_create_clid_dir() 385 nfsd4_remove_clid_dir(struct nfs4_client *clp) nfsd4_remove_clid_dir() argument 675 nfsd4_check_legacy_client(struct nfs4_client *clp) nfsd4_check_legacy_client() argument 1096 nfsd4_cld_create(struct nfs4_client *clp) nfsd4_cld_create() argument 1133 nfsd4_cld_create_v2(struct nfs4_client *clp) nfsd4_cld_create_v2() argument 1199 nfsd4_cld_remove(struct nfs4_client *clp) nfsd4_cld_remove() argument 1241 nfsd4_cld_check_v0(struct nfs4_client *clp) nfsd4_cld_check_v0() argument 1281 nfsd4_cld_check(struct nfs4_client *clp) nfsd4_cld_check() argument 1324 nfsd4_cld_check_v2(struct nfs4_client *clp) nfsd4_cld_check_v2() argument 1746 nfsd4_cltrack_client_has_session(struct nfs4_client *clp) nfsd4_cltrack_client_has_session() argument 1874 nfsd4_cltrack_upcall_lock(struct nfs4_client *clp) nfsd4_cltrack_upcall_lock() argument 1881 nfsd4_cltrack_upcall_unlock(struct nfs4_client *clp) nfsd4_cltrack_upcall_unlock() argument 1890 nfsd4_umh_cltrack_create(struct nfs4_client *clp) nfsd4_umh_cltrack_create() argument 1931 nfsd4_umh_cltrack_remove(struct nfs4_client *clp) nfsd4_umh_cltrack_remove() argument 1954 nfsd4_umh_cltrack_check(struct nfs4_client *clp) nfsd4_umh_cltrack_check() argument 2080 nfsd4_client_record_create(struct nfs4_client *clp) nfsd4_client_record_create() argument 2089 nfsd4_client_record_remove(struct nfs4_client *clp) nfsd4_client_record_remove() argument 2098 nfsd4_client_record_check(struct nfs4_client *clp) nfsd4_client_record_check() argument [all...] |