Searched refs:ls_flags (Results 1 – 10 of 10) sorted by relevance
/fs/dlm/ |
D | recoverd.c | 41 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() 292 if (!test_bit(LSFL_RECOVER_WORK, &ls->ls_flags) && in dlm_recoverd() 293 !test_bit(LSFL_RECOVER_DOWN, &ls->ls_flags)) in dlm_recoverd() 297 if (test_and_clear_bit(LSFL_RECOVER_DOWN, &ls->ls_flags)) { in dlm_recoverd() 299 set_bit(LSFL_RECOVER_LOCK, &ls->ls_flags); in dlm_recoverd() 303 if (test_and_clear_bit(LSFL_RECOVER_WORK, &ls->ls_flags)) in dlm_recoverd() 307 if (test_bit(LSFL_RECOVER_LOCK, &ls->ls_flags)) in dlm_recoverd()
|
D | rcom.c | 29 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() 255 if (!test_bit(LSFL_RCOM_WAIT, &ls->ls_flags) || in receive_sync_reply() 264 set_bit(LSFL_RCOM_READY, &ls->ls_flags); in receive_sync_reply() 265 clear_bit(LSFL_RCOM_WAIT, &ls->ls_flags); in receive_sync_reply() 584 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() 212 test_and_clear_bit(LSFL_UEVENT_WAIT, &ls->ls_flags)); in do_uevent() 494 ls->ls_flags = 0; in new_lockspace() 503 set_bit(LSFL_TIMEWARN, &ls->ls_flags); in new_lockspace() 627 test_bit(LSFL_RECOVER_LOCK, &ls->ls_flags)); in new_lockspace() 903 if (!test_bit(LSFL_RUNNING, &ls->ls_flags)) { in dlm_stop_lockspaces()
|
D | dlm_internal.h | 524 unsigned long ls_flags; /* LSFL_ */ member 697 return !test_bit(LSFL_RUNNING, &ls->ls_flags); in dlm_locking_stopped() 702 return test_bit(LSFL_RECOVER_STOP, &ls->ls_flags); in dlm_recovery_stopped() 707 return test_bit(LSFL_NODIR, &ls->ls_flags); in dlm_no_directory()
|
D | member.c | 622 set_bit(LSFL_RECOVER_STOP, &ls->ls_flags); in dlm_ls_stop() 623 new = test_and_clear_bit(LSFL_RUNNING, &ls->ls_flags); in dlm_ls_stop() 643 set_bit(LSFL_RECOVER_DOWN, &ls->ls_flags); in dlm_ls_stop() 646 test_bit(LSFL_RECOVER_LOCK, &ls->ls_flags)); in dlm_ls_stop() 713 set_bit(LSFL_RECOVER_WORK, &ls->ls_flags); in dlm_ls_start()
|
D | ast.c | 201 if (test_bit(LSFL_CB_DELAY, &ls->ls_flags)) { in dlm_add_cb() 287 set_bit(LSFL_CB_DELAY, &ls->ls_flags); in dlm_callback_suspend() 298 clear_bit(LSFL_CB_DELAY, &ls->ls_flags); in dlm_callback_resume()
|
D | lock.c | 1822 if (test_bit(LSFL_TIMEWARN, &ls->ls_flags) && in add_timeout()
|
/fs/nfs/ |
D | nfs4state.c | 887 if (test_bit(NFS_LOCK_INITIALIZED, &lsp->ls_flags)) { in nfs4_put_lock_state() 945 if (lsp && test_bit(NFS_LOCK_LOST, &lsp->ls_flags)) in nfs4_copy_lock_stateid() 947 else if (lsp != NULL && test_bit(NFS_LOCK_INITIALIZED, &lsp->ls_flags) != 0) { in nfs4_copy_lock_stateid() 1450 if (!test_bit(NFS_LOCK_INITIALIZED, &lock->ls_flags)) in nfs4_reclaim_open_state() 1519 clear_bit(NFS_LOCK_INITIALIZED, &lock->ls_flags); in nfs4_clear_open_state()
|
D | nfs4_fs.h | 137 unsigned long ls_flags; member
|
D | nfs4proc.c | 5397 if (test_bit(NFS_LOCK_INITIALIZED, &calldata->lsp->ls_flags) == 0) { in nfs4_locku_prepare() 5488 if (test_bit(NFS_LOCK_INITIALIZED, &lsp->ls_flags) == 0) in nfs4_proc_unlck() 5613 set_bit(NFS_LOCK_INITIALIZED, &data->lsp->ls_flags); in nfs4_lock_done() 5655 test_bit(NFS_LOCK_INITIALIZED, &lsp->ls_flags) != 0) in nfs4_handle_setlk_error() 5748 set_bit(NFS_LOCK_LOST, &request->fl_u.nfs4_fl.owner->ls_flags); in nfs4_lock_expired() 5785 if (test_bit(NFS_LOCK_INITIALIZED, &lsp->ls_flags)) { in nfs41_check_expired_locks() 5799 clear_bit(NFS_LOCK_INITIALIZED, &lsp->ls_flags); in nfs41_check_expired_locks()
|