Searched refs:cpu_id (Results 1 – 9 of 9) sorted by relevance
5 pub fn cpu_executing(cpu_id:u32) -> *const process_control_block{ in cpu_executing()8 if cpu_id == process_cpu(current_pcb()){ in cpu_executing()
110 ((struct process_control_block *)(ptr - STACK_SIZE))->cpu_id = 0; in system_initialize()128 current_pcb->cpu_id = 0; in system_initialize()
93 …t process_control_block *)(cpu_core_info[current_starting_cpu].stack_start - STACK_SIZE))->cpu_id = in smp_init()95 …ocess_control_block *)(cpu_core_info[current_starting_cpu].ist_stack_start - STACK_SIZE))->cpu_id = in smp_init()173 current_pcb->cpu_id = current_starting_cpu; in smp_ap_start()
94 unsafe { read_volatile(&(*pcb).cpu_id) } in process_cpu()
83 uint32_t cpu_id; // 当前进程在哪个CPU核心上运行 member
177 #define proc_current_cpu_id (current_pcb->cpu_id)
57 …_UNINTERRUPTIBLE, .flags = PF_KTHREAD, .preempt_count = 0, .signal = 0, .cpu_id = 0, \639 initial_proc_union.pcb.cpu_id = 0; in process_init()
92 tsk->cpu_id = proc_current_cpu_id; in do_fork()
136 data_puts(fdata, ltoa(pcb_t->cpu_id)); in procfs_open()