Lines Matching refs:nfs_client
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()
113 int nfs4_init_clientid(struct nfs_client *clp, const struct cred *cred) in nfs4_init_clientid()
158 int nfs40_discover_server_trunking(struct nfs_client *clp, in nfs40_discover_server_trunking()
159 struct nfs_client **result, in nfs40_discover_server_trunking()
194 const struct cred *nfs4_get_machine_cred(struct nfs_client *clp) in nfs4_get_machine_cred()
199 static void nfs4_root_machine_cred(struct nfs_client *clp) in nfs4_root_machine_cred()
233 const struct cred *nfs4_get_renew_cred(struct nfs_client *clp) in nfs4_get_renew_cred()
266 static void nfs4_end_drain_session(struct nfs_client *clp) in nfs4_end_drain_session()
294 static int nfs4_begin_drain_session(struct nfs_client *clp) in nfs4_begin_drain_session()
312 static void nfs41_finish_session_reset(struct nfs_client *clp) in nfs41_finish_session_reset()
321 int nfs41_init_clientid(struct nfs_client *clp, const struct cred *cred) in nfs41_init_clientid()
356 int nfs41_discover_server_trunking(struct nfs_client *clp, in nfs41_discover_server_trunking()
357 struct nfs_client **result, in nfs41_discover_server_trunking()
398 const struct cred *nfs4_get_clid_cred(struct nfs_client *clp) in nfs4_get_clid_cred()
546 struct nfs_client *clp = server->nfs_client; in nfs4_gc_state_owners()
581 struct nfs_client *clp = server->nfs_client; in nfs4_get_state_owner()
617 struct nfs_client *clp = server->nfs_client; in nfs4_put_state_owner()
640 struct nfs_client *clp = server->nfs_client; in nfs4_purge_state_owners()
952 struct nfs_client *clp = server->nfs_client; in nfs4_put_lock_state()
1160 if (!nfs4_has_session(sp->so_server->nfs_client)) in nfs_increment_open_seqid()
1199 static void nfs4_clear_state_manager_bit(struct nfs_client *clp) in nfs4_clear_state_manager_bit()
1208 void nfs4_schedule_state_manager(struct nfs_client *clp) in nfs4_schedule_state_manager()
1259 void nfs4_schedule_lease_recovery(struct nfs_client *clp) in nfs4_schedule_lease_recovery()
1281 struct nfs_client *clp = server->nfs_client; in nfs4_schedule_migration_recovery()
1313 void nfs4_schedule_lease_moved_recovery(struct nfs_client *clp) in nfs4_schedule_lease_moved_recovery()
1323 int nfs4_wait_clnt_recover(struct nfs_client *clp) in nfs4_wait_clnt_recover()
1342 int nfs4_client_recover_expired_lease(struct nfs_client *clp) in nfs4_client_recover_expired_lease()
1368 static void nfs40_handle_cb_pathdown(struct nfs_client *clp) in nfs40_handle_cb_pathdown()
1376 void nfs4_schedule_path_down_recovery(struct nfs_client *clp) in nfs4_schedule_path_down_recovery()
1382 static int nfs4_state_mark_reclaim_reboot(struct nfs_client *clp, struct nfs4_state *state) in nfs4_state_mark_reclaim_reboot()
1398 int nfs4_state_mark_reclaim_nograce(struct nfs_client *clp, struct nfs4_state *state) in nfs4_state_mark_reclaim_nograce()
1411 struct nfs_client *clp = server->nfs_client; in nfs4_schedule_stateid_recovery()
1456 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client; in nfs_inode_find_state_and_recover()
1587 spin_lock(&sp->so_server->nfs_client->cl_lock); in nfs42_complete_copies()
1610 spin_unlock(&sp->so_server->nfs_client->cl_lock); in nfs42_complete_copies()
1720 nfs4_state_mark_reclaim_nograce(sp->so_server->nfs_client, state); in nfs4_reclaim_open_state()
1724 nfs4_state_mark_reclaim_nograce(sp->so_server->nfs_client, state); in nfs4_reclaim_open_state()
1770 int (*mark_reclaim)(struct nfs_client *clp, struct nfs4_state *state)) in nfs4_reset_seqids()
1772 struct nfs_client *clp = server->nfs_client; in nfs4_reset_seqids()
1793 static void nfs4_state_mark_reclaim_helper(struct nfs_client *clp, in nfs4_state_mark_reclaim_helper()
1794 int (*mark_reclaim)(struct nfs_client *clp, struct nfs4_state *state)) in nfs4_state_mark_reclaim_helper()
1804 static void nfs4_state_start_reclaim_reboot(struct nfs_client *clp) in nfs4_state_start_reclaim_reboot()
1812 static int nfs4_reclaim_complete(struct nfs_client *clp, in nfs4_reclaim_complete()
1824 struct nfs_client *clp = server->nfs_client; in nfs4_clear_reclaim_server()
1846 static int nfs4_state_clear_reclaim_reboot(struct nfs_client *clp) in nfs4_state_clear_reclaim_reboot()
1862 static void nfs4_state_end_reclaim_reboot(struct nfs_client *clp) in nfs4_state_end_reclaim_reboot()
1878 static void nfs4_state_start_reclaim_nograce(struct nfs_client *clp) in nfs4_state_start_reclaim_nograce()
1884 static int nfs4_recovery_handle_error(struct nfs_client *clp, int error) in nfs4_recovery_handle_error()
1925 static int nfs4_do_reclaim(struct nfs_client *clp, const struct nfs4_state_recovery_ops *ops) in nfs4_do_reclaim()
1977 static int nfs4_check_lease(struct nfs_client *clp) in nfs4_check_lease()
2007 static int nfs4_handle_reclaim_lease_error(struct nfs_client *clp, int status) in nfs4_handle_reclaim_lease_error()
2056 static int nfs4_establish_lease(struct nfs_client *clp) in nfs4_establish_lease()
2081 static int nfs4_reclaim_lease(struct nfs_client *clp) in nfs4_reclaim_lease()
2097 static int nfs4_purge_lease(struct nfs_client *clp) in nfs4_purge_lease()
2119 struct nfs_client *clp = server->nfs_client; in nfs4_try_migration()
2193 static int nfs4_handle_migration(struct nfs_client *clp) in nfs4_handle_migration()
2239 static int nfs4_handle_lease_moved(struct nfs_client *clp) in nfs4_handle_lease_moved()
2294 int nfs4_discover_server_trunking(struct nfs_client *clp, in nfs4_discover_server_trunking()
2295 struct nfs_client **result) in nfs4_discover_server_trunking()
2387 struct nfs_client *clp = session->clp; in nfs4_schedule_session_recovery()
2400 void nfs41_notify_server(struct nfs_client *clp) in nfs41_notify_server()
2407 static void nfs4_reset_all_state(struct nfs_client *clp) in nfs4_reset_all_state()
2419 static void nfs41_handle_server_reboot(struct nfs_client *clp) in nfs41_handle_server_reboot()
2429 static void nfs41_handle_all_state_revoked(struct nfs_client *clp) in nfs41_handle_all_state_revoked()
2435 static void nfs41_handle_some_state_revoked(struct nfs_client *clp) in nfs41_handle_some_state_revoked()
2443 static void nfs41_handle_recallable_state_revoked(struct nfs_client *clp) in nfs41_handle_recallable_state_revoked()
2452 static void nfs41_handle_backchannel_fault(struct nfs_client *clp) in nfs41_handle_backchannel_fault()
2461 static void nfs41_handle_cb_path_down(struct nfs_client *clp) in nfs41_handle_cb_path_down()
2468 void nfs41_handle_sequence_flag_errors(struct nfs_client *clp, u32 flags, in nfs41_handle_sequence_flag_errors()
2504 static int nfs4_reset_session(struct nfs_client *clp) in nfs4_reset_session()
2548 static int nfs4_bind_conn_to_session(struct nfs_client *clp) in nfs4_bind_conn_to_session()
2577 static void nfs4_layoutreturn_any_run(struct nfs_client *clp) in nfs4_layoutreturn_any_run()
2592 static int nfs4_reset_session(struct nfs_client *clp) { return 0; } in nfs4_reset_session()
2594 static int nfs4_bind_conn_to_session(struct nfs_client *clp) in nfs4_bind_conn_to_session()
2599 static void nfs4_layoutreturn_any_run(struct nfs_client *clp) in nfs4_layoutreturn_any_run()
2604 static void nfs4_state_manager(struct nfs_client *clp) in nfs4_state_manager()
2753 struct nfs_client *clp = ptr; in nfs4_run_state_manager()