Home
last modified time | relevance | path

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

/DragonOS-0.1.7/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.7/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.7/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.7/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.7/kernel/src/process/
Dkthread.c227 if (list_empty(&kthread_create_list)) in kthreadd()
233 while (!list_empty(&kthread_create_list)) in kthreadd()
/DragonOS-0.1.7/kernel/src/libs/libUI/
Dscreen_manager.c244 if (list_empty(&scm_framework_list)) // scm 框架链表为空 in scm_enable_double_buffer()
/DragonOS-0.1.7/docs/kernel/core_api/
Dkernel_api.md75 ### `bool list_empty(struct List *entry)`
/DragonOS-0.1.7/kernel/src/mm/
Dslab.c131 while (!list_empty(&slab_obj_ptr->list)) in slab_destroy()