Home
last modified time | relevance | path

Searched refs:cl_state (Results 1 – 7 of 7) sorted by relevance

/linux/fs/nfs/
H A Dnfs4state.c124 if (test_bit(NFS4CLNT_LEASE_CONFIRM, &clp->cl_state)) in nfs4_init_clientid()
135 set_bit(NFS4CLNT_LEASE_CONFIRM, &clp->cl_state); in nfs4_init_clientid()
140 clear_bit(NFS4CLNT_LEASE_CONFIRM, &clp->cl_state); in nfs4_init_clientid()
264 clear_bit(NFS4CLNT_LEASE_CONFIRM, &clp->cl_state); in nfs41_finish_session_reset()
265 clear_bit(NFS4CLNT_SESSION_RESET, &clp->cl_state); in nfs41_finish_session_reset()
267 clear_bit(NFS4CLNT_BIND_CONN_TO_SESSION, &clp->cl_state); in nfs41_finish_session_reset()
275 if (test_bit(NFS4CLNT_LEASE_CONFIRM, &clp->cl_state)) in nfs41_init_clientid()
280 set_bit(NFS4CLNT_LEASE_CONFIRM, &clp->cl_state); in nfs41_init_clientid()
329 set_bit(NFS4CLNT_PURGE_STATE, &clp->cl_state); in nfs41_discover_server_trunking()
331 set_bit(NFS4CLNT_LEASE_CONFIRM, &clp->cl_state); in nfs41_discover_server_trunking()
[all …]
H A Ddelegation.c101 set_bit(NFS4CLNT_DELEGRETURN, &server->nfs_client->cl_state); in nfs_mark_return_delegation()
592 set_bit(NFS4CLNT_DELEGRETURN_DELAYED, &server->nfs_client->cl_state); in nfs_end_delegation_return()
685 set_bit(NFS4CLNT_DELEGRETURN, &server->nfs_client->cl_state); in nfs_delegations_return_from_lru()
727 if (!test_and_clear_bit(NFS4CLNT_DELEGRETURN_DELAYED, &clp->cl_state)) in nfs_client_clear_delayed_delegations()
738 set_bit(NFS4CLNT_DELEGRETURN, &clp->cl_state); in nfs_client_clear_delayed_delegations()
949 if (test_bit(NFS4CLNT_DELEGRETURN, &clp->cl_state)) in nfs_delegation_run_state_manager()
1145 set_bit(NFS4CLNT_DELEGRETURN, &clp->cl_state); in nfs_expire_unreferenced_delegations()
1321 return (clp->cl_state & (BIT(NFS4CLNT_CHECK_LEASE) | in nfs4_server_rebooted()
1334 set_bit(NFS4CLNT_DELEGATION_EXPIRED, &server->nfs_client->cl_state); in nfs_mark_test_expired_delegation()
1444 &server->nfs_client->cl_state); in nfs_server_reap_expired_delegations()
H A Dnfs40client.c94 set_bit(NFS4CLNT_LEASE_EXPIRED, &clp->cl_state); in nfs40_handle_cb_pathdown()
240 if (clp->cl_state) in nfs40_discover_server_trunking()
H A Dcallback_proc.c537 if (test_bit(NFS4CLNT_SESSION_RESET, &clp->cl_state)) in nfs4_callback_sequence()
640 set_bit(NFS4CLNT_RECALL_ANY_LAYOUT_READ, &cps->clp->cl_state); in nfs4_callback_recallany()
644 set_bit(NFS4CLNT_RECALL_ANY_LAYOUT_RW, &cps->clp->cl_state); in nfs4_callback_recallany()
H A Dnfs4client.c214 clp->cl_state = 1 << NFS4CLNT_LEASE_EXPIRED; in nfs4_alloc_client()
H A Dnfs4proc.c701 if (test_bit(NFS4CLNT_MANAGER_RUNNING, &clp->cl_state) == 0) in nfs4_async_handle_exception()
6391 if (test_bit(NFS4CLNT_PURGE_STATE, &clp->cl_state)) { in nfs4_init_boot_verifier()
8839 set_bit(NFS4CLNT_SERVER_SCOPE_MISMATCH, &clp->cl_state); in _nfs4_proc_exchange_id()
10600 set_bit(NFS4CLNT_RUN_MANAGER, &clp->cl_state); in nfs4_disable_swap()
10601 clear_bit(NFS4CLNT_MANAGER_AVAILABLE, &clp->cl_state); in nfs4_disable_swap()
10602 wake_up_var(&clp->cl_state); in nfs4_disable_swap()
/linux/fs/nfsd/
H A Dstate.h526 unsigned int cl_state; member
896 cmpxchg(&clp->cl_state, NFSD4_COURTESY, NFSD4_EXPIRABLE); in try_to_expire_client()
897 return clp->cl_state == NFSD4_EXPIRABLE; in try_to_expire_client()