Home
last modified time | relevance | path

Searched refs:ls_flags (Results 1 – 11 of 11) sorted by relevance

/linux-4.19.296/fs/dlm/
Drecoverd.c41 set_bit(LSFL_RUNNING, &ls->ls_flags); in enable_locking()
44 clear_bit(LSFL_RECOVER_LOCK, &ls->ls_flags); in enable_locking()
266 clear_bit(LSFL_RECOVER_STOP, &ls->ls_flags); in do_ls_recovery()
287 set_bit(LSFL_RECOVER_LOCK, &ls->ls_flags); in dlm_recoverd()
301 if (!test_bit(LSFL_RECOVER_WORK, &ls->ls_flags) && in dlm_recoverd()
302 !test_bit(LSFL_RECOVER_DOWN, &ls->ls_flags)) { in dlm_recoverd()
309 if (test_and_clear_bit(LSFL_RECOVER_DOWN, &ls->ls_flags)) { in dlm_recoverd()
311 set_bit(LSFL_RECOVER_LOCK, &ls->ls_flags); in dlm_recoverd()
315 if (test_and_clear_bit(LSFL_RECOVER_WORK, &ls->ls_flags)) in dlm_recoverd()
319 if (test_bit(LSFL_RECOVER_LOCK, &ls->ls_flags)) in dlm_recoverd()
Drcom.c29 return test_bit(LSFL_RCOM_READY, &ls->ls_flags); in rcom_response()
121 set_bit(LSFL_RCOM_WAIT, &ls->ls_flags); in allow_sync_reply()
128 clear_bit(LSFL_RCOM_WAIT, &ls->ls_flags); in disallow_sync_reply()
129 clear_bit(LSFL_RCOM_READY, &ls->ls_flags); in disallow_sync_reply()
258 if (!test_bit(LSFL_RCOM_WAIT, &ls->ls_flags) || in receive_sync_reply()
267 set_bit(LSFL_RCOM_READY, &ls->ls_flags); in receive_sync_reply()
268 clear_bit(LSFL_RCOM_WAIT, &ls->ls_flags); in receive_sync_reply()
572 stop = test_bit(LSFL_RECOVER_STOP, &ls->ls_flags); in dlm_receive_rcom()
Dlockspace.c69 set_bit(LSFL_UEVENT_WAIT, &ls->ls_flags); in dlm_event_store()
101 set_bit(LSFL_NODIR, &ls->ls_flags); in dlm_nodir_store()
214 test_and_clear_bit(LSFL_UEVENT_WAIT, &ls->ls_flags)); in do_uevent()
501 ls->ls_flags = 0; in new_lockspace()
510 set_bit(LSFL_TIMEWARN, &ls->ls_flags); in new_lockspace()
634 test_bit(LSFL_RECOVER_LOCK, &ls->ls_flags)); in new_lockspace()
911 if (!test_bit(LSFL_RUNNING, &ls->ls_flags)) { in dlm_stop_lockspaces()
Ddlm_internal.h530 unsigned long ls_flags; /* LSFL_ */ member
703 return !test_bit(LSFL_RUNNING, &ls->ls_flags); in dlm_locking_stopped()
708 return test_bit(LSFL_RECOVER_STOP, &ls->ls_flags); in dlm_recovery_stopped()
713 return test_bit(LSFL_NODIR, &ls->ls_flags); in dlm_no_directory()
Dast.c204 if (test_bit(LSFL_CB_DELAY, &ls->ls_flags)) { in dlm_add_cb()
290 set_bit(LSFL_CB_DELAY, &ls->ls_flags); in dlm_callback_suspend()
304 clear_bit(LSFL_CB_DELAY, &ls->ls_flags); in dlm_callback_resume()
Dmember.c619 set_bit(LSFL_RECOVER_STOP, &ls->ls_flags); in dlm_ls_stop()
620 new = test_and_clear_bit(LSFL_RUNNING, &ls->ls_flags); in dlm_ls_stop()
640 set_bit(LSFL_RECOVER_DOWN, &ls->ls_flags); in dlm_ls_stop()
643 test_bit(LSFL_RECOVER_LOCK, &ls->ls_flags)); in dlm_ls_stop()
710 set_bit(LSFL_RECOVER_WORK, &ls->ls_flags); in dlm_ls_start()
Drecover.c55 if (test_bit(LSFL_RCOM_WAIT, &ls->ls_flags)) { in dlm_wait_function()
Dlock.c1823 if (test_bit(LSFL_TIMEWARN, &ls->ls_flags) && in add_timeout()
/linux-4.19.296/fs/nfs/
Dnfs4state.c956 if (test_bit(NFS_LOCK_INITIALIZED, &lsp->ls_flags)) { in nfs4_put_lock_state()
1015 if (lsp && test_bit(NFS_LOCK_LOST, &lsp->ls_flags)) in nfs4_copy_lock_stateid()
1017 else if (lsp != NULL && test_bit(NFS_LOCK_INITIALIZED, &lsp->ls_flags) != 0) { in nfs4_copy_lock_stateid()
1436 if (!test_bit(NFS_LOCK_INITIALIZED, &pos->ls_flags)) in nfs_state_find_lock_state_by_stateid()
1564 set_bit(NFS_LOCK_LOST, &lsp->ls_flags); in nfs4_reclaim_locks()
1612 if (!test_bit(NFS_LOCK_INITIALIZED, &lock->ls_flags)) in nfs4_reclaim_open_state()
1703 clear_bit(NFS_LOCK_INITIALIZED, &lock->ls_flags); in nfs4_clear_open_state()
Dnfs4_fs.h147 unsigned long ls_flags; member
Dnfs4proc.c2151 set_bit(NFS_LOCK_LOST, &lsp->ls_flags); in nfs4_handle_delegation_recall_error()
2746 if (test_bit(NFS_LOCK_INITIALIZED, &lsp->ls_flags)) { in nfs41_check_expired_locks()
2761 clear_bit(NFS_LOCK_INITIALIZED, &lsp->ls_flags); in nfs41_check_expired_locks()
2764 set_bit(NFS_LOCK_LOST, &lsp->ls_flags); in nfs41_check_expired_locks()
6414 if (test_bit(NFS_LOCK_INITIALIZED, &calldata->lsp->ls_flags) == 0) { in nfs4_locku_prepare()
6508 if (test_bit(NFS_LOCK_INITIALIZED, &lsp->ls_flags) == 0) in nfs4_proc_unlck()
6587 if (!test_bit(NFS_LOCK_INITIALIZED, &data->lsp->ls_flags)) { in nfs4_lock_prepare()
6643 set_bit(NFS_LOCK_INITIALIZED, &lsp->ls_flags); in nfs4_lock_done()
6705 test_bit(NFS_LOCK_INITIALIZED, &lsp->ls_flags) != 0) in nfs4_handle_setlk_error()
6798 set_bit(NFS_LOCK_LOST, &request->fl_u.nfs4_fl.owner->ls_flags); in nfs4_lock_expired()
[all …]