Lines Matching defs:clp
92 static int nfs4_setup_state_renewal(struct nfs_client *clp) in nfs4_setup_state_renewal()
111 int nfs4_init_clientid(struct nfs_client *clp, const struct cred *cred) in nfs4_init_clientid()
156 int nfs40_discover_server_trunking(struct nfs_client *clp, in nfs40_discover_server_trunking()
192 const struct cred *nfs4_get_machine_cred(struct nfs_client *clp) in nfs4_get_machine_cred()
197 static void nfs4_root_machine_cred(struct nfs_client *clp) in nfs4_root_machine_cred()
231 const struct cred *nfs4_get_renew_cred(struct nfs_client *clp) in nfs4_get_renew_cred()
264 static void nfs4_end_drain_session(struct nfs_client *clp) in nfs4_end_drain_session()
292 static int nfs4_begin_drain_session(struct nfs_client *clp) in nfs4_begin_drain_session()
310 static void nfs41_finish_session_reset(struct nfs_client *clp) in nfs41_finish_session_reset()
319 int nfs41_init_clientid(struct nfs_client *clp, const struct cred *cred) in nfs41_init_clientid()
352 int nfs41_discover_server_trunking(struct nfs_client *clp, in nfs41_discover_server_trunking()
394 const struct cred *nfs4_get_clid_cred(struct nfs_client *clp) in nfs4_get_clid_cred()
543 struct nfs_client *clp = server->nfs_client; in nfs4_gc_state_owners() local
578 struct nfs_client *clp = server->nfs_client; in nfs4_get_state_owner() local
614 struct nfs_client *clp = server->nfs_client; in nfs4_put_state_owner() local
637 struct nfs_client *clp = server->nfs_client; in nfs4_purge_state_owners() local
949 struct nfs_client *clp = server->nfs_client; in nfs4_put_lock_state() local
1195 static void nfs4_clear_state_manager_bit(struct nfs_client *clp) in nfs4_clear_state_manager_bit()
1207 void nfs4_schedule_state_manager(struct nfs_client *clp) in nfs4_schedule_state_manager()
1240 void nfs4_schedule_lease_recovery(struct nfs_client *clp) in nfs4_schedule_lease_recovery()
1262 struct nfs_client *clp = server->nfs_client; in nfs4_schedule_migration_recovery() local
1294 void nfs4_schedule_lease_moved_recovery(struct nfs_client *clp) in nfs4_schedule_lease_moved_recovery()
1304 int nfs4_wait_clnt_recover(struct nfs_client *clp) in nfs4_wait_clnt_recover()
1322 int nfs4_client_recover_expired_lease(struct nfs_client *clp) in nfs4_client_recover_expired_lease()
1348 static void nfs40_handle_cb_pathdown(struct nfs_client *clp) in nfs40_handle_cb_pathdown()
1356 void nfs4_schedule_path_down_recovery(struct nfs_client *clp) in nfs4_schedule_path_down_recovery()
1362 static int nfs4_state_mark_reclaim_reboot(struct nfs_client *clp, struct nfs4_state *state) in nfs4_state_mark_reclaim_reboot()
1378 int nfs4_state_mark_reclaim_nograce(struct nfs_client *clp, struct nfs4_state *state) in nfs4_state_mark_reclaim_nograce()
1391 struct nfs_client *clp = server->nfs_client; in nfs4_schedule_stateid_recovery() local
1436 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client; in nfs_inode_find_state_and_recover() local
1746 int (*mark_reclaim)(struct nfs_client *clp, struct nfs4_state *state)) in nfs4_reset_seqids()
1748 struct nfs_client *clp = server->nfs_client; in nfs4_reset_seqids() local
1769 static void nfs4_state_mark_reclaim_helper(struct nfs_client *clp, in nfs4_state_mark_reclaim_helper()
1770 int (*mark_reclaim)(struct nfs_client *clp, struct nfs4_state *state)) in nfs4_state_mark_reclaim_helper()
1780 static void nfs4_state_start_reclaim_reboot(struct nfs_client *clp) in nfs4_state_start_reclaim_reboot()
1788 static int nfs4_reclaim_complete(struct nfs_client *clp, in nfs4_reclaim_complete()
1800 struct nfs_client *clp = server->nfs_client; in nfs4_clear_reclaim_server() local
1822 static int nfs4_state_clear_reclaim_reboot(struct nfs_client *clp) in nfs4_state_clear_reclaim_reboot()
1838 static void nfs4_state_end_reclaim_reboot(struct nfs_client *clp) in nfs4_state_end_reclaim_reboot()
1854 static void nfs4_state_start_reclaim_nograce(struct nfs_client *clp) in nfs4_state_start_reclaim_nograce()
1860 static int nfs4_recovery_handle_error(struct nfs_client *clp, int error) in nfs4_recovery_handle_error()
1901 static int nfs4_do_reclaim(struct nfs_client *clp, const struct nfs4_state_recovery_ops *ops) in nfs4_do_reclaim()
1945 static int nfs4_check_lease(struct nfs_client *clp) in nfs4_check_lease()
1975 static int nfs4_handle_reclaim_lease_error(struct nfs_client *clp, int status) in nfs4_handle_reclaim_lease_error()
2020 static int nfs4_establish_lease(struct nfs_client *clp) in nfs4_establish_lease()
2045 static int nfs4_reclaim_lease(struct nfs_client *clp) in nfs4_reclaim_lease()
2061 static int nfs4_purge_lease(struct nfs_client *clp) in nfs4_purge_lease()
2083 struct nfs_client *clp = server->nfs_client; in nfs4_try_migration() local
2151 static int nfs4_handle_migration(struct nfs_client *clp) in nfs4_handle_migration()
2197 static int nfs4_handle_lease_moved(struct nfs_client *clp) in nfs4_handle_lease_moved()
2252 int nfs4_discover_server_trunking(struct nfs_client *clp, in nfs4_discover_server_trunking()
2345 struct nfs_client *clp = session->clp; in nfs4_schedule_session_recovery() local
2358 void nfs41_notify_server(struct nfs_client *clp) in nfs41_notify_server()
2365 static void nfs4_reset_all_state(struct nfs_client *clp) in nfs4_reset_all_state()
2377 static void nfs41_handle_server_reboot(struct nfs_client *clp) in nfs41_handle_server_reboot()
2387 static void nfs41_handle_all_state_revoked(struct nfs_client *clp) in nfs41_handle_all_state_revoked()
2393 static void nfs41_handle_some_state_revoked(struct nfs_client *clp) in nfs41_handle_some_state_revoked()
2401 static void nfs41_handle_recallable_state_revoked(struct nfs_client *clp) in nfs41_handle_recallable_state_revoked()
2410 static void nfs41_handle_backchannel_fault(struct nfs_client *clp) in nfs41_handle_backchannel_fault()
2419 static void nfs41_handle_cb_path_down(struct nfs_client *clp) in nfs41_handle_cb_path_down()
2426 void nfs41_handle_sequence_flag_errors(struct nfs_client *clp, u32 flags, in nfs41_handle_sequence_flag_errors()
2462 static int nfs4_reset_session(struct nfs_client *clp) in nfs4_reset_session()
2506 static int nfs4_bind_conn_to_session(struct nfs_client *clp) in nfs4_bind_conn_to_session()
2535 static void nfs4_layoutreturn_any_run(struct nfs_client *clp) in nfs4_layoutreturn_any_run()
2550 static int nfs4_reset_session(struct nfs_client *clp) { return 0; } in nfs4_reset_session()
2552 static int nfs4_bind_conn_to_session(struct nfs_client *clp) in nfs4_bind_conn_to_session()
2557 static void nfs4_layoutreturn_any_run(struct nfs_client *clp) in nfs4_layoutreturn_any_run()
2562 static void nfs4_state_manager(struct nfs_client *clp) in nfs4_state_manager()
2708 struct nfs_client *clp = ptr; in nfs4_run_state_manager() local