Home
last modified time | relevance | path

Searched refs:head (Results 1 – 13 of 13) sorted by relevance

/DragonOS-0.1.8/kernel/src/common/
Dlist.h201 #define list_for_each(ptr, head) \ argument
202 for ((ptr) = (head)->next; (ptr) != (head); (ptr) = (ptr)->next)
210 #define list_for_each_prev(ptr, head) \ argument
211 for ((ptr) = (head)->prev; (ptr) != (head); (ptr) = (ptr)->prev)
221 #define list_for_each_safe(ptr, n, head) \ argument
222 for ((ptr) = (head)->next, (n) = (ptr)->next; (ptr) != (head); (ptr) = n, n = (ptr)->next)
232 #define list_for_each_prev_safe(ptr, n, head) \ argument
233 for ((ptr) = (head)->prev, (n) = (ptr)->prev; (ptr) != (head); (ptr) = n, n = (ptr)->prev)
242 #define list_for_each_entry(pos, head, member) \ argument
243 for (pos = list_first_entry(head, typeof(*pos), member); \
[all …]
/DragonOS-0.1.8/kernel/src/mm/allocator/
Dslab.rs62 head: Option<&'static mut FreeBlock>, field
77 return FreeBlockList { len: 0, head: None }; in new_empty()
87 let block = self.head.take().map(|node| { in pop()
88 self.head = node.next.take(); in pop()
97 free_block.next = self.head.take(); in push()
99 self.head = Some(free_block); in push()
103 return self.head.is_none(); in is_empty()
/DragonOS-0.1.8/kernel/src/
DMakefile17 LD_LIST := head.o
24 head.o: head.S
25 $(CC) -E head.S > _head.s # 预处理
26 $(AS) $(ASFLAGS) -o head.o _head.s
41 …$(LD) -b elf64-x86-64 -z muldefs -o kernel head.o main.o $(shell find . -name "*.o") ../target/x86…
58 …$(LD) -b elf64-x86-64 -z muldefs -o kernel head.o main.o $(shell find . -name "*.o") ../target/x86…
72 kernel: head.o main.o $(kernel_subdirs) kernel_rust
Dlink.lds16 head.o(.bootstrap)
17 head.o(.bootstrap.code64)
18 head.o(.bootstrap.data)
/DragonOS-0.1.8/docs/kernel/core_api/
Dkernel_api.md217 ### `list_for_each(ptr, head)`
229 **head**
233 ### `list_for_each_prev(ptr, head)` argument
244 ### `list_for_each_safe(ptr, n, head)` argument
262 **head**
266 ### `list_for_each_prev_safe(ptr, n, head)` argument
279 ### `list_for_each_entry(pos, head, member)`
291 **head** argument
299 ### `list_for_each_entry_reverse(pos, head, member)`
309 ### `list_for_each_entry_safe(pos, n, head, member)` argument
[all …]
/DragonOS-0.1.8/kernel/src/driver/acpi/
Dacpi.rs18 head: NonNull<acpi_system_description_table_header_t>, in mcfg_find_segment()
20 let table_length = unsafe { (*head.as_ptr()).Length }; in mcfg_find_segment()
23 (head.as_ptr() as usize + 44) as *mut _, in mcfg_find_segment()
/DragonOS-0.1.8/kernel/src/libs/
Drbtree.rs604 head: NodePtr<K, V>, field
625 if self.head.is_null() { in next()
629 let next = self.head.next(); in next()
632 core::ptr::read(&(*self.head.0).key), in next()
633 core::ptr::read(&(*self.head.0).value), in next()
636 self.head = next; in next()
683 head: NodePtr<K, V>, field
692 head: self.head, in clone()
708 if self.head.is_null() { in next()
712 let (k, v) = unsafe { (&(*self.head.0).key, &(*self.head.0).value) }; in next()
[all …]
/DragonOS-0.1.8/kernel/src/arch/x86_64/pci/
Dpci.rs59 let head = NonNull::new(data as *mut acpi_system_description_table_header_t).unwrap(); in ecam_root() localVariable
60 let outcome = unsafe { mcfg_find_segment(head).as_ref() }; in ecam_root()
/DragonOS-0.1.8/user/apps/about/
DMakefile4 GIT_COMMIT_SHA1=$(shell git log -n 1 | head -n 1 | cut -d ' ' -f 2 | cut -c1-8)
/DragonOS-0.1.8/docs/kernel/boot/
Dbootloader.md7 &emsp;&emsp;在`head.S`的头部包含了Multiboot2引导头,里面标志了一些Multiboot2相关的特定信息,以及一些配置命令。
/DragonOS-0.1.8/docs/kernel/sched/
Dc_waiting.md120 | wait_queue_sleep_with_node(wait_queue_head_t *head, wait_queue_node_t *wait_node) | …
/DragonOS-0.1.8/user/
DMakefile43 ifneq ($(shell printf '%s\n%s' "$(DADK_VERSION)" "$(MIN_DADK_VERSION)" | sort -V | head -n1), $(MIN…
/DragonOS-0.1.8/docs/userland/libc/apis/api-list/
Derrno.md101 … #define ENODATA 43 /* 队列头没有可读取的消息 No message is available on the STREAM head read queue.*/