Searched refs:ls_flags (Results 1 – 12 of 12) sorted by relevance
/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() 268 clear_bit(LSFL_RECOVER_STOP, &ls->ls_flags); in do_ls_recovery() 313 set_bit(LSFL_RECOVER_LOCK, &ls->ls_flags); in dlm_recoverd() 327 if (!test_bit(LSFL_RECOVER_WORK, &ls->ls_flags) && in dlm_recoverd() 328 !test_bit(LSFL_RECOVER_DOWN, &ls->ls_flags)) { in dlm_recoverd() 335 if (test_and_clear_bit(LSFL_RECOVER_DOWN, &ls->ls_flags)) { in dlm_recoverd() 337 set_bit(LSFL_RECOVER_LOCK, &ls->ls_flags); in dlm_recoverd() 341 if (test_and_clear_bit(LSFL_RECOVER_WORK, &ls->ls_flags)) in dlm_recoverd() 345 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() 150 set_bit(LSFL_RCOM_WAIT, &ls->ls_flags); in allow_sync_reply() 157 clear_bit(LSFL_RCOM_WAIT, &ls->ls_flags); in disallow_sync_reply() 158 clear_bit(LSFL_RCOM_READY, &ls->ls_flags); in disallow_sync_reply() 287 if (!test_bit(LSFL_RCOM_WAIT, &ls->ls_flags) || in receive_sync_reply() 298 set_bit(LSFL_RCOM_READY, &ls->ls_flags); in receive_sync_reply() 299 clear_bit(LSFL_RCOM_WAIT, &ls->ls_flags); in receive_sync_reply()
|
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() 483 ls->ls_flags = 0; in new_lockspace() 499 set_bit(LSFL_TIMEWARN, &ls->ls_flags); in new_lockspace() 641 test_bit(LSFL_RECOVER_LOCK, &ls->ls_flags)); in new_lockspace() 946 if (!test_bit(LSFL_RUNNING, &ls->ls_flags)) { in dlm_stop_lockspaces()
|
D | member.c | 621 set_bit(LSFL_RECOVER_STOP, &ls->ls_flags); in dlm_ls_stop() 622 new = test_and_clear_bit(LSFL_RUNNING, &ls->ls_flags); in dlm_ls_stop() 642 set_bit(LSFL_RECOVER_DOWN, &ls->ls_flags); in dlm_ls_stop() 645 test_bit(LSFL_RECOVER_LOCK, &ls->ls_flags)); in dlm_ls_stop() 721 set_bit(LSFL_RECOVER_WORK, &ls->ls_flags); in dlm_ls_start()
|
D | dlm_internal.h | 569 unsigned long ls_flags; /* LSFL_ */ member 749 return !test_bit(LSFL_RUNNING, &ls->ls_flags); in dlm_locking_stopped() 754 return test_bit(LSFL_RECOVER_STOP, &ls->ls_flags); in dlm_recovery_stopped() 759 return test_bit(LSFL_NODIR, &ls->ls_flags); in dlm_no_directory()
|
D | ast.c | 204 if (test_bit(LSFL_CB_DELAY, &ls->ls_flags)) { in dlm_add_cb() 293 set_bit(LSFL_CB_DELAY, &ls->ls_flags); in dlm_callback_suspend() 311 clear_bit(LSFL_CB_DELAY, &ls->ls_flags); in dlm_callback_resume()
|
D | recover.c | 53 if (test_bit(LSFL_RCOM_WAIT, &ls->ls_flags)) { in dlm_wait_function()
|
D | lock.c | 1794 if (test_bit(LSFL_TIMEWARN, &ls->ls_flags) && in add_timeout()
|
/fs/nfs/ |
D | nfs4state.c | 951 if (test_bit(NFS_LOCK_INITIALIZED, &lsp->ls_flags)) { in nfs4_put_lock_state() 1010 if (lsp && test_bit(NFS_LOCK_LOST, &lsp->ls_flags)) in nfs4_copy_lock_stateid() 1012 else if (lsp != NULL && test_bit(NFS_LOCK_INITIALIZED, &lsp->ls_flags) != 0) { in nfs4_copy_lock_stateid() 1428 if (!test_bit(NFS_LOCK_INITIALIZED, &pos->ls_flags)) in nfs_state_find_lock_state_by_stateid() 1560 set_bit(NFS_LOCK_LOST, &lsp->ls_flags); in nfs4_reclaim_locks() 1635 if (!test_bit(NFS_LOCK_INITIALIZED, &lock->ls_flags)) in __nfs4_reclaim_open_state() 1760 clear_bit(NFS_LOCK_INITIALIZED, &lock->ls_flags); in nfs4_clear_open_state()
|
D | nfs4_fs.h | 152 unsigned long ls_flags; member
|
D | nfs4proc.c | 2298 set_bit(NFS_LOCK_LOST, &lsp->ls_flags); in nfs4_handle_delegation_recall_error() 2920 if (test_bit(NFS_LOCK_INITIALIZED, &lsp->ls_flags)) { in nfs41_check_expired_locks() 2935 clear_bit(NFS_LOCK_INITIALIZED, &lsp->ls_flags); in nfs41_check_expired_locks() 2938 set_bit(NFS_LOCK_LOST, &lsp->ls_flags); in nfs41_check_expired_locks() 6951 if (test_bit(NFS_LOCK_INITIALIZED, &calldata->lsp->ls_flags) == 0) { in nfs4_locku_prepare() 7048 if (test_bit(NFS_LOCK_INITIALIZED, &lsp->ls_flags) == 0) in nfs4_proc_unlck() 7126 if (!test_bit(NFS_LOCK_INITIALIZED, &data->lsp->ls_flags)) { in nfs4_lock_prepare() 7180 set_bit(NFS_LOCK_INITIALIZED, &lsp->ls_flags); in nfs4_lock_done() 7245 test_bit(NFS_LOCK_INITIALIZED, &lsp->ls_flags) != 0) in nfs4_handle_setlk_error() 7339 set_bit(NFS_LOCK_LOST, &request->fl_u.nfs4_fl.owner->ls_flags); in nfs4_lock_expired() [all …]
|
D | nfs4trace.h | 872 __entry->lock_flags = lock->ls_flags;
|