Searched refs:ls_flags (Results 1 – 12 of 12) sorted by relevance
/kernel/linux/linux-5.10/fs/dlm/ |
D | recoverd.c | 39 set_bit(LSFL_RUNNING, &ls->ls_flags); in enable_locking() 42 clear_bit(LSFL_RECOVER_LOCK, &ls->ls_flags); in enable_locking() 264 clear_bit(LSFL_RECOVER_STOP, &ls->ls_flags); in do_ls_recovery() 285 set_bit(LSFL_RECOVER_LOCK, &ls->ls_flags); in dlm_recoverd() 299 if (!test_bit(LSFL_RECOVER_WORK, &ls->ls_flags) && in dlm_recoverd() 300 !test_bit(LSFL_RECOVER_DOWN, &ls->ls_flags)) { in dlm_recoverd() 307 if (test_and_clear_bit(LSFL_RECOVER_DOWN, &ls->ls_flags)) { in dlm_recoverd() 309 set_bit(LSFL_RECOVER_LOCK, &ls->ls_flags); in dlm_recoverd() 313 if (test_and_clear_bit(LSFL_RECOVER_WORK, &ls->ls_flags)) in dlm_recoverd() 317 if (test_bit(LSFL_RECOVER_LOCK, &ls->ls_flags)) in dlm_recoverd()
|
D | rcom.c | 27 return test_bit(LSFL_RCOM_READY, &ls->ls_flags); in rcom_response() 119 set_bit(LSFL_RCOM_WAIT, &ls->ls_flags); in allow_sync_reply() 126 clear_bit(LSFL_RCOM_WAIT, &ls->ls_flags); in disallow_sync_reply() 127 clear_bit(LSFL_RCOM_READY, &ls->ls_flags); in disallow_sync_reply() 256 if (!test_bit(LSFL_RCOM_WAIT, &ls->ls_flags) || in receive_sync_reply() 265 set_bit(LSFL_RCOM_READY, &ls->ls_flags); in receive_sync_reply() 266 clear_bit(LSFL_RCOM_WAIT, &ls->ls_flags); in receive_sync_reply() 570 stop = test_bit(LSFL_RECOVER_STOP, &ls->ls_flags); in dlm_receive_rcom()
|
D | lockspace.c | 67 set_bit(LSFL_UEVENT_WAIT, &ls->ls_flags); in dlm_event_store() 99 set_bit(LSFL_NODIR, &ls->ls_flags); in dlm_nodir_store() 211 test_and_clear_bit(LSFL_UEVENT_WAIT, &ls->ls_flags)); in do_uevent() 490 ls->ls_flags = 0; in new_lockspace() 499 set_bit(LSFL_TIMEWARN, &ls->ls_flags); in new_lockspace() 623 test_bit(LSFL_RECOVER_LOCK, &ls->ls_flags)); in new_lockspace() 898 if (!test_bit(LSFL_RUNNING, &ls->ls_flags)) { in dlm_stop_lockspaces()
|
D | dlm_internal.h | 528 unsigned long ls_flags; /* LSFL_ */ member 701 return !test_bit(LSFL_RUNNING, &ls->ls_flags); in dlm_locking_stopped() 706 return test_bit(LSFL_RECOVER_STOP, &ls->ls_flags); in dlm_recovery_stopped() 711 return test_bit(LSFL_NODIR, &ls->ls_flags); in dlm_no_directory()
|
D | ast.c | 202 if (test_bit(LSFL_CB_DELAY, &ls->ls_flags)) { in dlm_add_cb() 288 set_bit(LSFL_CB_DELAY, &ls->ls_flags); in dlm_callback_suspend() 302 clear_bit(LSFL_CB_DELAY, &ls->ls_flags); in dlm_callback_resume()
|
D | member.c | 617 set_bit(LSFL_RECOVER_STOP, &ls->ls_flags); in dlm_ls_stop() 618 new = test_and_clear_bit(LSFL_RUNNING, &ls->ls_flags); in dlm_ls_stop() 638 set_bit(LSFL_RECOVER_DOWN, &ls->ls_flags); in dlm_ls_stop() 641 test_bit(LSFL_RECOVER_LOCK, &ls->ls_flags)); in dlm_ls_stop() 708 set_bit(LSFL_RECOVER_WORK, &ls->ls_flags); in dlm_ls_start()
|
D | recover.c | 53 if (test_bit(LSFL_RCOM_WAIT, &ls->ls_flags)) { in dlm_wait_function()
|
D | lock.c | 1821 if (test_bit(LSFL_TIMEWARN, &ls->ls_flags) && in add_timeout()
|
/kernel/linux/linux-5.10/fs/nfs/ |
D | nfs4state.c | 948 if (test_bit(NFS_LOCK_INITIALIZED, &lsp->ls_flags)) { in nfs4_put_lock_state() 1007 if (lsp && test_bit(NFS_LOCK_LOST, &lsp->ls_flags)) in nfs4_copy_lock_stateid() 1009 else if (lsp != NULL && test_bit(NFS_LOCK_INITIALIZED, &lsp->ls_flags) != 0) { in nfs4_copy_lock_stateid() 1411 if (!test_bit(NFS_LOCK_INITIALIZED, &pos->ls_flags)) in nfs_state_find_lock_state_by_stateid() 1543 set_bit(NFS_LOCK_LOST, &lsp->ls_flags); in nfs4_reclaim_locks() 1617 if (!test_bit(NFS_LOCK_INITIALIZED, &lock->ls_flags)) in __nfs4_reclaim_open_state() 1740 clear_bit(NFS_LOCK_INITIALIZED, &lock->ls_flags); in nfs4_clear_open_state()
|
D | nfs4_fs.h | 151 unsigned long ls_flags; member
|
D | nfs4proc.c | 2290 set_bit(NFS_LOCK_LOST, &lsp->ls_flags); in nfs4_handle_delegation_recall_error() 2903 if (test_bit(NFS_LOCK_INITIALIZED, &lsp->ls_flags)) { in nfs41_check_expired_locks() 2918 clear_bit(NFS_LOCK_INITIALIZED, &lsp->ls_flags); in nfs41_check_expired_locks() 2921 set_bit(NFS_LOCK_LOST, &lsp->ls_flags); in nfs41_check_expired_locks() 6817 if (test_bit(NFS_LOCK_INITIALIZED, &calldata->lsp->ls_flags) == 0) { in nfs4_locku_prepare() 6911 if (test_bit(NFS_LOCK_INITIALIZED, &lsp->ls_flags) == 0) in nfs4_proc_unlck() 6990 if (!test_bit(NFS_LOCK_INITIALIZED, &data->lsp->ls_flags)) { in nfs4_lock_prepare() 7046 set_bit(NFS_LOCK_INITIALIZED, &lsp->ls_flags); in nfs4_lock_done() 7108 test_bit(NFS_LOCK_INITIALIZED, &lsp->ls_flags) != 0) in nfs4_handle_setlk_error() 7201 set_bit(NFS_LOCK_LOST, &request->fl_u.nfs4_fl.owner->ls_flags); in nfs4_lock_expired() [all …]
|
D | nfs4trace.h | 1135 __entry->lock_flags = lock->ls_flags;
|