Searched refs:list_empty (Results 1 – 12 of 12) sorted by relevance
40 assert(list_empty(&mtx.wait_list)); in ktest_mutex_case1_pid1()58 while (list_empty(&mtx.wait_list)) in ktest_mutex_case1()
28 if (list_empty(&sema->wait_queue.wait_list)) // 没有进程在等待资源 in semaphore_up()
73 if (list_empty(&wait_queue_head->wait_list)) in wait_queue_wakeup()
71 if (list_empty(&q->wait_list)) in wait_queue_wakeup_on_stack()
80 if (!list_empty(&lock->wait_list)) in mutex_unlock()
45 while ((!list_empty(&timer_func_head.list)) && (tmp->expire_jiffies <= timer_jiffies)) in do_timer_softirq()109 if (list_empty(&timer_func_head.list) == false) in timer_func_add()
42 while (!list_empty(&x->wait_queue.wait_list)) in complete_all()66 if (list_empty(&wait.wait_list)) in __wait_for_common()79 if (!list_empty(&wait.wait_list)) in __wait_for_common()
89 static inline bool list_empty(struct List *entry) in list_empty() function157 #define list_first_entry_or_null(ptr, type, member) (!list_empty(ptr) ? list_entry((ptr)->next, typ…177 #define list_last_entry_or_full(ptr, type, member) (!list_empty(ptr) ? list_entry((ptr)->prev, type…
223 if (list_empty(&kthread_create_list)) in kthreadd()228 while (!list_empty(&kthread_create_list)) in kthreadd()
244 if (list_empty(&scm_framework_list)) // scm 框架链表为空 in scm_enable_double_buffer()
75 ### `bool list_empty(struct List *entry)`
131 while (!list_empty(&slab_obj_ptr->list)) in slab_destroy()