Searched refs:proc (Results 1 – 8 of 8) sorted by relevance
21 …struct process_control_block *proc = container_of(list_next(&sched_cfs_ready_queue[proc_current_cp… in sched_cfs_dequeue() local23 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() local40 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() local62 …if (current_pcb->virtual_runtime >= proc->virtual_runtime || !(current_pcb->state & PROC_RUNNING))… in sched_cfs()71 switch (proc->priority) in sched_cfs()[all …]
14 procs.o: proc.S15 $(CC) -E proc.S > _proc.s
55 #define INITIAL_PROC(proc) … argument59 ….virtual_runtime = 0, .fds = {0}, .next_pcb = &proc, .prev_pcb = &proc, .parent_pcb = &proc, .exit…
3 PCB的全称为process control block, 它是每个进程/线程的核心控制结构。定义于`kernel/src/process/proc-types.h`中。
3 cpu_count=$(cat /proc/cpuinfo |grep "processor"|wc -l)
85 mkdir -p ${root_folder}/bin/disk_mount/proc
15 NPROCS:=$(shell grep -c ^processor /proc/cpuinfo)
504 struct process_control_block *proc = NULL; in sys_wait4() local