Home
last modified time | relevance | path

Searched refs:container_of (Results 1 – 23 of 23) sorted by relevance

/DragonOS-0.1.2/kernel/src/time/
Dtimer.c43 …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.2/kernel/src/sched/
Dcfs.c21 …struct process_control_block *proc = container_of(list_next(&sched_cfs_ready_queue[proc_current_cp… in sched_cfs_dequeue()
37 …struct process_control_block *proc = container_of(list_next(&sched_cfs_ready_queue[proc_current_cp… in sched_cfs_enqueue()
42 proc = container_of(list_next(&proc->list), struct process_control_block, list); in sched_cfs_enqueue()
/DragonOS-0.1.2/kernel/src/libs/
Dsemaphore.c34 …wait_queue_node_t *wq = container_of(list_next(&sema->wait_queue.wait_list), wait_queue_node_t, wa… in semaphore_up()
Dwait_queue_head.c74 wait_queue_node_t *wait = container_of(list_next(&q->wait_list), wait_queue_node_t, wait_list); in wait_queue_wakeup_on_stack()
Dwait_queue.c75 …wait_queue_node_t *wait = container_of(list_next(&wait_queue_head->wait_list), wait_queue_node_t, … in wait_queue_wakeup()
Dmutex.c80 wt = container_of(list_next(&lock->wait_list), struct mutex_waiter_t, list); in mutex_unlock()
/DragonOS-0.1.2/kernel/src/mm/
Dmmio-buddy.c99 …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()
Dslab.c135 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.2/kernel/src/filesystem/rootfs/
Drootfs.c68 … 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.2/kernel/src/filesystem/VFS/
Dmount.c81 struct mountpoint *tmp = container_of(list, struct mountpoint, mnt_list); in mount_find_mnt_list_by_parent()
Ddcache.c56 … in_value = (uint64_t)container_of(list, struct vfs_dir_entry_t, child_node_list); in vfs_dentry_put()
DVFS.c123 d_ptr = container_of(ptr, struct vfs_dir_entry_t, child_node_list); in vfs_search_dentry_list()
/DragonOS-0.1.2/kernel/src/ktest/
Dtest-mutex.c63 … struct mutex_waiter_t *wt = container_of(list_next(&mtx.wait_list), struct mutex_waiter_t, list); in ktest_mutex_case1()
/DragonOS-0.1.2/kernel/src/filesystem/devfs/
Dinternal.h41 … struct vfs_dir_entry_t *target_dent = container_of(list, struct vfs_dir_entry_t, child_node_list); in __devfs_find_dentry()
Ddevfs.c101 … struct vfs_dir_entry_t *target_dent = container_of(list, struct vfs_dir_entry_t, child_node_list); in devfs_readdir()
/DragonOS-0.1.2/kernel/src/libs/libUI/
Dscreen_manager.c248 …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.2/kernel/src/driver/pci/
Dpci.c435 …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.2/kernel/src/common/
Dglib.h27 #define container_of(ptr, type, member) \ macro
Dlist.h137 #define list_entry(ptr, type, member) container_of(ptr, type, member)
/DragonOS-0.1.2/kernel/src/driver/timers/HPET/
DHPET.c79 …if (container_of(list_next(&timer_func_head.list), struct timer_func_list_t, list)->expire_jiffies… in HPET_handler()
/DragonOS-0.1.2/kernel/src/process/
Dkthread.c230 container_of(kthread_create_list.next, struct kthread_create_info_t, list); in kthreadd()
/DragonOS-0.1.2/kernel/src/driver/disk/ahci/
Dahci.c601 …wait_queue_node_t *wait_queue_tmp = container_of(list_next(&ahci_req_queue.wait_queue_list.wait_li… in ahci_query_disk()
602 …struct ahci_request_packet_t *pack = (struct ahci_request_packet_t *)container_of(wait_queue_tmp, … in ahci_query_disk()
/DragonOS-0.1.2/kernel/src/filesystem/procfs/
Dprocfs.c287 … struct vfs_dir_entry_t *target_dent = container_of(list, struct vfs_dir_entry_t, child_node_list); in procfs_readdir()