Lines Matching refs:list_empty
82 if (list_empty(&res->granted) && in __dlm_lockres_has_locks()
83 list_empty(&res->converting) && in __dlm_lockres_has_locks()
84 list_empty(&res->blocked)) in __dlm_lockres_has_locks()
106 if (!list_empty(&res->dirty) || res->state & DLM_LOCK_RES_DIRTY) in __dlm_lockres_unused()
132 if (list_empty(&res->purge)) { in __dlm_lockres_calc_usage()
141 } else if (!list_empty(&res->purge)) { in __dlm_lockres_calc_usage()
175 if (!list_empty(&res->purge)) { in __dlm_do_purge_lockres()
193 if (!list_empty(&res->tracking)) in __dlm_do_purge_lockres()
251 if (!list_empty(&res->purge)) { in dlm_purge_lockres()
276 if (!list_empty(&res->tracking)) in dlm_purge_lockres()
305 while(run_max && !list_empty(&dlm->purge_list)) { in dlm_run_purge_list()
378 if (list_empty(&res->converting)) in dlm_shuffle_lists()
452 if (list_empty(&res->blocked)) in dlm_shuffle_lists()
539 if (list_empty(&res->dirty)) { in __dlm_dirty_lockres()
582 empty = list_empty(&dlm->dirty_list); in dlm_dirty_list_empty()
596 while (!list_empty(&dlm->pending_asts)) { in dlm_flush_asts()
627 if (!list_empty(&lock->ast_list)) { in dlm_flush_asts()
640 while (!list_empty(&dlm->pending_basts)) { in dlm_flush_asts()
679 if (!list_empty(&lock->bast_list)) { in dlm_flush_asts()
725 while (!list_empty(&dlm->dirty_list)) { in dlm_thread()