Home
last modified time | relevance | path

Searched defs:process_control_block (Results 1 – 6 of 6) sorted by relevance

/DragonOS-0.1.2/kernel/src/process/
Dproc-types.h75 struct process_control_block struct
78 volatile uint64_t state;
80 uint64_t flags;
81 int32_t preempt_count; // 持有的自旋锁的数
83 uint32_t cpu_id; // 当前进程在哪个CPU核心上运
84 char name[PCB_NAME_LEN];
87 struct mm_struct *mm;
113 struct process_control_block *prev_pcb, *next_pcb; argument
115 struct process_control_block *parent_pcb; argument
135 struct process_control_block pcb; argument
Dprocess.rs35 _pcb: *mut process_control_block, in process_try_to_wake_up()
75 pub extern "C" fn process_wake_up_state(pcb: *mut process_control_block, state: u64) -> bool { in process_wake_up_state()
81 pub fn process_kick(pcb: *mut process_control_block) { in process_kick()
Dfork.rs109 pub extern "C" fn process_exit_signal(pcb: *mut process_control_block) { in process_exit_signal()
125 pub extern "C" fn process_exit_sighand(pcb: *mut process_control_block) { in process_exit_sighand()
Dinitial_proc.rs28 pub extern "C" fn initial_proc_init_signal(pcb: *mut process_control_block) { in initial_proc_init_signal()
/DragonOS-0.1.2/kernel/src/sched/
Dcore.rs5 pub fn cpu_executing(cpu_id:u32) -> *const process_control_block{ in cpu_executing()
/DragonOS-0.1.2/kernel/src/ipc/
Dsignal.rs149 target_pcb: &mut process_control_block, in signal_send_sig_info()
179 pcb: &'a mut process_control_block, in lock_process_sighand()
202 fn unlock_process_sighand(pcb: &mut process_control_block, flags: u64) { in unlock_process_sighand()
215 pcb: &mut process_control_block, in send_signal_locked()
244 pcb: &mut process_control_block, in __send_signal_locked()
272 fn complete_signal(sig: SignalNumber, pcb: &mut process_control_block, pt: PidType) { in complete_signal()
349 fn sig_fatal(pcb: &process_control_block, sig: SignalNumber) -> bool { in sig_fatal()
378 fn signal_wake_up(pcb: &mut process_control_block, fatal: bool) { in signal_wake_up()
387 fn signal_wake_up_state(pcb: &mut process_control_block, state: u64) { in signal_wake_up_state()
752 pub fn flush_signal_handlers(pcb: *mut process_control_block, force_default: bool) { in flush_signal_handlers()