Searched refs:proc_current_cpu_id (Results 1 – 7 of 7) sorted by relevance
/DragonOS-0.1.2/kernel/src/sched/ |
D | cfs.c | 15 if (list_empty(&sched_cfs_ready_queue[proc_current_cpu_id].proc_queue.list)) in sched_cfs_dequeue() 21 …ontrol_block *proc = container_of(list_next(&sched_cfs_ready_queue[proc_current_cpu_id].proc_queue… in sched_cfs_dequeue() 24 --sched_cfs_ready_queue[proc_current_cpu_id].count; in sched_cfs_dequeue() 35 if (pcb == initial_proc[proc_current_cpu_id]) in sched_cfs_enqueue() 37 …ontrol_block *proc = container_of(list_next(&sched_cfs_ready_queue[proc_current_cpu_id].proc_queue… in sched_cfs_enqueue() 38 if ((list_empty(&sched_cfs_ready_queue[proc_current_cpu_id].proc_queue.list)) == 0) in sched_cfs_enqueue() 46 ++sched_cfs_ready_queue[proc_current_cpu_id].count; in sched_cfs_enqueue() 69 if (sched_cfs_ready_queue[proc_current_cpu_id].cpu_exec_proc_jiffies <= 0) in sched_cfs() 75 …sched_cfs_ready_queue[proc_current_cpu_id].cpu_exec_proc_jiffies = 4 / sched_cfs_ready_queue[proc_… in sched_cfs() 79 …sched_cfs_ready_queue[proc_current_cpu_id].cpu_exec_proc_jiffies = (4 / sched_cfs_ready_queue[proc… in sched_cfs() [all …]
|
/DragonOS-0.1.2/kernel/src/exception/ |
D | trap.c | 16 regs->rsp, regs->rip, proc_current_cpu_id, current_pcb->pid); in do_divide_error() 28 proc_current_cpu_id, current_pcb->pid); in do_debug() 41 proc_current_cpu_id); in do_nmi() 54 proc_current_cpu_id); in do_int3() 67 regs->rip, proc_current_cpu_id); in do_overflow() 78 proc_current_cpu_id); in do_bounds() 89 regs->rsp, regs->rip, proc_current_cpu_id, current_pcb->pid); in do_undefined_opcode() 100 regs->rip, proc_current_cpu_id); in do_dev_not_avaliable() 113 regs->rip, proc_current_cpu_id); in do_double_fault() 124 regs->rsp, regs->rip, proc_current_cpu_id); in do_coprocessor_segment_overrun() [all …]
|
/DragonOS-0.1.2/kernel/src/driver/interrupt/apic/ |
D | apic_timer.c | 93 kinfo("Initializing apic timer for cpu %d", proc_current_cpu_id); in apic_timer_init()
|
/DragonOS-0.1.2/kernel/src/smp/ |
D | smp.c | 175 initial_proc[proc_current_cpu_id] = current_pcb; in smp_ap_start() 191 printk_color(BLACK, WHITE, "CPU:%d IDLE process.\n", proc_current_cpu_id); in smp_ap_start()
|
/DragonOS-0.1.2/kernel/src/process/ |
D | process.h | 177 #define proc_current_cpu_id (current_pcb->cpu_id) macro
|
D | fork.c | 92 tsk->cpu_id = proc_current_cpu_id; in do_fork() 236 …memcpy(phys_2_virt(new_mms->pgd) + 256, phys_2_virt(initial_proc[proc_current_cpu_id]->mm->pgd) + … in process_copy_mm()
|
D | process.c | 111 initial_tss[proc_current_cpu_id].rsp0 = next->thread->rbp; in __switch_to() 374 …memcpy(phys_2_virt(new_mms->pgd) + 256, phys_2_virt(initial_proc[proc_current_cpu_id]) + 256, PAGE… in do_execve() 613 initial_tss[proc_current_cpu_id].rsp0 = initial_thread.rbp; in process_init()
|