/DragonOS-0.1.8/user/libs/libc/src/ |
D | malloc.c | 34 struct malloc_mem_chunk_t *next; // 下一个结点的指针 member 95 ptr = ptr->next; in malloc_query_free_chunk_bf() 119 ptr = ptr->next; in malloc_query_free_chunk_ff() 163 new_ck->next = NULL; in malloc_enlarge() 179 malloc_mem_chunk_t *ptr = malloc_free_list->next; in malloc_merge_free_chunk() 188 ptr->prev->next = ptr->next; in malloc_merge_free_chunk() 189 if (ptr->next == NULL) in malloc_merge_free_chunk() 192 ptr->next->prev = ptr->prev; in malloc_merge_free_chunk() 196 ptr = ptr->next; in malloc_merge_free_chunk() 211 ck->prev = ck->next = NULL; in malloc_insert_free_list() [all …]
|
/DragonOS-0.1.8/kernel/src/common/ |
D | list.h | 10 struct List *prev, *next; member 16 list->next = list; in list_init() 30 node->next = entry->next; in list_add() 34 node->next->prev = node; in list_add() 36 entry->next = node; in list_add() 58 entry->next->prev = entry->prev; in list_del() 59 entry->prev->next = entry->next; in list_del() 79 old->prev->next = new; in list_replace() 81 if (old->next != NULL) in list_replace() 82 old->next->prev = new; in list_replace() [all …]
|
/DragonOS-0.1.8/kernel/src/arch/x86_64/ |
D | context.rs | 14 next: &'static mut process_control_block, in switch_process() 17 fp_state_restore(next); in switch_process() 19 let new_address_space = next.address_space().unwrap_or_else(|| { in switch_process() 22 next.pid in switch_process() 28 switch_proc(prev, next); in switch_process()
|
/DragonOS-0.1.8/kernel/src/filesystem/vfs/ |
D | utils.rs | 6 let comp = path_split.next().unwrap_or(""); in split_path() 7 let rest_opt = path_split.next(); in split_path() 17 let comp = path_split.next().unwrap_or(""); in rsplit_path() 18 let rest_opt = path_split.next(); in rsplit_path()
|
D | VFS.h | 117 struct vfs_filesystem_type_t *next; member
|
/DragonOS-0.1.8/kernel/src/process/ |
D | process.h | 54 #define switch_to(prev, next) … argument 69 … : "m"(next->thread->rsp), "m"(next->thread->rip), "D"(prev), "S"(next) \ 213 void __switch_to(struct process_control_block *prev, struct process_control_block *next);
|
D | process.c | 109 void __switch_to(struct process_control_block *prev, struct process_control_block *next) in __switch_to() argument 111 initial_tss[proc_current_cpu_id].rsp0 = next->thread->rbp; in __switch_to() 123 __asm__ __volatile__("movq %0, %%fs \n\t" ::"a"(next->thread->fs)); in __switch_to() 124 __asm__ __volatile__("movq %0, %%gs \n\t" ::"a"(next->thread->gs)); in __switch_to()
|
D | kthread.c | 238 container_of(kthread_create_list.next, struct kthread_create_info_t, list); in kthreadd()
|
/DragonOS-0.1.8/kernel/src/libs/ |
D | list.rs | 7 unsafe { *list }.next = list; in list_init() 14 next: 0 as *mut List, in default()
|
D | rbtree.rs | 178 fn next(self) -> NodePtr<K, V> { in next() method 499 fn next(&mut self) -> Option<&'a K> { in next() method 500 self.inner.next().map(|(k, _)| k) in next() 544 fn next(&mut self) -> Option<&'a V> { in next() method 545 self.inner.next().map(|(_, v)| v) in next() 592 fn next(&mut self) -> Option<&'a mut V> { in next() method 593 self.inner.next().map(|(_, v)| v) in next() 620 fn next(&mut self) -> Option<(K, V)> { in next() method 629 let next = self.head.next(); in next() localVariable 636 self.head = next; in next() [all …]
|
/DragonOS-0.1.8/kernel/src/mm/allocator/ |
D | slab.rs | 88 self.head = node.next.take(); in pop() 97 free_block.next = self.head.take(); in push() 114 next: Option<&'static mut FreeBlock>, field
|
D | page_frame.rs | 37 pub fn next(&self) -> Self { in next() method 67 fn next(&mut self) -> Option<Self::Item> { in next() method 71 let current = self.current.next(); in next() 101 pub fn next(&self) -> Self { in next() method 141 fn next(&mut self) -> Option<Self::Item> { in next() method
|
/DragonOS-0.1.8/kernel/src/sched/ |
D | core.rs | 81 let next: &'static mut process_control_block; in do_sched() localVariable 84 next = p; in do_sched() 87 rt_scheduler.enqueue_front(next); in do_sched()
|
/DragonOS-0.1.8/kernel/src/mm/ |
D | ucontext.rs | 677 if let Some(_x) = self.conflicts(requested).next() { in find_free_at() 745 assert!(self.conflicts(region).next().is_none()); in insert_vma() 764 .next()?; in remove_vma() 1057 cur_phy = cur_phy.next(); in physmap() 1058 cur_dest = cur_dest.next(); in physmap() 1105 cur_dest = cur_dest.next(); in zeroed()
|
/DragonOS-0.1.8/user/apps/test_bind/ |
D | link.lds | 76 the same address within the page on the next page up. */ 87 the same address within the page on the next page up. */
|
/DragonOS-0.1.8/user/apps/test_fstat/ |
D | link.lds | 76 the same address within the page on the next page up. */ 87 the same address within the page on the next page up. */
|
/DragonOS-0.1.8/user/apps/test_gettimeofday/ |
D | link.lds | 76 the same address within the page on the next page up. */ 87 the same address within the page on the next page up. */
|
/DragonOS-0.1.8/user/apps/http_server/ |
D | link.lds | 76 the same address within the page on the next page up. */ 87 the same address within the page on the next page up. */
|
/DragonOS-0.1.8/user/apps/test_relibc/ |
D | link.lds | 76 the same address within the page on the next page up. */ 87 the same address within the page on the next page up. */
|
/DragonOS-0.1.8/kernel/src/io/ |
D | device.rs | 283 fn next(&mut self) -> Option<<Self as Iterator>::Item> { in next() method
|
/DragonOS-0.1.8/kernel/src/driver/net/ |
D | virtio_net.rs | 267 let dest = addrs.iter_mut().next(); in update_ip_addrs()
|
/DragonOS-0.1.8/docs/kernel/core_api/ |
D | kernel_api.md | 11   初始化一个List结构体,使其prev和next指针指向自身
|
/DragonOS-0.1.8/kernel/src/filesystem/fat/ |
D | entry.rs | 752 let long_entry: LongDirEntry = long_name_gen.next().unwrap(); 1566 fn next(&mut self) -> Option<Self::Item> { in next() method 2236 fn next(&mut self) -> Option<Self::Item> { in next() method 2319 fn next(&mut self) -> Option<Self::Item> { in next() method
|
D | fs.rs | 761 return self.cluster_iter(start_cluster).skip(n).next(); in get_cluster_by_relative() 1694 fn next(&mut self) -> Option<Self::Item> { in next() method
|
/DragonOS-0.1.8/kernel/src/driver/pci/ |
D | pci.rs | 1506 fn next(&mut self) -> Option<Self::Item> { in next() method 1554 fn next(&mut self) -> Option<Self::Item> { in next() method
|