/DragonOS-0.1.8/docs/userland/libc/apis/ |
D | index.rst | 7 api-list/ctype 8 api-list/dirent 9 api-list/errno 10 api-list/fcntl 11 api-list/math 12 api-list/stdio 13 api-list/printf 14 api-list/stddef 15 api-list/stdlib 16 api-list/string [all …]
|
/DragonOS-0.1.8/kernel/src/libs/ |
D | list.rs | 5 pub fn list_init(list: *mut List) { in list_init() 6 unsafe { *list }.prev = list; in list_init() 7 unsafe { *list }.next = list; in list_init()
|
D | mutex.c | 50 list_init(&waiter->list); in mutex_lock() 51 list_append(&lock->wait_list, &waiter->list); in mutex_lock() 81 wt = container_of(list_next(&lock->wait_list), struct mutex_waiter_t, list); in mutex_unlock() 85 list_del(&wt->list); in mutex_unlock()
|
D | mod.rs | 10 pub mod list; module
|
/DragonOS-0.1.8/kernel/src/driver/virtio/ |
D | virtio.rs | 29 let mut list = PCI_DEVICE_LINKEDLIST.write(); in virtio_probe() localVariable 30 if let Ok(virtio_list) = virtio_device_search(&mut list) { in virtio_probe() 75 list: &'a mut RwLockWriteGuard<'_, LinkedList<Box<dyn PciDeviceStructure>>>, in virtio_device_search() 78 let virtio_net_device = get_virtio_net_device(list)?; in virtio_device_search() 87 list: &'a mut RwLockWriteGuard<'_, LinkedList<Box<dyn PciDeviceStructure>>>, in get_virtio_net_device() 89 let result = get_pci_device_structure_mut(list, NETWORK_CLASS, ETHERNET_SUBCLASS); in get_virtio_net_device()
|
/DragonOS-0.1.8/kernel/src/arch/ |
D | Makefile | 9 @list='$(kernel_arch_subdirs)'; for subdir in $$list; do \
|
/DragonOS-0.1.8/user/libs/ |
D | Makefile | 15 @list='$(user_libs_sub_dirs)'; for subdir in $$list; do \
|
/DragonOS-0.1.8/kernel/src/libs/libUI/ |
D | screen_manager.c | 141 list_init(&ui->list); in scm_register_alloc() 155 list_add(&scm_framework_list, &ui->list); in scm_register_alloc() 178 list_init(&ui->list); in scm_register() 189 list_add(&scm_framework_list, &ui->list); in scm_register() 248 …i_framework_t *ptr = container_of(list_next(&scm_framework_list), struct scm_ui_framework_t, list); in scm_enable_double_buffer() 268 } while (list_next(&ptr->list) != &scm_framework_list); // 枚举链表的每一个ui框架 in scm_enable_double_buffer() 342 …i_framework_t *ptr = container_of(list_next(&scm_framework_list), struct scm_ui_framework_t, list); in scm_reinit() 349 } while (list_next(&ptr->list) != &scm_framework_list); in scm_reinit()
|
D | screen_manager.h | 44 struct List list; member
|
D | textui.h | 94 struct List list; member
|
/DragonOS-0.1.8/kernel/src/time/ |
D | clocksource.rs | 407 let mut list = WATCHDOG_LIST.lock(); in clocksource_dequeue_watchdog() localVariable 408 let mut size = list.len(); in clocksource_dequeue_watchdog() 411 for (pos, ele) in list.iter().enumerate() { in clocksource_dequeue_watchdog() 425 let mut temp_list = list.split_off(del_pos); in clocksource_dequeue_watchdog() 427 list.append(&mut temp_list); in clocksource_dequeue_watchdog() 435 for ele in list.iter() { in clocksource_dequeue_watchdog() 475 let mut temp_list = list.split_off(del_pos); in clocksource_dequeue_watchdog() 477 list.append(&mut temp_list); in clocksource_dequeue_watchdog() 488 size = list.len(); in clocksource_dequeue_watchdog() 495 let mut list = CLOCKSOURCE_LIST.lock(); in clocksource_dequeue() localVariable [all …]
|
/DragonOS-0.1.8/user/libs/libc/src/ |
D | Makefile | 29 @list='$(libc_sub_dirs)'; for subdir in $$list; do \
|
/DragonOS-0.1.8/kernel/src/process/ |
D | kthread.c | 35 struct List list; member 64 list_init(&create->list); in __kthread_create_on_node() 67 list_append(&kthread_create_list, &create->list); in __kthread_create_on_node() 238 container_of(kthread_create_list.next, struct kthread_create_info_t, list); in kthreadd() 239 list_del_init(&create->list); in kthreadd()
|
D | proc-types.h | 94 struct List list; member
|
/DragonOS-0.1.8/docs/kernel/memory_management/ |
D | mmio.md | 93 │ │ │ list │ │ │ vaddr │ │ vaddr │ │ 141 list: LinkedList<Box<MmioBuddyAddrRegion>>, 158 …的内存块,其$exp = 12$,使用上述公式计算得$index = 12 -12 = 0$,所以该内存块会被存入`free_regions[0].list`中。通过上述换算公式,每次取出或释放$… 160 …的空闲内存块链表(MmioFreeRegionList),`MmioFreeRegionList`中封装有真正的存储了空闲内存块信息的结构体的链表(list)和对应链表长度(num_free)。有…
|
/DragonOS-0.1.8/kernel/src/common/ |
D | list.h | 14 static inline void list_init(struct List *list) in list_init() argument 16 list->next = list; in list_init() 18 list->prev = list; in list_init()
|
D | mutex.h | 30 struct List list; member
|
/DragonOS-0.1.8/kernel/src/mm/ |
D | mmio_buddy.rs | 319 list_guard.list.push_back(region); in push_block() 347 if list_guard.list.len() == 0 { in pop_buddy_block() 355 .list in pop_buddy_block() 379 if !list_guard.list.is_empty() { in pop_block() 381 return Ok(list_guard.list.pop_back().unwrap()); in pop_block() 414 let vaddr: VirtAddr = list_guard.list.back().unwrap().vaddr; in merge_all_exp() 421 let region: MmioBuddyAddrRegion = list_guard.list.pop_back().unwrap(); in merge_all_exp() 586 list: LinkedList<MmioBuddyAddrRegion>, field 601 list: Default::default(), in default()
|
/DragonOS-0.1.8/kernel/src/driver/pci/ |
D | pci.c | 20 list_add(pci_device_structure_list, &(ret->header.list)); \ 25 list_init(&(ret->header.list)); \ 26 pci_device_structure_list = &(ret->header.list); \ 435 …eader_t *ptr = container_of(pci_device_structure_list, struct pci_device_structure_header_t, list); in pci_init() 469 ptr = container_of(list_next(&(ptr->list)), struct pci_device_structure_header_t, list); in pci_init() 485 …eader_t *ptr = container_of(pci_device_structure_list, struct pci_device_structure_header_t, list); 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()
|
D | pci.rs | 72 list: RwLock<LinkedList<Box<dyn PciDeviceStructure>>>, field 79 list: RwLock::new(LinkedList::new()), in new() 85 self.list.read() in read() 90 self.list.write() in write() 95 let list = self.list.read(); in num() localVariable 96 list.len() in num() 100 let mut list = self.list.write(); in add() localVariable 101 list.push_back(device); in add() 111 list: &'a mut RwLockWriteGuard<'_, LinkedList<Box<dyn PciDeviceStructure>>>, in get_pci_device_structure_mut() 116 for box_pci_device_structure in list.iter_mut() { in get_pci_device_structure_mut() [all …]
|
/DragonOS-0.1.8/kernel/src/ |
D | Makefile | 79 @list='$(kernel_subdirs)'; for subdir in $$list; do \
|
/DragonOS-0.1.8/ |
D | Makefile | 58 @list='$(SUBDIRS)'; for subdir in $$list; do \
|
/DragonOS-0.1.8/tools/ |
D | bootstrap.sh | 54 $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
|
/DragonOS-0.1.8/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.8/user/ |
D | Makefile | 110 @list='$(user_sub_dirs)'; for subdir in $$list; do \
|