/DragonOS/user/apps/ |
H A D | Makefile | 5 @list='$(sub_dirs)'; for subdir in $$list; do \ 11 @list='$(sub_dirs)'; for subdir in $$list; do \
|
/DragonOS/kernel/src/debug/kprobe/ |
H A D | mod.rs | 49 let list = self.break_list.entry(address).or_default(); in insert_break_point() localVariable 50 list.push(kprobe); in insert_break_point() 59 let list = self.debug_list.entry(address).or_default(); in insert_debug_point() localVariable 60 list.push(kprobe); in insert_debug_point() 83 .map(|list| list.len()) in break_list_len() 90 .map(|list| list.len()) in debug_list_len() 112 if let Some(list) = self.break_list.get_mut(&address) { in remove_one_break() 113 list.retain(|x| !Arc::ptr_eq(x, kprobe)); in remove_one_break() 128 if let Some(list) = self.debug_list.get_mut(&address) { in remove_one_debug() 129 list.retain(|x| !Arc::ptr_eq(x, kprobe)); in remove_one_debug()
|
/DragonOS/kernel/src/driver/disk/ahci/ |
H A D | mod.rs | 40 list: &'a mut RwLockWriteGuard<'_, LinkedList<Box<dyn PciDeviceStructure>>>, in ahci_device_search() 42 let result = get_pci_device_structure_mut(list, AHCI_CLASS, AHCI_SUBCLASS); in ahci_device_search() 53 let mut list = PCI_DEVICE_LINKEDLIST.write(); in ahci_init() localVariable 54 let ahci_device = ahci_device_search(&mut list)?; in ahci_init() 139 let list: SpinLockGuard<Vec<&mut HbaMem>> = LOCKED_HBA_MEM_LIST.lock(); in _port() localVariable 140 let port: &HbaPort = &list[ctrl_num as usize].ports[port_num as usize]; in _port()
|
H A D | ahci_inode.rs | 100 fn list(&self) -> Result<Vec<String>, SystemError> { in list() method
|
/DragonOS/kernel/src/driver/virtio/ |
H A D | virtio.rs | 32 let mut list = PCI_DEVICE_LINKEDLIST.write(); in virtio_probe_pci() localVariable 33 let virtio_list = virtio_device_search(&mut list); in virtio_probe_pci() 91 list: &'a mut RwLockWriteGuard<'_, LinkedList<Box<dyn PciDeviceStructure>>>, in virtio_device_search() 94 let result = get_pci_device_structures_mut_by_vendor_id(list, 0x1AF4); in virtio_device_search()
|
/DragonOS/user/apps/test-for-robustfutex/src/ |
H A D | main.rs | 86 list: RobustList, field 194 list: RobustList { next: ptr::null() }, in set_list() 202 head_ref_mut.list.next = futexes.get_addr(0) as *const RobustList; in set_list() 205 let list_2 = NonNull::from(&*head_ref_mut.list.next).as_ptr(); in set_list() 235 list: RobustList { next: ptr::null() }, in test01() 271 head_ref_mut.list.next = futexes.offset(0) as *const RobustList; in test01() 272 let list_2 = NonNull::from(&*head_ref_mut.list.next).as_ptr(); in test01() 275 println!("robust list next addr: {:?}", (*head).list.next); in test01() 278 (*(*head).list.next).next in test01()
|
/DragonOS/kernel/src/time/ |
H A D | clocksource.rs | 526 let mut list = WATCHDOG_LIST.lock_irqsave(); in clocksource_dequeue_watchdog() localVariable 527 let mut size = list.len(); in clocksource_dequeue_watchdog() 530 for (pos, ele) in list.iter().enumerate() { in clocksource_dequeue_watchdog() 544 let mut temp_list = list.split_off(del_pos); in clocksource_dequeue_watchdog() 546 list.append(&mut temp_list); in clocksource_dequeue_watchdog() 554 for ele in list.iter() { in clocksource_dequeue_watchdog() 594 let mut temp_list = list.split_off(del_pos); in clocksource_dequeue_watchdog() 596 list.append(&mut temp_list); in clocksource_dequeue_watchdog() 607 size = list.len(); in clocksource_dequeue_watchdog() 614 let mut list = CLOCKSOURCE_LIST.lock(); in clocksource_dequeue() localVariable [all …]
|
/DragonOS/docs/kernel/memory_management/ |
H A 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/user/ |
H A D | Makefile | 70 @list='$(user_sub_dirs)'; for subdir in $$list; do \
|
/DragonOS/docs/kernel/debug/ |
H A D | debug-kernel-with-gdb.md | 327 list #或者l,显示当前活动源文件源代码的片段,以及当前执行的位置。 328 list <filename>:<function> #显示<filename>文件里面的<funtion>函数的源代码片段 329 list <filename>:<line_number> #显示<filename>文件里面的<line_number>附近的源代码片段 330 list <first>,<last> #显示当前活动源文件的<first>至<last>之间的源代码片段 331 set listsize <count> #设置list命令显示的源代码行数。默认情况下,list命令显示当前行和其周围的几行代码。 342 show listsize #显示打印源代码时的上下文行数。它确定了在使用list命令(或其简写形式l)时显示的源代码行数。
|
/DragonOS/kernel/src/driver/pci/ |
H A D | pci.rs | 71 list: RwLock<LinkedList<Box<dyn PciDeviceStructure>>>, field 78 list: RwLock::new(LinkedList::new()), in new() 84 self.list.read() in read() 89 self.list.write() in write() 94 let list = self.list.read(); in num() localVariable 95 list.len() in num() 99 let mut list = self.list.write(); in add() localVariable 100 list.push_back(device); in add() 117 list: &'a mut RwLockWriteGuard<'_, LinkedList<Box<dyn PciDeviceStructure>>>, in get_pci_device_structures_mut_by_vendor_id() 121 for box_pci_device_structure in list.iter_mut() { in get_pci_device_structures_mut_by_vendor_id() [all …]
|
/DragonOS/kernel/src/mm/ |
H A D | mmio_buddy.rs | 328 list_guard.list.push_back(region); in push_block() 356 if list_guard.list.is_empty() { in pop_buddy_block() 364 .list in pop_buddy_block() 388 if !list_guard.list.is_empty() { in pop_block() 390 return Ok(list_guard.list.pop_back().unwrap()); in pop_block() 423 let vaddr: VirtAddr = list_guard.list.back().unwrap().vaddr; in merge_all_exp() 430 let region: MmioBuddyAddrRegion = list_guard.list.pop_back().unwrap(); in merge_all_exp() 598 list: LinkedList<MmioBuddyAddrRegion>, field
|
/DragonOS/kernel/src/process/ |
H A D | kthread.rs | 463 let mut list = KTHREAD_CREATE_LIST.lock(); in kthread_daemon() localVariable 464 while let Some(info) = list.pop_front() { in kthread_daemon() 465 drop(list); in kthread_daemon() 476 list = KTHREAD_CREATE_LIST.lock(); in kthread_daemon() 478 drop(list); in kthread_daemon()
|
/DragonOS/ |
H A D | Makefile | 54 @list='$(SUBDIRS)'; for subdir in $$list; do \
|
/DragonOS/kernel/src/ |
H A D | Makefile | 109 @list='$(kernel_subdirs)'; for subdir in $$list; do \
|
/DragonOS/docs/kernel/core_api/ |
H A D | kernel_api.md | 5   循环链表是内核的重要的数据结构之一。包含在`kernel/common/list.h`中。 7 ### `void list_init(struct List *list)` 15 **list** 147   List结构体在上述的“包裹list结构体的结构体”中的变量名
|
/DragonOS/kernel/src/bpf/prog/ |
H A D | mod.rs | 95 fn list(&self) -> Result<Vec<String>> { in list() method
|
/DragonOS/kernel/src/filesystem/overlayfs/ |
H A D | mod.rs | 309 fn list(&self) -> Result<Vec<String>, system_error::SystemError> { in list() method 313 let upper_entries = upper_inode.list()?; in list() 317 let lower_entries = lower_inode.list()?; in list()
|
/DragonOS/kernel/src/filesystem/devfs/ |
H A D | null_dev.rs | 95 fn list(&self) -> Result<Vec<String>, SystemError> { in list() method
|
H A D | zero_dev.rs | 95 fn list(&self) -> Result<Vec<String>, SystemError> { in list() method
|
/DragonOS/docs/kernel/locking/ |
H A D | mutex.md | 136 spinlock_t wait_lock; // mutex操作锁,用于对mutex的list的操作进行加锁
|
/DragonOS/kernel/src/perf/ |
H A D | kprobe.rs | 114 fn list(&self) -> Result<Vec<String>> { in list() method
|
/DragonOS/kernel/src/virt/kvm/ |
H A D | kvm_dev.rs | 114 fn list(&self) -> Result<Vec<String>, SystemError> { in list() method
|
H A D | vcpu_dev.rs | 122 fn list(&self) -> Result<Vec<String>, SystemError> { in list() method
|
/DragonOS/kernel/src/init/ |
H A D | cmdline.rs | 412 let list = match param_typ { in find_param() localVariable 418 list.iter().find(|x| { in find_param()
|