Home
last modified time | relevance | path

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

/DragonOS-0.1.3/kernel/src/process/
Dproc-types.h76 struct process_control_block struct
79 volatile uint64_t state;
81 uint64_t flags;
82 int32_t preempt_count; // 持有的自旋锁的数
84 uint32_t cpu_id; // 当前进程在哪个CPU核心上运
85 char name[PCB_NAME_LEN];
88 struct mm_struct *mm;
114 struct process_control_block *prev_pcb, *next_pcb; argument
116 struct process_control_block *parent_pcb; argument
137 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()
80 pub fn process_kick(pcb: *mut process_control_block) { in process_kick()
101 return cpu_executing(process_cpu(pcb)) as *const process_control_block == pcb; in process_is_executing() constant
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.3/kernel/src/arch/x86_64/
Dcontext.rs11 prev: &'static mut process_control_block, in switch_process()
12 next: &'static mut process_control_block, in switch_process()
/DragonOS-0.1.3/kernel/src/arch/x86_64/mm/
Dmod.rs17 next_pcb: &'static mut process_control_block, in switch_mm()
18 ) -> &'static mut process_control_block { in switch_mm()
/DragonOS-0.1.3/kernel/src/sched/
Dcore.rs13 pub fn cpu_executing(cpu_id: u32) -> &'static mut process_control_block { in cpu_executing()
29 fn enqueue(&mut self, pcb: &'static mut process_control_block); in enqueue()
45 pub extern "C" fn sched_enqueue(pcb: &'static mut process_control_block) { in sched_enqueue()
Dcfs.rs71 pub fn enqueue(&mut self, pcb: &'static mut process_control_block) { in enqueue()
85 pub fn dequeue(&mut self) -> &'static mut process_control_block { in dequeue()
86 let res: &'static mut process_control_block; in dequeue() variable
157 let proc: &'static mut process_control_block = current_cpu_queue.dequeue(); in sched() variable
197 fn enqueue(&mut self, pcb: &'static mut process_control_block) { in enqueue()
/DragonOS-0.1.3/kernel/src/ipc/
Dsignal.rs164 target_pcb: &mut process_control_block, in signal_send_sig_info()
194 pcb: &'a mut process_control_block, in lock_process_sighand()
217 fn unlock_process_sighand(pcb: &mut process_control_block, flags: u64) { in unlock_process_sighand()
230 pcb: &mut process_control_block, in send_signal_locked()
259 pcb: &mut process_control_block, in __send_signal_locked()
301 fn complete_signal(sig: SignalNumber, pcb: &mut process_control_block, pt: PidType) { in complete_signal()
378 fn sig_fatal(pcb: &process_control_block, sig: SignalNumber) -> bool { in sig_fatal()
407 fn signal_wake_up(pcb: &mut process_control_block, fatal: bool) { in signal_wake_up()
416 fn signal_wake_up_state(pcb: &mut process_control_block, state: u64) { in signal_wake_up_state()
780 pub fn flush_signal_handlers(pcb: *mut process_control_block, force_default: bool) { in flush_signal_handlers()