Home
last modified time | relevance | path

Searched refs:list (Results 1 – 25 of 44) sorted by relevance

12

/DragonOS/user/apps/
H A DMakefile5 @list='$(sub_dirs)'; for subdir in $$list; do \
11 @list='$(sub_dirs)'; for subdir in $$list; do \
/DragonOS/kernel/src/driver/disk/ahci/
H A Dmod.rs40 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 Dahci_inode.rs100 fn list(&self) -> Result<Vec<String>, SystemError> { in list() method
/DragonOS/kernel/src/driver/virtio/
H A Dvirtio.rs32 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 Dmain.rs86 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 Dclocksource.rs526 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 Dmmio.md93 │ │ │ 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 DMakefile70 @list='$(user_sub_dirs)'; for subdir in $$list; do \
/DragonOS/docs/kernel/debug/
H A Ddebug-kernel-with-gdb.md327 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 Dpci.rs71 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 Dmmio_buddy.rs328 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 Dkthread.rs463 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 DMakefile54 @list='$(SUBDIRS)'; for subdir in $$list; do \
/DragonOS/kernel/src/
H A DMakefile109 @list='$(kernel_subdirs)'; for subdir in $$list; do \
/DragonOS/docs/kernel/core_api/
H A Dkernel_api.md5 &emsp;&emsp;循环链表是内核的重要的数据结构之一。包含在`kernel/common/list.h`中。
7 ### `void list_init(struct List *list)`
15 **list**
147 &emsp;&emsp;List结构体在上述的“包裹list结构体的结构体”中的变量名
/DragonOS/tools/
H A DDockerfile16 …deb\|security\).debian.org@http://mirrors.ustc.edu.cn@g" /etc/apt/sources.list && apt update && ap…
/DragonOS/kernel/src/filesystem/devfs/
H A Dnull_dev.rs95 fn list(&self) -> Result<Vec<String>, SystemError> { in list() method
H A Dzero_dev.rs95 fn list(&self) -> Result<Vec<String>, SystemError> { in list() method
/DragonOS/docs/kernel/locking/
H A Dmutex.md136 spinlock_t wait_lock; // mutex操作锁,用于对mutex的list的操作进行加锁
/DragonOS/kernel/src/virt/kvm/
H A Dkvm_dev.rs114 fn list(&self) -> Result<Vec<String>, SystemError> { in list() method
H A Dvcpu_dev.rs122 fn list(&self) -> Result<Vec<String>, SystemError> { in list() method
H A Dvm_dev.rs120 fn list(&self) -> Result<Vec<String>, SystemError> { in list() method
/DragonOS/kernel/src/libs/futex/
H A Dfutex.rs655 list: RobustList, field
837 entry: robust_list_head.list.next, in new()
855 while self.entry.data() != &self.robust_list_head.list as *const RobustList as usize { in next()
/DragonOS/kernel/src/driver/keyboard/
H A Dps2_keyboard.rs173 fn list(&self) -> Result<alloc::vec::Vec<alloc::string::String>, SystemError> { in list() method
/DragonOS/kernel/src/filesystem/
H A Deventfd.rs235 fn list(&self) -> Result<Vec<String>, SystemError> { in list() method

12