/DragonOS-0.1.3/kernel/src/time/ |
D | timer.c | 43 …struct timer_func_list_t *tmp = container_of(list_next(&timer_func_head.list), struct timer_func_l… in do_timer_softirq() 63 tmp = container_of(list_next(&timer_func_head.list), struct timer_func_list_t, list); in do_timer_softirq() 107 …struct timer_func_list_t *tmp = container_of(list_next(&timer_func_head.list), struct timer_func_l… in timer_func_add() 111 tmp = container_of(list_next(&tmp->list), struct timer_func_list_t, list); in timer_func_add()
|
/DragonOS-0.1.3/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_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 | 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 | mutex.c | 81 wt = container_of(list_next(&lock->wait_list), struct mutex_waiter_t, list); in mutex_unlock()
|
/DragonOS-0.1.3/kernel/src/mm/ |
D | mmio-buddy.c | 99 …struct __mmio_buddy_addr_region *r = container_of(list_next(&__mmio_pool.free_regions[__exp2index(… in __buddy_pop_region() 126 … struct __mmio_buddy_addr_region *bd = container_of(list, struct __mmio_buddy_addr_region, list); in __find_buddy() 149 … struct __mmio_buddy_addr_region *ptr = container_of(list, struct __mmio_buddy_addr_region, list); in __buddy_merge()
|
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.3/kernel/src/filesystem/rootfs/ |
D | rootfs.c | 68 … struct vfs_dir_entry_t *target_dent = container_of(list, struct vfs_dir_entry_t, child_node_list); in rootfs_readdir() 121 … struct vfs_dir_entry_t *tmp = container_of(list, struct vfs_dir_entry_t, child_node_list); in rootfs_add_dir() 183 struct vfs_dir_entry_t *tmp = container_of(list, struct vfs_dir_entry_t, child_node_list); in rootfs_migrate()
|
/DragonOS-0.1.3/kernel/src/filesystem/vfs/ |
D | mount.c | 81 struct mountpoint *tmp = container_of(list, struct mountpoint, mnt_list); in mount_find_mnt_list_by_parent()
|
D | dcache.c | 56 … in_value = (uint64_t)container_of(list, struct vfs_dir_entry_t, child_node_list); in vfs_dentry_put()
|
D | VFS.c | 123 d_ptr = container_of(ptr, struct vfs_dir_entry_t, child_node_list); in vfs_search_dentry_list()
|
/DragonOS-0.1.3/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.3/kernel/src/filesystem/devfs/ |
D | internal.h | 41 … struct vfs_dir_entry_t *target_dent = container_of(list, struct vfs_dir_entry_t, child_node_list); in __devfs_find_dentry()
|
D | devfs.c | 101 … struct vfs_dir_entry_t *target_dent = container_of(list, struct vfs_dir_entry_t, child_node_list); in devfs_readdir()
|
/DragonOS-0.1.3/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() 315 …struct scm_ui_framework_t *ptr = container_of(list_next(&scm_framework_list), struct scm_ui_framew… in scm_reinit()
|
/DragonOS-0.1.3/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.3/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.3/kernel/src/driver/timers/HPET/ |
D | HPET.c | 79 …if (container_of(list_next(&timer_func_head.list), struct timer_func_list_t, list)->expire_jiffies… in HPET_handler()
|
/DragonOS-0.1.3/kernel/src/process/ |
D | kthread.c | 233 container_of(kthread_create_list.next, struct kthread_create_info_t, list); in kthreadd()
|
/DragonOS-0.1.3/kernel/src/driver/disk/ahci/ |
D | ahci.c | 600 …wait_queue_node_t *wait_queue_tmp = container_of(list_next(&ahci_req_queue.wait_queue_list.wait_li… in ahci_query_disk() 601 …struct ahci_request_packet_t *pack = (struct ahci_request_packet_t *)container_of(wait_queue_tmp, … in ahci_query_disk()
|
/DragonOS-0.1.3/kernel/src/filesystem/procfs/ |
D | procfs.c | 287 … struct vfs_dir_entry_t *target_dent = container_of(list, struct vfs_dir_entry_t, child_node_list); in procfs_readdir()
|