Home
last modified time | relevance | path

Searched refs:proc (Results 1 – 8 of 8) sorted by relevance

/DragonOS-0.1.2/kernel/src/sched/
Dcfs.c21 …struct process_control_block *proc = container_of(list_next(&sched_cfs_ready_queue[proc_current_cp… in sched_cfs_dequeue() local
23 list_del(&proc->list); in sched_cfs_dequeue()
25 return proc; in sched_cfs_dequeue()
37 …struct process_control_block *proc = container_of(list_next(&sched_cfs_ready_queue[proc_current_cp… in sched_cfs_enqueue() local
40 while (proc->virtual_runtime < pcb->virtual_runtime) in sched_cfs_enqueue()
42 proc = container_of(list_next(&proc->list), struct process_control_block, list); in sched_cfs_enqueue()
45 list_append(&proc->list, &pcb->list); in sched_cfs_enqueue()
60 struct process_control_block *proc = sched_cfs_dequeue(); in sched_cfs() local
62 …if (current_pcb->virtual_runtime >= proc->virtual_runtime || !(current_pcb->state & PROC_RUNNING))… in sched_cfs()
71 switch (proc->priority) in sched_cfs()
[all …]
/DragonOS-0.1.2/kernel/src/process/
DMakefile14 procs.o: proc.S
15 $(CC) -E proc.S > _proc.s
Dprocess.c55 #define INITIAL_PROC(proc) … argument
59 ….virtual_runtime = 0, .fds = {0}, .next_pcb = &proc, .prev_pcb = &proc, .parent_pcb = &proc, .exit…
/DragonOS-0.1.2/docs/kernel/process_management/
Dpcb.md3 PCB的全称为process control block, 它是每个进程/线程的核心控制结构。定义于`kernel/src/process/proc-types.h`中。
/DragonOS-0.1.2/tools/
Dbuild_in_docker.sh3 cpu_count=$(cat /proc/cpuinfo |grep "processor"|wc -l)
Dwrite_disk_image.sh85 mkdir -p ${root_folder}/bin/disk_mount/proc
/DragonOS-0.1.2/
DMakefile15 NPROCS:=$(shell grep -c ^processor /proc/cpuinfo)
/DragonOS-0.1.2/kernel/src/syscall/
Dsyscall.c504 struct process_control_block *proc = NULL; in sys_wait4() local