Home
last modified time | relevance | path

Searched refs:list_empty (Results 1 – 12 of 12) sorted by relevance

/DragonOS-0.1.5/kernel/src/ktest/
Dtest-mutex.c40 assert(list_empty(&mtx.wait_list)); in ktest_mutex_case1_pid1()
58 while (list_empty(&mtx.wait_list)) in ktest_mutex_case1()
/DragonOS-0.1.5/kernel/src/libs/
Dsemaphore.c28 if (list_empty(&sema->wait_queue.wait_list)) // 没有进程在等待资源 in semaphore_up()
Dwait_queue.c73 if (list_empty(&wait_queue_head->wait_list)) in wait_queue_wakeup()
Dwait_queue_head.c71 if (list_empty(&q->wait_list)) in wait_queue_wakeup_on_stack()
Dmutex.c80 if (!list_empty(&lock->wait_list)) in mutex_unlock()
/DragonOS-0.1.5/kernel/src/time/
Dtimer.c45 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()
/DragonOS-0.1.5/kernel/src/sched/
Dcompletion.c42 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()
/DragonOS-0.1.5/kernel/src/common/
Dlist.h89 static inline bool list_empty(struct List *entry) in list_empty() function
157 #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…
/DragonOS-0.1.5/kernel/src/process/
Dkthread.c223 if (list_empty(&kthread_create_list)) in kthreadd()
228 while (!list_empty(&kthread_create_list)) in kthreadd()
/DragonOS-0.1.5/kernel/src/libs/libUI/
Dscreen_manager.c244 if (list_empty(&scm_framework_list)) // scm 框架链表为空 in scm_enable_double_buffer()
/DragonOS-0.1.5/docs/kernel/core_api/
Dkernel_api.md75 ### `bool list_empty(struct List *entry)`
/DragonOS-0.1.5/kernel/src/mm/
Dslab.c131 while (!list_empty(&slab_obj_ptr->list)) in slab_destroy()