Searched refs:list_empty (Results 1 – 11 of 11) 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()
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…
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()
227 if (list_empty(&kthread_create_list)) in kthreadd()233 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()