| /linux/fs/nfs/ |
| H A D | nfs4state.c | 71 static void nfs4_state_start_reclaim_reboot(struct nfs_client *clp); 95 static int nfs4_setup_state_renewal(struct nfs_client *clp) in nfs4_setup_state_renewal() argument 100 if (!test_bit(NFS_CS_CHECK_LEASE_TIME, &clp->cl_res_state)) { in nfs4_setup_state_renewal() 101 nfs4_schedule_state_renewal(clp); in nfs4_setup_state_renewal() 105 status = nfs4_proc_get_lease_time(clp, &fsinfo); in nfs4_setup_state_renewal() 107 nfs4_set_lease_period(clp, fsinfo.lease_time); in nfs4_setup_state_renewal() 108 nfs4_schedule_state_renewal(clp); in nfs4_setup_state_renewal() 114 int nfs4_init_clientid(struct nfs_client *clp, const struct cred *cred) in nfs4_init_clientid() argument 117 .clientid = clp->cl_clientid, in nfs4_init_clientid() 118 .confirm = clp in nfs4_init_clientid() 146 nfs4_get_machine_cred(struct nfs_client * clp) nfs4_get_machine_cred() argument 151 nfs4_root_machine_cred(struct nfs_client * clp) nfs4_root_machine_cred() argument 185 nfs4_get_renew_cred(struct nfs_client * clp) nfs4_get_renew_cred() argument 218 nfs4_end_drain_session(struct nfs_client * clp) nfs4_end_drain_session() argument 246 nfs4_begin_drain_session(struct nfs_client * clp) nfs4_begin_drain_session() argument 262 nfs41_finish_session_reset(struct nfs_client * clp) nfs41_finish_session_reset() argument 271 nfs41_init_clientid(struct nfs_client * clp,const struct cred * cred) nfs41_init_clientid() argument 306 nfs41_discover_server_trunking(struct nfs_client * clp,struct nfs_client ** result,const struct cred * cred) nfs41_discover_server_trunking() argument 346 nfs4_get_clid_cred(struct nfs_client * clp) nfs4_get_clid_cred() argument 510 struct nfs_client *clp = server->nfs_client; nfs4_gc_state_owners() local 545 struct nfs_client *clp = server->nfs_client; nfs4_get_state_owner() local 583 struct nfs_client *clp = server->nfs_client; nfs4_put_state_owner() local 608 struct nfs_client *clp = server->nfs_client; nfs4_purge_state_owners() local 914 struct nfs_client *clp = server->nfs_client; nfs4_put_lock_state() local 1159 nfs4_clear_state_manager_bit(struct nfs_client * clp) nfs4_clear_state_manager_bit() argument 1168 nfs4_schedule_state_manager(struct nfs_client * clp) nfs4_schedule_state_manager() argument 1219 nfs4_schedule_lease_recovery(struct nfs_client * clp) nfs4_schedule_lease_recovery() argument 1241 struct nfs_client *clp = server->nfs_client; nfs4_schedule_migration_recovery() local 1273 nfs4_schedule_lease_moved_recovery(struct nfs_client * clp) nfs4_schedule_lease_moved_recovery() argument 1283 nfs4_wait_clnt_recover(struct nfs_client * clp) nfs4_wait_clnt_recover() argument 1302 nfs4_client_recover_expired_lease(struct nfs_client * clp) nfs4_client_recover_expired_lease() argument 1320 nfs4_state_mark_reclaim_reboot(struct nfs_client * clp,struct nfs4_state * state) nfs4_state_mark_reclaim_reboot() argument 1336 nfs4_state_mark_reclaim_nograce(struct nfs_client * clp,struct nfs4_state * state) nfs4_state_mark_reclaim_nograce() argument 1349 struct nfs_client *clp = server->nfs_client; nfs4_schedule_stateid_recovery() local 1394 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client; nfs_inode_find_state_and_recover() local 1709 nfs4_reset_seqids(struct nfs_server * server,int (* mark_reclaim)(struct nfs_client * clp,struct nfs4_state * state)) nfs4_reset_seqids() argument 1711 struct nfs_client *clp = server->nfs_client; nfs4_reset_seqids() local 1732 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 1733 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 1743 nfs4_state_start_reclaim_reboot(struct nfs_client * clp) nfs4_state_start_reclaim_reboot() argument 1751 nfs4_reclaim_complete(struct nfs_client * clp,const struct nfs4_state_recovery_ops * ops,const struct cred * cred) nfs4_reclaim_complete() argument 1763 struct nfs_client *clp = server->nfs_client; nfs4_clear_reclaim_server() local 1785 nfs4_state_clear_reclaim_reboot(struct nfs_client * clp) nfs4_state_clear_reclaim_reboot() argument 1801 nfs4_state_end_reclaim_reboot(struct nfs_client * clp) nfs4_state_end_reclaim_reboot() argument 1818 nfs4_state_start_reclaim_nograce(struct nfs_client * clp) nfs4_state_start_reclaim_nograce() argument 1824 nfs4_recovery_handle_error(struct nfs_client * clp,int error) nfs4_recovery_handle_error() argument 1867 nfs4_do_reclaim(struct nfs_client * clp,const struct nfs4_state_recovery_ops * ops) nfs4_do_reclaim() argument 1923 nfs4_check_lease(struct nfs_client * clp) nfs4_check_lease() argument 1953 nfs4_handle_reclaim_lease_error(struct nfs_client * clp,int status) nfs4_handle_reclaim_lease_error() argument 2008 nfs4_establish_lease(struct nfs_client * clp) nfs4_establish_lease() argument 2032 nfs4_reclaim_lease(struct nfs_client * clp) nfs4_reclaim_lease() argument 2048 nfs4_purge_lease(struct nfs_client * clp) nfs4_purge_lease() argument 2070 struct nfs_client *clp = server->nfs_client; nfs4_try_migration() local 2144 nfs4_handle_migration(struct nfs_client * clp) nfs4_handle_migration() argument 2190 nfs4_handle_lease_moved(struct nfs_client * clp) nfs4_handle_lease_moved() argument 2245 nfs4_discover_server_trunking(struct nfs_client * clp,struct nfs_client ** result) nfs4_discover_server_trunking() argument 2337 struct nfs_client *clp = session->clp; nfs4_schedule_session_recovery() local 2350 nfs41_notify_server(struct nfs_client * clp) nfs41_notify_server() argument 2357 nfs4_reset_all_state(struct nfs_client * clp) nfs4_reset_all_state() argument 2369 nfs41_handle_server_reboot(struct nfs_client * clp) nfs41_handle_server_reboot() argument 2379 nfs41_handle_all_state_revoked(struct nfs_client * clp) nfs41_handle_all_state_revoked() argument 2385 nfs41_handle_some_state_revoked(struct nfs_client * clp) nfs41_handle_some_state_revoked() argument 2393 nfs41_handle_recallable_state_revoked(struct nfs_client * clp) nfs41_handle_recallable_state_revoked() argument 2402 nfs41_handle_backchannel_fault(struct nfs_client * clp) nfs41_handle_backchannel_fault() argument 2411 nfs41_handle_cb_path_down(struct nfs_client * clp) nfs41_handle_cb_path_down() argument 2418 nfs41_handle_sequence_flag_errors(struct nfs_client * clp,u32 flags,bool recovery) nfs41_handle_sequence_flag_errors() argument 2454 nfs4_reset_session(struct nfs_client * clp) nfs4_reset_session() argument 2498 nfs4_bind_conn_to_session(struct nfs_client * clp) nfs4_bind_conn_to_session() argument 2527 nfs4_layoutreturn_any_run(struct nfs_client * clp) nfs4_layoutreturn_any_run() argument 2542 nfs4_state_manager(struct nfs_client * clp) nfs4_state_manager() argument 2707 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_obj(*clp)) == 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 (!get_nfs_version(clp->cl_nfs_mod)) 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() 214 nfs_cb_idr_remove_locked(struct nfs_client * clp) nfs_cb_idr_remove_locked() argument 224 nfs_cb_idr_remove(struct nfs_client * clp) nfs_cb_idr_remove() argument 244 nfs_cb_idr_remove_locked(struct nfs_client * clp) nfs_cb_idr_remove_locked() argument 257 nfs_free_client(struct nfs_client * clp) nfs_free_client() argument 276 nfs_put_client(struct nfs_client * clp) nfs_put_client() argument 303 struct nfs_client *clp; nfs_match_client() local 373 nfs_client_init_is_complete(const struct nfs_client * clp) nfs_client_init_is_complete() argument 385 nfs_client_init_status(const struct nfs_client * clp) nfs_client_init_status() argument 396 nfs_wait_client_init_complete(const struct nfs_client * clp) nfs_wait_client_init_complete() argument 408 nfs_found_client(const struct nfs_client_initdata * cl_init,struct nfs_client * clp) nfs_found_client() argument 434 struct nfs_client *clp, *new = NULL; nfs_get_client() local 478 nfs_mark_client_ready(struct nfs_client * clp,int state) nfs_mark_client_ready() argument 532 nfs_create_rpc_client(struct nfs_client * clp,const struct nfs_client_initdata * cl_init,rpc_authflavor_t flavor) nfs_create_rpc_client() argument 604 struct nfs_client *clp = server->nfs_client; nfs_start_lockd() local 650 struct nfs_client *clp = server->nfs_client; nfs_init_server_rpcclient() local 682 nfs_init_client(struct nfs_client * clp,const struct nfs_client_initdata * cl_init) nfs_init_client() argument 764 struct nfs_client *clp; nfs_init_server() local 857 struct nfs_client *clp = server->nfs_client; nfs_server_set_fsinfo() local 931 struct nfs_client *clp = server->nfs_client; nfs_probe_fsinfo() local 1033 struct nfs_client *clp = server->nfs_client; nfs_server_insert_lists() local 1047 struct nfs_client *clp = server->nfs_client; nfs_server_remove_lists() local 1386 struct nfs_client *clp; nfs_server_list_show() local 1454 struct nfs_client *clp; nfs_volume_list_show() local [all...] |
| H A D | nfs4client.c | 30 static int nfs_get_cb_ident_idr(struct nfs_client *clp, int minorversion) in nfs_get_cb_ident_idr() argument 33 struct nfs_net *nn = net_generic(clp->cl_net, nfs_net_id); in nfs_get_cb_ident_idr() 35 if (clp->rpc_ops->version != 4 || minorversion != 0) in nfs_get_cb_ident_idr() 39 ret = idr_alloc(&nn->cb_ident_idr, clp, 1, 0, GFP_NOWAIT); in nfs_get_cb_ident_idr() 41 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 194 struct nfs_client *clp = nfs_alloc_client(cl_init); nfs4_alloc_client() local 272 nfs4_destroy_callback(struct nfs_client * clp) nfs4_destroy_callback() argument 283 nfs4_shutdown_client(struct nfs_client * clp) nfs4_shutdown_client() argument 299 nfs4_free_client(struct nfs_client * clp) nfs4_free_client() argument 308 nfs4_init_callback(struct nfs_client * clp) nfs4_init_callback() argument 338 nfs41_init_client(struct nfs_client * clp) nfs41_init_client() argument 366 nfs4_init_client_minor_version(struct nfs_client * clp) nfs4_init_client_minor_version() argument 376 nfs4_add_trunk(struct nfs_client * clp,struct nfs_client * old) nfs4_add_trunk() argument 413 nfs4_init_client(struct nfs_client * clp,const struct nfs_client_initdata * cl_init) nfs4_init_client() argument 545 nfs4_detect_session_trunking(struct nfs_client * clp,struct nfs41_exchange_id_res * res,struct rpc_xprt * xprt) nfs4_detect_session_trunking() argument 652 struct nfs_client *clp; nfs4_find_client_ident() local 665 nfs4_cb_match_client(const struct sockaddr * addr,struct nfs_client * clp,u32 minorversion) nfs4_cb_match_client() argument 696 struct nfs_client *clp; nfs4_find_client_sessionid() local 726 struct nfs_client *clp; nfs4_set_client() local 1155 struct nfs_client *clp = server->nfs_client; nfs4_update_server() local [all...] |
| H A D | nfs40client.c | 49 void nfs40_shutdown_client(struct nfs_client *clp) in nfs40_shutdown_client() argument 51 if (clp->cl_slot_tbl) { in nfs40_shutdown_client() 52 nfs4_shutdown_slot_table(clp->cl_slot_tbl); in nfs40_shutdown_client() 53 kfree(clp->cl_slot_tbl); in nfs40_shutdown_client() 63 int nfs40_init_client(struct nfs_client *clp) in nfs40_init_client() argument 80 clp->cl_slot_tbl = tbl; in nfs40_init_client() 92 void nfs40_handle_cb_pathdown(struct nfs_client *clp) in nfs40_handle_cb_pathdown() argument 94 set_bit(NFS4CLNT_LEASE_EXPIRED, &clp->cl_state); in nfs40_handle_cb_pathdown() 95 nfs_expire_all_delegations(clp); in nfs40_handle_cb_pathdown() 97 clp->cl_hostname); in nfs40_handle_cb_pathdown() [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() 80 trace_nfs4_cb_getattr(cps->clp, &args->fh, inode, -ntohl(res->status)); in nfs4_callback_getattr() 95 if (!cps->clp) /* Always set for v4.0. Set in cb_sequence for v4.1 */ in nfs4_callback_recall() 99 rpc_peeraddr2str(cps->clp->cl_rpcclient, RPC_DISPLAY_ADDR)); in nfs4_callback_recall() 102 inode = nfs_delegation_find_inode(cps->clp, &args->fh); in nfs4_callback_recall() 106 trace_nfs4_cb_recall(cps->clp, &args->fh, NULL, in nfs4_callback_recall() 121 trace_nfs4_cb_recall(cps->clp, in nfs4_callback_recall() 134 nfs_layout_find_inode_by_stateid(struct nfs_client * clp,const nfs4_stateid * stateid) nfs_layout_find_inode_by_stateid() argument 170 nfs_layout_find_inode_by_fh(struct nfs_client * clp,const struct nfs_fh * fh) nfs_layout_find_inode_by_fh() argument 201 nfs_layout_find_inode(struct nfs_client * clp,const struct nfs_fh * fh,const nfs4_stateid * stateid) nfs_layout_find_inode() argument 252 initiate_file_draining(struct nfs_client * clp,struct cb_layoutrecallargs * args,struct cb_process_state * cps) initiate_file_draining() argument 325 initiate_bulk_draining(struct nfs_client * clp,struct cb_layoutrecallargs * args) initiate_bulk_draining() argument 340 do_callback_layoutrecall(struct nfs_client * clp,struct cb_layoutrecallargs * args,struct cb_process_state * cps) do_callback_layoutrecall() argument 360 pnfs_recall_all_layouts(struct nfs_client * clp,struct cb_process_state * cps) pnfs_recall_all_layouts() argument 459 referring_call_exists(struct nfs_client * clp,uint32_t nrclists,struct referring_call_list * rclists,spinlock_t * lock) referring_call_exists() argument 511 struct nfs_client *clp; nfs4_callback_sequence() local [all...] |
| H A D | nfs40proc.c | 73 struct nfs_client *clp = data->client; in nfs4_renew_release() local 75 if (refcount_read(&clp->cl_count) > 1) in nfs4_renew_release() 76 nfs4_schedule_state_renewal(clp); in nfs4_renew_release() 77 nfs_put_client(clp); in nfs4_renew_release() 84 struct nfs_client *clp = data->client; in nfs4_renew_done() local 87 trace_nfs4_renew_async(clp, task->tk_status); in nfs4_renew_done() 92 nfs4_schedule_lease_moved_recovery(clp); in nfs4_renew_done() 96 if (test_bit(NFS_CS_RENEWD, &clp->cl_res_state) == 0) in nfs4_renew_done() 99 nfs4_schedule_lease_recovery(clp); in nfs4_renew_done() 102 nfs4_schedule_path_down_recovery(clp); in nfs4_renew_done() [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() 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 *clp, unsigned long lease_time, 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() [all …]
|
| H A D | delegation.c | 361 struct nfs_client *clp) in nfs_detach_delegations_locked() argument 363 lockdep_assert_held(&clp->cl_lock); in nfs_detach_delegations_locked() 385 struct nfs_client *clp = server->nfs_client; in nfs_detach_delegation() local 389 spin_lock(&clp->cl_lock); in nfs_detach_delegation() 391 lockdep_is_held(&clp->cl_lock)); in nfs_detach_delegation() 393 ret = nfs_detach_delegations_locked(nfsi, delegation, clp); in nfs_detach_delegation() 394 spin_unlock(&clp->cl_lock); in nfs_detach_delegation() 446 struct nfs_client *clp = server->nfs_client; in nfs_inode_set_delegation() local 475 spin_lock(&clp->cl_lock); in nfs_inode_set_delegation() 477 lockdep_is_held(&clp in nfs_inode_set_delegation() 739 nfs_client_clear_delayed_delegations(struct nfs_client * clp) nfs_client_clear_delayed_delegations() argument 769 nfs_client_return_marked_delegations(struct nfs_client * clp) nfs_client_return_marked_delegations() argument 964 nfs_delegation_run_state_manager(struct nfs_client * clp) nfs_delegation_run_state_manager() argument 975 nfs_expire_all_delegations(struct nfs_client * clp) nfs_expire_all_delegations() argument 994 struct nfs_client *clp = server->nfs_client; nfs_server_return_all_delegations() local 1023 nfs_expire_unused_delegation_types(struct nfs_client * clp,fmode_t flags) nfs_expire_unused_delegation_types() argument 1151 nfs_expire_unreferenced_delegations(struct nfs_client * clp) nfs_expire_unreferenced_delegations() argument 1178 struct nfs_client *clp = server->nfs_client; nfs_async_inode_return_delegation() local 1242 nfs_delegation_find_inode(struct nfs_client * clp,const struct nfs_fh * fhandle) nfs_delegation_find_inode() argument 1280 nfs_delegation_mark_reclaim(struct nfs_client * clp) nfs_delegation_mark_reclaim() argument 1330 nfs_delegation_reap_unclaimed(struct nfs_client * clp) nfs_delegation_reap_unclaimed() argument 1336 nfs4_server_rebooted(const struct nfs_client * clp) nfs4_server_rebooted() argument 1382 nfs_mark_test_expired_all_delegations(struct nfs_client * clp) nfs_mark_test_expired_all_delegations() argument 1398 nfs_test_expired_all_delegations(struct nfs_client * clp) nfs_test_expired_all_delegations() argument 1478 nfs_reap_expired_delegations(struct nfs_client * clp) nfs_reap_expired_delegations() argument 1487 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client; nfs_inode_find_delegation_state_and_recover() local 1511 nfs_delegations_present(struct nfs_client * clp) nfs_delegations_present() argument [all...] |
| H A D | localio.c | 109 static inline bool nfs_client_is_local(const struct nfs_client *clp) 111 return !!rcu_access_pointer(clp->cl_uuid.net); 114 bool nfs_server_is_local(const struct nfs_client *clp) 116 return nfs_client_is_local(clp) && localio_enabled; 185 static struct rpc_clnt *nfs_init_localioclient(struct nfs_client *clp) in nfs_local_probe() 188 struct rpc_clnt *parent = clp->cl_rpcclient; in nfs_local_probe() 219 __func__, rpc_peeraddr2str(clp->cl_rpcclient, RPC_DISPLAY_ADDR), in nfs_local_file_put() 225 static bool nfs_server_uuid_is_local(struct nfs_client *clp) in nfs_local_file_put() 234 rpcclient_localio = nfs_init_localioclient(clp); 238 export_uuid(uuid, &clp in __nfs_local_open_fh() 65 nfs_client_is_local(const struct nfs_client * clp) nfs_client_is_local() argument 70 nfs_server_is_local(const struct nfs_client * clp) nfs_server_is_local() argument 135 nfs_init_localioclient(struct nfs_client * clp) nfs_init_localioclient() argument 149 nfs_server_uuid_is_local(struct nfs_client * clp) nfs_server_uuid_is_local() argument 182 nfs_local_probe(struct nfs_client * clp) nfs_local_probe() argument 203 struct nfs_client *clp = nfs_local_probe_async_work() local 212 nfs_local_probe_async(struct nfs_client * clp) nfs_local_probe_async() argument 237 __nfs_local_open_fh(struct nfs_client * clp,const struct cred * cred,struct nfs_fh * fh,struct nfs_file_localio * nfl,struct nfsd_file __rcu ** pnf,const fmode_t mode) __nfs_local_open_fh() argument 270 nfs_local_open_fh(struct nfs_client * clp,const struct cred * cred,struct nfs_fh * fh,struct nfs_file_localio * nfl,const fmode_t mode) nfs_local_open_fh() argument 745 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client; nfs_copy_boot_verifier() local 759 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client; nfs_reset_boot_verifier() local 994 nfs_local_doio(struct nfs_client * clp,struct nfsd_file * localio,struct nfs_pgio_header * hdr,const struct rpc_call_ops * call_ops) nfs_local_doio() argument [all...] |
| H A D | nfs4session.c | 557 struct nfs4_session *nfs4_alloc_session(struct nfs_client *clp) in nfs4_alloc_session() argument 569 session->clp = clp; in nfs4_alloc_session() 584 cred = nfs4_get_clid_cred(session->clp); in nfs4_destroy_session() 589 xprt = rcu_dereference(session->clp->cl_rpcclient->cl_xprt); in nfs4_destroy_session() 605 static int nfs41_check_session_ready(struct nfs_client *clp) in nfs41_check_session_ready() argument 609 if (clp->cl_cons_state == NFS_CS_SESSION_INITING) { in nfs41_check_session_ready() 610 ret = nfs4_client_recover_expired_lease(clp); in nfs41_check_session_ready() 614 if (clp->cl_cons_state < NFS_CS_READY) in nfs41_check_session_ready() 620 int nfs4_init_session(struct nfs_client *clp) in nfs4_init_session() argument 622 if (!nfs4_has_session(clp)) in nfs4_init_session() [all …]
|
| H A D | sysfs.c | 202 struct nfs_netns_client *clp; in nfs_netns_sysfs_setup() local 204 clp = nfs_netns_client_alloc(&nfs_kset->kobj, net); in nfs_netns_sysfs_setup() 205 if (clp) { in nfs_netns_sysfs_setup() 206 netns->nfs_client = clp; in nfs_netns_sysfs_setup() 207 kobject_uevent(&clp->kobject, KOBJ_ADD); in nfs_netns_sysfs_setup() 213 struct nfs_netns_client *clp = netns->nfs_client; in nfs_netns_sysfs_destroy() local 215 if (clp) { in nfs_netns_sysfs_destroy() 216 kobject_uevent(&clp->kobject, KOBJ_REMOVE); in nfs_netns_sysfs_destroy() 217 kobject_del(&clp->kobject); in nfs_netns_sysfs_destroy() 218 kobject_put(&clp->kobject); in nfs_netns_sysfs_destroy() [all …]
|
| H A D | pnfs_nfs.c | 874 struct nfs_client *clp = ERR_PTR(-EIO); in _nfs4_pnfs_v3_ds_connect() 891 if (!IS_ERR(clp)) { in _nfs4_pnfs_v4_ds_connect() local 894 .net = clp->cl_net, in _nfs4_pnfs_v4_ds_connect() 897 .servername = clp->cl_hostname, in _nfs4_pnfs_v4_ds_connect() 900 .xprtsec = clp->cl_xprtsec, in _nfs4_pnfs_v4_ds_connect() 904 clp->cl_proto == XPRT_TRANSPORT_TCP_TLS) in _nfs4_pnfs_v4_ds_connect() 907 if (xprt_args.ident != clp->cl_proto) in _nfs4_pnfs_v4_ds_connect() 910 clp->cl_addr.ss_family) in _nfs4_pnfs_v4_ds_connect() 913 rpc_clnt_add_xprt(clp->cl_rpcclient, &xprt_args, in _nfs4_pnfs_v4_ds_connect() 923 clp in _nfs4_pnfs_v4_ds_connect() 815 struct nfs_client *clp = ERR_PTR(-EIO); _nfs4_pnfs_v3_ds_connect() local [all...] |
| H A D | nfs4proc.c | 102 static struct rpc_task *_nfs41_proc_sequence(struct nfs_client *clp, 520 struct nfs_client *clp = server->nfs_client; in nfs4_do_handle_exception() local 574 nfs4_schedule_lease_recovery(clp); in nfs4_do_handle_exception() 582 nfs4_schedule_lease_moved_recovery(clp); in nfs4_do_handle_exception() 656 struct nfs_client *clp = server->nfs_client; in nfs4_handle_exception() local 673 ret = nfs4_wait_clnt_recover(clp); in nfs4_handle_exception() 689 struct nfs_client *clp = server->nfs_client; in nfs4_async_handle_exception() local 714 rpc_sleep_on(&clp->cl_rpcwaitq, task, NULL); in nfs4_async_handle_exception() 715 if (test_bit(NFS4CLNT_MANAGER_RUNNING, &clp->cl_state) == 0) in nfs4_async_handle_exception() 716 rpc_wake_up_queued_task(&clp in nfs4_async_handle_exception() 761 _nfs4_is_integrity_protected(struct nfs_client * clp) _nfs4_is_integrity_protected() argument 767 do_renew_lease(struct nfs_client * clp,unsigned long timestamp) do_renew_lease() argument 777 struct nfs_client *clp = server->nfs_client; renew_lease() local 783 nfs4_init_sequence(struct nfs_client * clp,struct nfs4_sequence_args * args,struct nfs4_sequence_res * res,int cache_reply,int privileged) nfs4_init_sequence() argument 866 struct nfs_client *clp; nfs41_sequence_process() local 1153 struct nfs_client *clp = server->nfs_client; nfs4_do_call_sync() local 1617 struct nfs_client *clp = state->owner->so_server->nfs_client; nfs_test_and_clear_all_open_stateid() local 1845 struct nfs_client *clp = server->nfs_client; update_open_stateid() local 2488 struct nfs_client *clp = sp->so_server->nfs_client; nfs4_open_prepare() local 2613 struct nfs_client *clp = server->nfs_client; nfs4_run_open_task() local 3767 struct nfs_client *clp = server->nfs_client; nfs4_do_close() local 4051 test_fs_location_for_trunking(struct nfs4_fs_location * location,struct nfs_client * clp,struct nfs_server * server) test_fs_location_for_trunking() argument 4123 struct nfs_client *clp = server->nfs_client; _nfs4_discover_trunking() local 4174 struct nfs_client *clp = server->nfs_client; nfs4_discover_trunking() local 4467 struct nfs_client *clp = server->nfs_client; _nfs4_proc_getattr() local 6442 nfs4_init_boot_verifier(const struct nfs_client * clp,nfs4_verifier * bootverf) nfs4_init_boot_verifier() argument 6463 nfs4_get_uniquifier(struct nfs_client * clp,char * buf,size_t buflen) nfs4_get_uniquifier() argument 6486 nfs4_init_nonuniform_client_string(struct nfs_client * clp) nfs4_init_nonuniform_client_string() argument 6538 nfs4_init_uniform_client_string(struct nfs_client * clp) nfs4_init_uniform_client_string() argument 6585 nfs4_init_callback_netid(const struct nfs_client * clp,char * buf,size_t len) nfs4_init_callback_netid() argument 6615 nfs4_proc_setclientid(struct nfs_client * clp,u32 program,unsigned short port,const struct cred * cred,struct nfs4_setclientid_res * res) nfs4_proc_setclientid() argument 6688 nfs4_proc_setclientid_confirm(struct nfs_client * clp,struct nfs4_setclientid_res * arg,const struct cred * cred) nfs4_proc_setclientid_confirm() argument 6982 struct nfs_client *clp = server->nfs_client; _nfs4_proc_getlk() local 7215 struct nfs_client *clp = NFS_SERVER(lsp->ls_state->inode)->nfs_client; nfs4_do_unlck() local 7492 struct nfs_client *clp = NFS_SERVER(state->inode)->nfs_client; _nfs4_do_setlk() local 7723 struct nfs_client *clp = server->nfs_client; nfs4_retry_setlk() local 8189 struct nfs_client *clp = server->nfs_client; _nfs41_proc_get_locations() local 8258 struct nfs_client *clp = server->nfs_client; nfs4_proc_get_locations() local 8337 struct nfs_client *clp = server->nfs_client; nfs4_proc_fsid_present() local 8371 struct nfs_client *clp = NFS_SERVER(dir)->nfs_client; _nfs4_proc_secinfo() local 8483 struct nfs_client *clp = args->client; nfs4_bind_one_conn_to_session_done() local 8513 nfs4_proc_bind_one_conn_to_session(struct rpc_clnt * clnt,struct rpc_xprt * xprt,struct nfs_client * clp,const struct cred * cred) nfs4_proc_bind_one_conn_to_session() argument 8576 struct nfs_client *clp; global() member 8590 nfs4_proc_bind_conn_to_session(struct nfs_client * clp,const struct cred * cred) nfs4_proc_bind_conn_to_session() argument 8634 nfs4_sp4_select_mode(struct nfs_client * clp,struct nfs41_state_protection * sp) nfs4_sp4_select_mode() argument 8756 nfs4_run_exchange_id(struct nfs_client * clp,const struct cred * cred,u32 sp4_how,struct rpc_xprt * xprt) nfs4_run_exchange_id() argument 8854 _nfs4_proc_exchange_id(struct nfs_client * clp,const struct cred * cred,u32 sp4_how) _nfs4_proc_exchange_id() argument 8925 nfs4_proc_exchange_id(struct nfs_client * clp,const struct cred * cred) nfs4_proc_exchange_id() argument 8998 _nfs4_proc_destroy_clientid(struct nfs_client * clp,const struct cred * cred) _nfs4_proc_destroy_clientid() argument 9017 nfs4_proc_destroy_clientid(struct nfs_client * clp,const struct cred * cred) nfs4_proc_destroy_clientid() argument 9037 nfs4_destroy_clientid(struct nfs_client * clp) nfs4_destroy_clientid() argument 9063 struct nfs_client *clp; global() member 9108 nfs4_proc_get_lease_time(struct nfs_client * clp,struct nfs_fsinfo * fsinfo) nfs4_proc_get_lease_time() argument 9254 _nfs4_proc_create_session(struct nfs_client * clp,const struct cred * cred) _nfs4_proc_create_session() argument 9308 nfs4_proc_create_session(struct nfs_client * clp,const struct cred * cred) nfs4_proc_create_session() argument 9374 struct nfs_client *clp; global() member 9382 struct nfs_client *clp = calldata->clp; nfs41_sequence_release() local 9390 nfs41_sequence_handle_errors(struct rpc_task * task,struct nfs_client * clp) nfs41_sequence_handle_errors() argument 9405 struct nfs_client *clp = calldata->clp; nfs41_sequence_call_done() local 9427 struct nfs_client *clp = calldata->clp; nfs41_sequence_prepare() local 9443 _nfs41_proc_sequence(struct nfs_client * clp,const struct cred * cred,struct nfs4_slot * slot,bool is_privileged) _nfs41_proc_sequence() argument 9487 nfs41_proc_async_sequence(struct nfs_client * clp,const struct cred * cred,unsigned renew_flags) nfs41_proc_async_sequence() argument 9503 nfs4_proc_sequence(struct nfs_client * clp,const struct cred * cred) nfs4_proc_sequence() argument 9523 struct nfs_client *clp; global() member 9538 nfs41_reclaim_complete_handle_errors(struct rpc_task * task,struct nfs_client * clp) nfs41_reclaim_complete_handle_errors() argument 9568 struct nfs_client *clp = calldata->clp; nfs4_reclaim_complete_done() local 9597 nfs41_proc_reclaim_complete(struct nfs_client * clp,const struct cred * cred) nfs41_proc_reclaim_complete() argument 9929 struct nfs_client *clp = NFS_SERVER(lrp->args.inode)->nfs_client; nfs4_proc_layoutreturn() local 10165 struct nfs_client *clp = server->nfs_client; _nfs41_proc_secinfo_no_name() local 10331 struct nfs_client *clp = server->nfs_client; _nfs41_test_stateid() local 10422 struct nfs_client *clp = data->server->nfs_client; nfs41_free_stateid_release() local 10462 struct nfs_client *clp = server->nfs_client; nfs41_free_stateid() local 10690 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client; nfs4_enable_swap() local 10700 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client; nfs4_disable_swap() local [all...] |
| H A D | pnfs_dev.c | 83 const struct nfs_client *clp, const struct nfs4_deviceid *id, in _lookup_deviceid() 89 if (d->ld == ld && d->nfs_client == clp && in _lookup_deviceid() 169 * @clp nfs_client associated with deviceid 192 nfs4_deviceid_bump_change_epoch(struct nfs_client *clp) in nfs4_find_get_deviceid() 194 atomic_inc(&clp->cl_deviceid_change_epoch); in nfs4_find_get_deviceid() 250 * @clp nfs_client associated with deviceid 257 const struct nfs_client *clp, const struct nfs4_deviceid *id) in nfs4_init_deviceid_node() 263 d = _lookup_deviceid(ld, clp, id, nfs4_deviceid_hash(id)); 356 _deviceid_purge_client(const struct nfs_client *clp, long hash) in nfs4_deviceid_purge_client() 364 if (d->nfs_client == clp in nfs4_deviceid_purge_client() 80 _lookup_deviceid(const struct pnfs_layoutdriver_type * ld,const struct nfs_client * clp,const struct nfs4_deviceid * id,long hash) _lookup_deviceid() argument 229 nfs4_delete_deviceid(const struct pnfs_layoutdriver_type * ld,const struct nfs_client * clp,const struct nfs4_deviceid * id) nfs4_delete_deviceid() argument 328 _deviceid_purge_client(const struct nfs_client * clp,long hash) _deviceid_purge_client() argument 355 nfs4_deviceid_purge_client(const struct nfs_client * clp) nfs4_deviceid_purge_client() argument 369 nfs4_deviceid_mark_client_invalid(struct nfs_client * clp) nfs4_deviceid_mark_client_invalid() argument [all...] |
| H A D | fscache.c | 46 static bool nfs_fscache_get_client_key(struct nfs_client *clp, in nfs_fscache_get_client_key() argument 49 const struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *) &clp->cl_addr; in nfs_fscache_get_client_key() 50 const struct sockaddr_in *sin = (struct sockaddr_in *) &clp->cl_addr; in nfs_fscache_get_client_key() 54 clp->rpc_ops->version, in nfs_fscache_get_client_key() 55 clp->cl_minorversion, in nfs_fscache_get_client_key() 56 clp->cl_addr.ss_family); in nfs_fscache_get_client_key() 58 switch (clp->cl_addr.ss_family) { in nfs_fscache_get_client_key() 76 clp->cl_addr.ss_family); in nfs_fscache_get_client_key()
|
| H A D | internal.h | 229 void nfs_cb_idr_remove(struct nfs_client *clp); 246 extern bool nfs_client_init_is_complete(const struct nfs_client *clp); 247 extern int nfs_client_init_status(const struct nfs_client *clp); 248 extern int nfs_wait_client_init_complete(const struct nfs_client *clp); 249 extern void nfs_mark_client_ready(struct nfs_client *clp, int state); 389 extern struct nfs_client *nfs_init_client(struct nfs_client *clp, 488 extern bool nfs_server_is_local(const struct nfs_client *clp); in nfs_local_probe() argument 491 static inline void nfs_local_probe(struct nfs_client *clp) {} in nfs_local_open_fh() argument 492 static inline void nfs_local_probe_async(struct nfs_client *clp) {} in nfs_local_open_fh() 494 nfs_local_open_fh(struct nfs_client *clp, cons in nfs_local_open_fh() 489 nfs_local_probe_async(struct nfs_client * clp) nfs_local_probe_async() argument 497 nfs_local_doio(struct nfs_client * clp,struct nfsd_file * localio,struct nfs_pgio_header * hdr,const struct rpc_call_ops * call_ops) nfs_local_doio() argument 510 nfs_server_is_local(const struct nfs_client * clp) nfs_server_is_local() argument [all...] |
| /linux/fs/nfsd/ |
| H A D | nfs4callback.c | 1169 struct nfs4_client *clp = cb->cb_clp; in nfsd4_queue_cb() 1171 trace_nfsd_cb_queue(clp, cb); in nfsd4_queue_cb() 1172 return queue_work(clp->cl_callback_wq, &cb->cb_work); in nfsd4_queue_cb() 1177 struct nfs4_client *clp = cb->cb_clp; in nfsd4_requeue_cb() 1179 if (!test_bit(NFSD4_CLIENT_CB_KILL, &clp->cl_flags)) { in nfsd4_requeue_cb() 1180 trace_nfsd_cb_restart(clp, cb); in nfsd4_requeue_cb() 1186 static void nfsd41_cb_inflight_begin(struct nfs4_client *clp) in nfsd41_cb_inflight_begin() 1188 atomic_inc(&clp->cl_cb_inflight); in nfsd41_cb_inflight_begin() 1191 static void nfsd41_cb_inflight_end(struct nfs4_client *clp) in nfsd41_cb_inflight_end() 1194 atomic_dec_and_wake_up(&clp in nfsd41_cb_inflight_end() 1168 struct nfs4_client *clp = cb->cb_clp; nfsd4_queue_cb() local 1176 struct nfs4_client *clp = cb->cb_clp; nfsd4_requeue_cb() local 1185 nfsd41_cb_inflight_begin(struct nfs4_client * clp) nfsd41_cb_inflight_begin() argument 1190 nfsd41_cb_inflight_end(struct nfs4_client * clp) nfsd41_cb_inflight_end() argument 1196 nfsd41_cb_inflight_wait_complete(struct nfs4_client * clp) nfsd41_cb_inflight_wait_complete() argument 1202 get_backchannel_cred(struct nfs4_client * clp,struct rpc_clnt * client,struct nfsd4_session * ses) get_backchannel_cred() argument 1222 setup_callback_client(struct nfs4_client * clp,struct nfs4_cb_conn * conn,struct nfsd4_session * ses) setup_callback_client() argument 1291 nfsd4_mark_cb_state(struct nfs4_client * clp,int newstate) nfsd4_mark_cb_state() argument 1299 nfsd4_mark_cb_down(struct nfs4_client * clp) nfsd4_mark_cb_down() argument 1306 nfsd4_mark_cb_fault(struct nfs4_client * clp) nfsd4_mark_cb_fault() argument 1315 struct nfs4_client *clp = container_of(calldata, struct nfs4_client, cl_cb_null); nfsd4_cb_probe_done() local 1325 struct nfs4_client *clp = container_of(calldata, struct nfs4_client, cl_cb_null); nfsd4_cb_probe_release() local 1342 nfsd4_probe_callback(struct nfs4_client * clp) nfsd4_probe_callback() argument 1350 nfsd4_probe_callback_sync(struct nfs4_client * clp) nfsd4_probe_callback_sync() argument 1356 nfsd4_change_callback(struct nfs4_client * clp,struct nfs4_cb_conn * conn) nfsd4_change_callback() argument 1387 struct nfs4_client *clp = cb->cb_clp; nfsd41_cb_get_slot() local 1421 struct nfs4_client *clp = cb->cb_clp; nfsd41_cb_release_slot() local 1440 struct nfs4_client *clp = cb->cb_clp; nfsd41_destroy_cb() local 1564 struct nfs4_client *clp = cb->cb_clp; nfsd4_cb_prepare() local 1682 struct nfs4_client *clp = cb->cb_clp; nfsd4_cb_done() local 1747 nfsd4_shutdown_callback(struct nfs4_client * clp) nfsd4_shutdown_callback() argument 1763 __nfsd4_find_backchannel(struct nfs4_client * clp) __nfsd4_find_backchannel() argument 1796 struct nfs4_client *clp = cb->cb_clp; nfsd4_process_cb_update() local 1853 struct nfs4_client *clp = cb->cb_clp; nfsd4_run_cb_work() local 1899 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 1924 struct nfs4_client *clp = cb->cb_clp; nfsd4_run_cb() local [all...] |
| H A D | nfs4state.c | 168 static bool is_client_expired(struct nfs4_client *clp) 170 return clp->cl_time == 0; in nfsd4_dec_courtesy_client_count() argument 174 struct nfs4_client *clp) in nfsd4_dec_courtesy_client_count() 176 if (clp->cl_state != NFSD4_ACTIVE) in get_client_locked() argument 180 static __be32 get_client_locked(struct nfs4_client *clp) in get_client_locked() 182 struct nfsd_net *nn = net_generic(clp->net, nfsd_net_id); in get_client_locked() 186 if (is_client_expired(clp)) in get_client_locked() 188 atomic_inc(&clp->cl_rpc_users); in get_client_locked() 189 nfsd4_dec_courtesy_client_count(nn, clp); 190 clp 164 is_client_expired(struct nfs4_client * clp) is_client_expired() argument 192 renew_client_locked(struct nfs4_client * clp) renew_client_locked() argument 217 __put_client_locked(struct nfs4_client * clp,bool renew) __put_client_locked() argument 225 put_client_renew_locked(struct nfs4_client * clp) put_client_renew_locked() argument 235 put_client_renew(struct nfs4_client * clp) put_client_renew() argument 245 put_client_no_renew_locked(struct nfs4_client * clp) put_client_no_renew_locked() argument 255 put_client_no_renew(struct nfs4_client * clp) put_client_no_renew() argument 280 struct nfs4_client *clp = ses->se_client; nfsd4_put_session_locked() local 292 struct nfs4_client *clp = ses->se_client; nfsd4_put_session() local 375 struct nfs4_client *clp = lo->lo_owner.so_client; remove_blocked_locks() local 585 find_openstateowner_str(unsigned int hashval,struct nfsd4_open * open,struct nfs4_client * clp) find_openstateowner_str() argument 765 struct nfs4_client *clp; nfs4_resolve_deny_conflicts_locked() local 876 alloc_clnt_odstate(struct nfs4_client * clp) alloc_clnt_odstate() argument 1037 nfs4_alloc_copy_stid(struct nfs4_client * clp) nfs4_alloc_copy_stid() argument 1141 nfs4_alloc_open_stateid(struct nfs4_client * clp) nfs4_alloc_open_stateid() argument 1248 __alloc_init_deleg(struct nfs4_client * clp,struct nfs4_file * fp,struct nfs4_clnt_odstate * odstate,u32 dl_type,void (* sc_free)(struct nfs4_stid *)) __alloc_init_deleg() argument 1293 alloc_init_deleg(struct nfs4_client * clp,struct nfs4_file * fp,struct nfs4_clnt_odstate * odstate,u32 dl_type) alloc_init_deleg() argument 1326 alloc_init_dir_deleg(struct nfs4_client * clp,struct nfs4_file * fp) alloc_init_dir_deleg() argument 1359 struct nfs4_client *clp = s->sc_client; nfs4_put_stid() local 1468 nfs4_delegation_exists(struct nfs4_client * clp,struct nfs4_file * fp) nfs4_delegation_exists() argument 1502 struct nfs4_client *clp = dp->dl_stid.sc_client; hash_delegation_locked() local 1590 struct nfs4_client *clp = dp->dl_stid.sc_client; revoke_delegation() local 1705 struct nfs4_client *clp = sop->so_client; nfs4_put_stateowner() local 1775 struct nfs4_client *clp = s->sc_client; put_ol_stateid_locked() local 1805 struct nfs4_client *clp = stp->st_stid.sc_client; release_lock_stateid() local 1817 struct nfs4_client *clp = lo->lo_owner.so_client; unhash_lockowner_locked() local 1899 struct nfs4_client *clp = oo->oo_owner.so_client; unhash_openowner_locked() local 1927 struct nfs4_client *clp = oo->oo_owner.so_client; release_openowner() local 1944 find_one_sb_stid(struct nfs4_client * clp,struct super_block * sb,unsigned int sc_types) find_one_sb_stid() argument 1971 drop_stid_export(struct nfs4_client * clp,struct nfs4_stid * stid) drop_stid_export() argument 1984 revoke_ol_stid(struct nfs4_client * clp,struct nfs4_ol_stateid * stp) revoke_ol_stid() argument 2013 revoke_one_stid(struct nfsd_net * nn,struct nfs4_client * clp,struct nfs4_stid * stid) revoke_one_stid() argument 2091 struct nfs4_client *clp; nfsd4_revoke_states() local 2127 find_one_export_stid(struct nfs4_client * clp,const struct path * path,unsigned int sc_types) find_one_export_stid() argument 2179 struct nfs4_client *clp; nfsd4_revoke_export_states() local 2253 struct nfs4_client *clp = ses->se_client; gen_sessionid() local 2421 struct nfs4_client *clp = c->cn_session->se_client; nfsd4_conn_lost() local 2456 struct nfs4_client *clp = ses->se_client; nfsd4_hash_conn() local 2494 struct nfs4_client *clp = s->se_client; nfsd4_del_conns() local 2584 init_session(struct svc_rqst * rqstp,struct nfsd4_session * new,struct nfs4_client * clp,struct nfsd4_create_session * cses) init_session() argument 2673 struct nfs4_client *clp = ses->se_client; unhash_session() local 2706 struct nfs4_client *clp; alloc_client() local 2765 struct nfs4_client *clp = container_of(c, struct nfs4_client, cl_nfsdfs); __free_client() local 2784 nfsd4_put_client(struct nfs4_client * clp) nfsd4_put_client() argument 2790 free_client(struct nfs4_client * clp) free_client() argument 2811 unhash_client_locked(struct nfs4_client * clp) unhash_client_locked() argument 2850 unhash_client(struct nfs4_client * clp) unhash_client() argument 2859 mark_client_expired_locked(struct nfs4_client * clp) mark_client_expired_locked() argument 2872 __destroy_client(struct nfs4_client * clp) __destroy_client() argument 2937 destroy_client(struct nfs4_client * clp) destroy_client() argument 2943 inc_reclaim_complete(struct nfs4_client * clp) inc_reclaim_complete() argument 2966 expire_client(struct nfs4_client * clp) expire_client() argument 3103 gen_confirm(struct nfs4_client * clp,struct nfsd_net * nn) gen_confirm() argument 3116 gen_clid(struct nfs4_client * clp,struct nfsd_net * nn) gen_clid() argument 3196 struct nfs4_client *clp; client_info_show() local 3252 struct nfs4_client *clp = s->private; states_start() local 3264 struct nfs4_client *clp = s->private; states_next() local 3278 struct nfs4_client *clp = s->private; states_stop() local 3500 struct nfs4_client *clp; client_states_open() local 3520 struct nfs4_client *clp = m->private; client_opens_release() local 3540 force_expire_client(struct nfs4_client * clp) force_expire_client() argument 3573 struct nfs4_client *clp; client_ctl_write() local 3617 struct nfs4_client *clp = cb->cb_clp; nfsd4_cb_recall_any_release() local 3898 struct nfs4_client *clp; create_client() local 3946 struct nfs4_client *clp; add_clp_to_name_tree() local 3967 struct nfs4_client *clp; find_clp_in_name_tree() local 3983 add_to_unconfirmed(struct nfs4_client * clp) add_to_unconfirmed() argument 3998 move_to_confirmed(struct nfs4_client * clp) move_to_confirmed() argument 4016 struct nfs4_client *clp; find_client_in_id_table() local 4048 clp_used_exchangeid(struct nfs4_client * clp) clp_used_exchangeid() argument 4068 gen_callback(struct nfs4_client * clp,struct nfsd4_setclientid * se,struct svc_rqst * rqstp) gen_callback() argument 4216 client_has_openowners(struct nfs4_client * clp) client_has_openowners() argument 4227 client_has_state(struct nfs4_client * clp) client_has_state() argument 4238 copy_impl_id(struct nfs4_client * clp,struct nfsd4_exchange_id * exid) copy_impl_id() argument 4774 struct nfs4_client *clp = session->se_client; nfsd4_match_existing_connection() local 4899 struct nfs4_client *clp = ses->se_client; nfsd4_sequence_check_conn() local 4980 struct nfs4_client *clp = session->se_client; nfsd4_construct_sequence_response() local 5023 struct nfs4_client *clp; nfsd4_sequence() local 5212 struct nfs4_client *clp = NULL; nfsd4_destroy_clientid() local 5255 struct nfs4_client *clp = cstate->clp; nfsd4_reclaim_complete() local 5610 alloc_stateowner(struct kmem_cache * slab,struct xdr_netobj * owner,struct nfs4_client * clp) alloc_stateowner() argument 5631 hash_openowner(struct nfs4_openowner * oo,struct nfs4_client * clp,unsigned int strhashval) hash_openowner() argument 5797 struct nfs4_client *clp = cstate->clp; find_or_alloc_open_stateowner() local 6143 struct nfs4_client *clp = dp->dl_stid.sc_client; nfsd_break_deleg_cb() local 6180 struct nfs4_client *clp; nfsd_breaker_owns_lease() local 6199 struct nfs4_client *clp = dp->dl_stid.sc_client; nfsd_change_deleg_cb() local 6284 struct nfs4_client *clp = NULL; nfsd4_process_open1() local 6553 nfsd4_cb_channel_good(struct nfs4_client * clp) nfsd4_cb_channel_good() argument 6596 nfsd4_check_conflicting_opens(struct nfs4_client * clp,struct nfs4_file * fp) nfsd4_check_conflicting_opens() argument 6716 struct nfs4_client *clp = stp->st_stid.sc_client; nfs4_set_delegation() local 6969 struct nfs4_client *clp = stp->st_stid.sc_client; nfs4_open_delegation() local 7250 struct nfs4_client *clp; nfsd4_renew() local 7469 nfs4_anylock_blockers(struct nfs4_client * clp) nfs4_anylock_blockers() argument 7500 struct nfs4_client *clp; nfs4_get_client_reaplist() local 7537 struct nfs4_client *clp; nfs4_get_courtesy_client_reaplist() local 7561 struct nfs4_client *clp; nfs4_process_client_reaplist() local 7574 struct nfs4_client *clp; nfs40_clean_admin_revoked() local 7625 struct nfs4_client *clp; nfs4_laundromat() local 7773 struct nfs4_client *clp; deleg_reaper() local 8068 manage_cpntf_state(struct nfsd_net * nn,stateid_t * st,struct nfs4_client * clp,struct nfs4_cpntf_state ** cps) manage_cpntf_state() argument 8528 struct nfs4_client *clp = s->st_stid.sc_client; nfsd4_close_open_stateid() local 8696 struct nfs4_client *clp = lo->lo_owner.so_client; nfsd4_lm_lock_expirable() local 8778 find_lockowner_str_locked(struct nfs4_client * clp,struct xdr_netobj * owner) find_lockowner_str_locked() argument 8796 find_lockowner_str(struct nfs4_client * clp,struct xdr_netobj * owner) find_lockowner_str() argument 8831 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 8882 struct nfs4_client *clp = lo->lo_owner.so_client; init_lock_stateid() local 8935 struct nfs4_client *clp = oo->oo_owner.so_client; find_or_create_lock_stateid() local 9514 struct nfs4_client *clp; nfsd4_release_lockowner() local 9696 nfs4_check_open_reclaim(struct nfs4_client * clp) nfs4_check_open_reclaim() argument 9803 struct nfs4_client *clp = NULL; nfs4_state_destroy_net() local 10247 struct nfs4_client *clp = cstate->clp; nfsd_get_dir_deleg() local [all...] |
| H A D | nfs4recover.c | 113 __nfsd4_create_reclaim_record_grace(struct nfs4_client *clp, in __nfsd4_create_reclaim_record_grace() 121 crp->cr_clp = clp; 125 nfsd4_create_clid_dir(struct nfs4_client *clp) in nfsd4_create_clid_dir() 131 struct nfsd_net *nn = net_generic(clp->net, nfsd_net_id); in nfsd4_create_clid_dir() 133 if (test_and_set_bit(NFSD4_CLIENT_STABLE, &clp->cl_flags)) in nfsd4_create_clid_dir() 138 nfs4_make_rec_clidname(dname, &clp->cl_name); in nfsd4_create_clid_dir() 173 __nfsd4_create_reclaim_record_grace(clp, dname, nn); in nfsd4_create_clid_dir() 299 nfsd4_remove_clid_dir(struct nfs4_client *clp) in nfsd4_remove_clid_dir() 304 struct nfsd_net *nn = net_generic(clp->net, nfsd_net_id); in nfsd4_remove_clid_dir() 306 if (!nn->rec_file || !test_bit(NFSD4_CLIENT_STABLE, &clp in nfsd4_remove_clid_dir() 111 __nfsd4_create_reclaim_record_grace(struct nfs4_client * clp,char * dname,struct nfsd_net * nn) __nfsd4_create_reclaim_record_grace() argument 123 nfsd4_create_clid_dir(struct nfs4_client * clp) nfsd4_create_clid_dir() argument 297 nfsd4_remove_clid_dir(struct nfs4_client * clp) nfsd4_remove_clid_dir() argument 583 nfsd4_check_legacy_client(struct nfs4_client * clp) nfsd4_check_legacy_client() argument 1006 nfsd4_cld_create(struct nfs4_client * clp) nfsd4_cld_create() argument 1043 nfsd4_cld_create_v2(struct nfs4_client * clp) nfsd4_cld_create_v2() argument 1093 nfsd4_cld_remove(struct nfs4_client * clp) nfsd4_cld_remove() argument 1135 nfsd4_cld_check_v0(struct nfs4_client * clp) nfsd4_cld_check_v0() argument 1175 nfsd4_cld_check(struct nfs4_client * clp) nfsd4_cld_check() argument 1221 nfsd4_cld_check_v2(struct nfs4_client * clp) nfsd4_cld_check_v2() argument 1634 nfsd4_cltrack_client_has_session(struct nfs4_client * clp) nfsd4_cltrack_client_has_session() argument 1762 nfsd4_cltrack_upcall_lock(struct nfs4_client * clp) nfsd4_cltrack_upcall_lock() argument 1769 nfsd4_cltrack_upcall_unlock(struct nfs4_client * clp) nfsd4_cltrack_upcall_unlock() argument 1775 nfsd4_umh_cltrack_create(struct nfs4_client * clp) nfsd4_umh_cltrack_create() argument 1816 nfsd4_umh_cltrack_remove(struct nfs4_client * clp) nfsd4_umh_cltrack_remove() argument 1839 nfsd4_umh_cltrack_check(struct nfs4_client * clp) nfsd4_umh_cltrack_check() argument 1978 nfsd4_client_record_create(struct nfs4_client * clp) nfsd4_client_record_create() argument 1987 nfsd4_client_record_remove(struct nfs4_client * clp) nfsd4_client_record_remove() argument 1996 nfsd4_client_record_check(struct nfs4_client * clp) nfsd4_client_record_check() argument [all...] |
| H A D | trace.h | 843 const struct nfs4_client *clp, 846 TP_ARGS(clp, cs), 852 __sockaddr(addr, clp->cl_cb_conn.cb_addrlen) 855 const struct nfsd4_clid_slot *slot = &clp->cl_cs_slot; 857 __entry->cl_boot = clp->cl_clientid.cl_boot; 858 __entry->cl_id = clp->cl_clientid.cl_id; 859 __assign_sockaddr(addr, &clp->cl_cb_conn.cb_addr, 860 clp->cl_cb_conn.cb_addrlen); 873 const struct nfs4_client *clp, \ 876 TP_ARGS(clp, c [all...] |
| H A D | nfs4layouts.c | 167 struct nfs4_client *clp = ls->ls_stid.sc_client; in nfsd4_free_layout_stateid() 179 spin_lock(&clp->cl_lock); in nfsd4_free_layout_stateid() 181 spin_unlock(&clp->cl_lock); in nfsd4_free_layout_stateid() 228 struct nfs4_client *clp = cstate->clp; in nfsd4_alloc_layout_stateid() 233 stp = nfs4_alloc_stid(cstate->clp, nfs4_layout_stateid_cache, in nfsd4_alloc_layout_stateid() 250 nfsd4_init_cb(&ls->ls_recall, clp, &nfsd4_cb_layout_ops, in nfsd4_alloc_layout_stateid() 276 spin_lock(&clp->cl_lock); in nfsd4_alloc_layout_stateid() 278 list_add(&ls->ls_perclnt, &clp->cl_lo_states); in nfsd4_alloc_layout_stateid() 279 spin_unlock(&clp in nfsd4_alloc_layout_stateid() 164 struct nfs4_client *clp = ls->ls_stid.sc_client; nfsd4_free_layout_stateid() local 225 struct nfs4_client *clp = cstate->clp; nfsd4_alloc_layout_stateid() local 560 struct nfs4_client *clp = cstate->clp; nfsd4_return_client_layouts() local 600 nfsd4_return_all_client_layouts(struct nfs4_client * clp) nfsd4_return_all_client_layouts() argument 614 nfsd4_return_all_file_layouts(struct nfs4_client * clp,struct nfs4_file * fp) nfsd4_return_all_file_layouts() argument 632 struct nfs4_client *clp = ls->ls_stid.sc_client; nfsd4_cb_layout_fail() local 800 struct nfs4_client *clp; nfsd4_layout_fence_worker() local [all...] |
| H A D | state.h | 654 struct nfs4_client *cr_clp; /* pointer to associated clp */ 926 struct nfsd4_async_copy *nfs4_alloc_copy_stid(struct nfs4_client *clp); 936 extern void nfsd4_probe_callback(struct nfs4_client *clp); in get_nfs4_file() 937 extern void nfsd4_probe_callback_sync(struct nfs4_client *clp); in get_nfs4_file() 938 extern void nfsd4_change_callback(struct nfs4_client *clp, struct nfs4_cb_conn *); in get_nfs4_file() 943 extern void nfsd4_init_cb(struct nfsd4_callback *cb, struct nfs4_client *clp, 954 extern void nfsd4_shutdown_copy(struct nfs4_client *clp); in nfsd4_revoke_export_states() 955 void nfsd4_put_client(struct nfs4_client *clp); in nfsd4_cancel_copy_by_sb() 957 bool nfsd4_has_active_async_copies(struct nfs4_client *clp); in nfsd4_cancel_copy_by_sb() 969 struct nfs4_client *clp, 978 try_to_expire_client(struct nfs4_client * clp) try_to_expire_client() argument [all...] |
| /linux/drivers/clk/ |
| H A D | clk-loongson2.c | 320 struct loongson2_clk_provider *clp, in loongson2_clk_register() argument 329 clk = devm_kzalloc_obj(clp->dev, *clk); in loongson2_clk_register() 339 clk->reg = clp->base + cld->reg_offset; in loongson2_clk_register() 348 ret = devm_clk_hw_register(clp->dev, hw); in loongson2_clk_register() 360 struct loongson2_clk_provider *clp; in loongson2_clk_probe() local 376 clp = devm_kzalloc_flex(dev, *clp, clk_data.hws, clks_num); in loongson2_clk_probe() 377 if (!clp) in loongson2_clk_probe() 380 clp->base = devm_platform_ioremap_resource(pdev, 0); in loongson2_clk_probe() 381 if (IS_ERR(clp in loongson2_clk_probe() [all...] |
| /linux/fs/nfs_common/ |
| H A D | nfslocalio.c | 177 void nfs_localio_enable_client(struct nfs_client *clp) in nfs_uuid_put() 180 trace_nfs_localio_enable_client(clp); in nfs_uuid_put() 260 void nfs_localio_disable_client(struct nfs_client *clp) 262 if (nfs_uuid_put(&clp->cl_uuid)) 263 trace_nfs_localio_disable_client(clp); 267 void nfs_localio_free_client(struct nfs_client *clp) in nfs_open_local_fh() 269 nfs_uuid_t *nfs_uuid = &clp->cl_uuid; in nfs_open_local_fh() 272 nfs_localio_disable_client(clp); in nfs_open_local_fh() 283 struct nfs_client *clp; in nfs_open_local_fh() 303 clp in nfs_open_local_fh() 141 nfs_localio_enable_client(struct nfs_client * clp) nfs_localio_enable_client() argument 219 nfs_localio_disable_client(struct nfs_client * clp) nfs_localio_disable_client() argument 231 struct nfs_client *clp; nfs_localio_invalidate_clients() local [all...] |
| /linux/include/linux/ |
| H A D | nfslocalio.h | 63 void nfs_localio_enable_client(struct nfs_client *clp); 64 void nfs_localio_disable_client(struct nfs_client *clp); 65 void nfs_localio_free_client(struct nfs_client *clp); 134 static inline void nfs_localio_disable_client(struct nfs_client *clp) 138 static inline void nfs_localio_free_client(struct nfs_client *clp) 117 nfs_localio_disable_client(struct nfs_client * clp) nfs_localio_disable_client() argument
|