Lines Matching refs:proc
21 …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()
84 process_switch_mm(proc); in sched_cfs()
86 switch_proc(current_pcb, proc); in sched_cfs()
91 sched_cfs_enqueue(proc); in sched_cfs()
95 switch (proc->priority) in sched_cfs()