Lines Matching refs:state
51 if (res->state & flags) { in __dlm_wait_on_lockres_flags()
87 if (!list_empty(&res->dirty) || res->state & DLM_LOCK_RES_DIRTY) in __dlm_lockres_unused()
90 if (res->state & (DLM_LOCK_RES_RECOVERING| in __dlm_lockres_unused()
187 res->state &= ~DLM_LOCK_RES_DROPPING_REF; in __dlm_do_purge_lockres()
205 if (res->state & DLM_LOCK_RES_DROPPING_REF) { in dlm_purge_lockres()
212 res->state |= DLM_LOCK_RES_DROPPING_REF; in dlm_purge_lockres()
269 res->state &= ~DLM_LOCK_RES_DROPPING_REF; in dlm_purge_lockres()
314 (lockres->state & DLM_LOCK_RES_MIGRATING) || in dlm_run_purge_list()
320 !unused, lockres->state, in dlm_run_purge_list()
354 BUG_ON((res->state & (DLM_LOCK_RES_MIGRATING| in dlm_shuffle_lists()
516 if (res->state & (DLM_LOCK_RES_MIGRATING | in __dlm_dirty_lockres()
524 res->state |= DLM_LOCK_RES_DIRTY; in __dlm_dirty_lockres()
732 !!(res->state & DLM_LOCK_RES_IN_PROGRESS), in dlm_thread()
733 !!(res->state & DLM_LOCK_RES_MIGRATING), in dlm_thread()
734 !!(res->state & DLM_LOCK_RES_RECOVERING), in dlm_thread()
735 !!(res->state & DLM_LOCK_RES_DIRTY)); in dlm_thread()
742 BUG_ON(res->state & DLM_LOCK_RES_MIGRATING); in dlm_thread()
743 if (res->state & (DLM_LOCK_RES_IN_PROGRESS | in dlm_thread()
747 res->state &= ~DLM_LOCK_RES_DIRTY; in dlm_thread()
753 res->state); in dlm_thread()
765 res->state &= ~DLM_LOCK_RES_DIRTY; in dlm_thread()