Lines Matching refs:list_empty
63 if (list_empty(&res->granted) && in __dlm_lockres_has_locks()
64 list_empty(&res->converting) && in __dlm_lockres_has_locks()
65 list_empty(&res->blocked)) in __dlm_lockres_has_locks()
87 if (!list_empty(&res->dirty) || res->state & DLM_LOCK_RES_DIRTY) in __dlm_lockres_unused()
113 if (list_empty(&res->purge)) { in __dlm_lockres_calc_usage()
122 } else if (!list_empty(&res->purge)) { in __dlm_lockres_calc_usage()
156 if (!list_empty(&res->purge)) { in __dlm_do_purge_lockres()
174 if (!list_empty(&res->tracking)) in __dlm_do_purge_lockres()
232 if (!list_empty(&res->purge)) { in dlm_purge_lockres()
257 if (!list_empty(&res->tracking)) in dlm_purge_lockres()
286 while(run_max && !list_empty(&dlm->purge_list)) { in dlm_run_purge_list()
359 if (list_empty(&res->converting)) in dlm_shuffle_lists()
433 if (list_empty(&res->blocked)) in dlm_shuffle_lists()
520 if (list_empty(&res->dirty)) { in __dlm_dirty_lockres()
563 empty = list_empty(&dlm->dirty_list); in dlm_dirty_list_empty()
577 while (!list_empty(&dlm->pending_asts)) { in dlm_flush_asts()
608 if (!list_empty(&lock->ast_list)) { in dlm_flush_asts()
621 while (!list_empty(&dlm->pending_basts)) { in dlm_flush_asts()
660 if (!list_empty(&lock->bast_list)) { in dlm_flush_asts()
705 while (!list_empty(&dlm->dirty_list)) { in dlm_thread()