Home
last modified time | relevance | path

Searched refs:next (Results 1 – 16 of 16) sorted by relevance

/DragonOS-0.1.5/user/libs/libc/src/
Dmalloc.c34 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()
162 new_ck->next = NULL; in malloc_enlarge()
178 malloc_mem_chunk_t *ptr = malloc_free_list->next; in malloc_merge_free_chunk()
187 ptr->prev->next = ptr->next; in malloc_merge_free_chunk()
188 if (ptr->next == NULL) in malloc_merge_free_chunk()
191 ptr->next->prev = ptr->prev; in malloc_merge_free_chunk()
195 ptr = ptr->next; in malloc_merge_free_chunk()
210 ck->prev = ck->next = NULL; in malloc_insert_free_list()
[all …]
/DragonOS-0.1.5/kernel/src/common/
Dlist.h10 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.5/kernel/src/filesystem/vfs/
Dutils.rs6 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()
DVFS.h117 struct vfs_filesystem_type_t *next; member
/DragonOS-0.1.5/kernel/src/mm/
Dvma.c52 struct vm_area_struct *next = NULL; in __vma_link_list() local
56 next = prev->vm_next; in __vma_link_list()
61 next = mm->vmas; in __vma_link_list()
65 vma->vm_next = next; in __vma_link_list()
67 if (next != NULL) in __vma_link_list()
68 next->vm_prev = vma; in __vma_link_list()
79 struct vm_area_struct *prev, *next; in __vma_unlink_list() local
80 next = vma->vm_next; in __vma_unlink_list()
83 prev->vm_next = next; in __vma_unlink_list()
85 mm->vmas = next; in __vma_unlink_list()
[all …]
/DragonOS-0.1.5/kernel/src/process/
Dprocess.h54 #define switch_to(prev, next) … argument
69 … : "m"(next->thread->rsp), "m"(next->thread->rip), "D"(prev), "S"(next) \
223 void __switch_to(struct process_control_block *prev, struct process_control_block *next);
Dprocess.c106 void __switch_to(struct process_control_block *prev, struct process_control_block *next) in __switch_to() argument
108 initial_tss[proc_current_cpu_id].rsp0 = next->thread->rbp; in __switch_to()
118 __asm__ __volatile__("movq %0, %%fs \n\t" ::"a"(next->thread->fs)); in __switch_to()
119 __asm__ __volatile__("movq %0, %%gs \n\t" ::"a"(next->thread->gs)); in __switch_to()
Dkthread.c233 container_of(kthread_create_list.next, struct kthread_create_info_t, list); in kthreadd()
/DragonOS-0.1.5/kernel/src/libs/
Dlist.rs7 unsafe { *list }.next = list; in list_init()
14 next: 0 as *mut List, in default()
/DragonOS-0.1.5/kernel/src/arch/x86_64/
Dcontext.rs12 next: &'static mut process_control_block, in switch_process()
16 switch_proc(prev, next); in switch_process()
/DragonOS-0.1.5/kernel/src/sched/
Dcore.rs83 let next: &'static mut process_control_block; in __sched() localVariable
86 next = p; in __sched()
89 rt_scheduler.enqueue_front(next); in __sched()
/DragonOS-0.1.5/kernel/src/io/
Ddevice.rs273 fn next(&mut self) -> Option<<Self as Iterator>::Item> { in next() method
/DragonOS-0.1.5/kernel/src/driver/pci/
Dpci.rs462 fn next(&mut self) -> Option<Self::Item> { in next() method
/DragonOS-0.1.5/docs/kernel/core_api/
Dkernel_api.md11 &emsp;&emsp;初始化一个List结构体,使其prev和next指针指向自身
/DragonOS-0.1.5/kernel/src/filesystem/fat/
Dentry.rs736 let long_entry: LongDirEntry = long_name_gen.next().unwrap();
1538 fn next(&mut self) -> Option<Self::Item> { in next() method
2208 fn next(&mut self) -> Option<Self::Item> { in next() method
2291 fn next(&mut self) -> Option<Self::Item> { in next() method
Dfs.rs751 return self.cluster_iter(start_cluster).skip(n).next(); in get_cluster_by_relative()
1648 fn next(&mut self) -> Option<Self::Item> { in next() method