Searched refs:container_of (Results 1 – 11 of 11) sorted by relevance
/DragonOS-0.1.7/kernel/src/libs/ |
D | semaphore.c | 35 …wait_queue_node_t *wq = container_of(list_next(&sema->wait_queue.wait_list), wait_queue_node_t, wa… in semaphore_up()
|
D | wait_queue.c | 75 …wait_queue_node_t *wait = container_of(list_next(&wait_queue_head->wait_list), wait_queue_node_t, … in wait_queue_wakeup()
|
D | wait_queue_head.c | 74 wait_queue_node_t *wait = container_of(list_next(&q->wait_list), wait_queue_node_t, wait_list); in wait_queue_wakeup_on_stack()
|
D | mutex.c | 81 wt = container_of(list_next(&lock->wait_list), struct mutex_waiter_t, list); in mutex_unlock()
|
/DragonOS-0.1.7/kernel/src/ktest/ |
D | test-mutex.c | 63 … struct mutex_waiter_t *wt = container_of(list_next(&mtx.wait_list), struct mutex_waiter_t, list); in ktest_mutex_case1()
|
/DragonOS-0.1.7/kernel/src/libs/libUI/ |
D | screen_manager.c | 248 …struct scm_ui_framework_t *ptr = container_of(list_next(&scm_framework_list), struct scm_ui_framew… in scm_enable_double_buffer() 314 …struct scm_ui_framework_t *ptr = container_of(list_next(&scm_framework_list), struct scm_ui_framew… in scm_reinit()
|
/DragonOS-0.1.7/kernel/src/mm/ |
D | slab.c | 135 slab_obj_ptr = container_of(list_next(&slab_obj_ptr->list), struct slab_obj, list); in slab_destroy() 225 slab_obj_ptr = container_of(list_next(&slab_obj_ptr->list), struct slab_obj, list); in slab_malloc() 298 slab_obj_ptr = container_of(list_next(&slab_obj_ptr->list), struct slab_obj, list); in slab_free() 584 slab_obj_ptr = container_of(list_next(&slab_obj_ptr->list), struct slab_obj, list); in kmalloc() 654 slab_obj_ptr = container_of(list_next(&slab_obj_ptr->list), struct slab_obj, list); in kfree()
|
/DragonOS-0.1.7/kernel/src/driver/pci/ |
D | pci.c | 435 …struct pci_device_structure_header_t *ptr = container_of(pci_device_structure_list, struct pci_dev… in pci_init() 469 ptr = container_of(list_next(&(ptr->list)), struct pci_device_structure_header_t, list); in pci_init() 485 …struct pci_device_structure_header_t *ptr = container_of(pci_device_structure_list, struct pci_dev… in pci_get_device_structure() 497 ptr = container_of(list_next(&(ptr->list)), struct pci_device_structure_header_t, list); in pci_get_device_structure()
|
/DragonOS-0.1.7/kernel/src/common/ |
D | glib.h | 27 #define container_of(ptr, type, member) \ macro
|
D | list.h | 137 #define list_entry(ptr, type, member) container_of(ptr, type, member)
|
/DragonOS-0.1.7/kernel/src/process/ |
D | kthread.c | 238 container_of(kthread_create_list.next, struct kthread_create_info_t, list); in kthreadd()
|