Home
last modified time | relevance | path

Searched refs:cl_state (Results 1 – 11 of 11) 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 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 Ddelegation.c101 set_bit(NFS4CLNT_DELEGRETURN, &server->nfs_client->cl_state); in nfs_mark_return_delegation()
609 set_bit(NFS4CLNT_DELEGRETURN_DELAYED, &server->nfs_client->cl_state); in nfs_end_delegation_return()
702 set_bit(NFS4CLNT_DELEGRETURN, &server->nfs_client->cl_state); in nfs_delegations_return_from_lru()
744 if (!test_and_clear_bit(NFS4CLNT_DELEGRETURN_DELAYED, &clp->cl_state)) in nfs_client_clear_delayed_delegations()
755 set_bit(NFS4CLNT_DELEGRETURN, &clp->cl_state); in nfs_client_clear_delayed_delegations()
966 if (test_bit(NFS4CLNT_DELEGRETURN, &clp->cl_state)) in nfs_delegation_run_state_manager()
1162 set_bit(NFS4CLNT_DELEGRETURN, &clp->cl_state); in nfs_expire_unreferenced_delegations()
1338 return (clp->cl_state & (BIT(NFS4CLNT_CHECK_LEASE) | in nfs4_server_rebooted()
1351 set_bit(NFS4CLNT_DELEGATION_EXPIRED, &server->nfs_client->cl_state); in nfs_mark_test_expired_delegation()
1461 &server->nfs_client->cl_state); in nfs_server_reap_expired_delegations()
H A Dcallback_proc.c539 if (test_bit(NFS4CLNT_SESSION_RESET, &clp->cl_state)) in nfs4_callback_sequence()
642 set_bit(NFS4CLNT_RECALL_ANY_LAYOUT_READ, &cps->clp->cl_state); in nfs4_callback_recallany()
646 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 Dnfs4trace.h394 __entry->state = clp->cl_state;
422 __entry->state = clp->cl_state;
H A Dnfs4proc.c715 if (test_bit(NFS4CLNT_MANAGER_RUNNING, &clp->cl_state) == 0) in nfs4_async_handle_exception()
6447 if (test_bit(NFS4CLNT_PURGE_STATE, &clp->cl_state)) { in nfs4_init_boot_verifier()
8897 set_bit(NFS4CLNT_SERVER_SCOPE_MISMATCH, &clp->cl_state); in _nfs4_proc_exchange_id()
10702 set_bit(NFS4CLNT_RUN_MANAGER, &clp->cl_state); in nfs4_disable_swap()
10703 clear_bit(NFS4CLNT_MANAGER_AVAILABLE, &clp->cl_state); in nfs4_disable_swap()
10704 wake_up_var(&clp->cl_state); in nfs4_disable_swap()
/linux/include/linux/
H A Dintel-ish-client-if.h23 enum cl_state { enum
/linux/fs/nfsd/
H A Dstate.h600 unsigned int cl_state; member
980 cmpxchg(&clp->cl_state, NFSD4_COURTESY, NFSD4_EXPIRABLE); in try_to_expire_client()
981 return clp->cl_state == NFSD4_EXPIRABLE; in try_to_expire_client()
H A Dnfs4state.c172 if (clp->cl_state != NFSD4_ACTIVE) in nfsd4_dec_courtesy_client_count()
186 clp->cl_state = NFSD4_ACTIVE; in get_client_locked()
208 clp->cl_state = NFSD4_ACTIVE; in renew_client_locked()
2733 clp->cl_state = NFSD4_ACTIVE; in alloc_client()
3206 if (clp->cl_state == NFSD4_COURTESY) in client_info_show()
3208 else if (clp->cl_state == NFSD4_EXPIRABLE) in client_info_show()
7508 if (clp->cl_state == NFSD4_EXPIRABLE) in nfs4_get_client_reaplist()
7513 if (clp->cl_state == NFSD4_ACTIVE) in nfs4_get_client_reaplist()
7515 clp->cl_state = NFSD4_COURTESY; in nfs4_get_client_reaplist()
7545 if (clp->cl_state == NFSD4_ACTIVE) in nfs4_get_courtesy_client_reaplist()
[all …]
H A Dnfs4callback.c1863 if (!clnt || clp->cl_state == NFSD4_COURTESY) { in nfsd4_run_cb_work()