/DragonOS/kernel/src/process/ |
H A D | syscall.rs | 297 let pcb = ProcessControlBlock::new(name, new_kstack); in clone() localVariable 343 let pcb = ProcessManager::current_pcb(); in set_tid_address() localVariable 349 let pcb = ProcessManager::current_pcb(); in gettid() localVariable 354 let pcb = ProcessManager::current_pcb(); in getuid() localVariable 359 let pcb = ProcessManager::current_pcb(); in getgid() localVariable 364 let pcb = ProcessManager::current_pcb(); in geteuid() localVariable 369 let pcb = ProcessManager::current_pcb(); in getegid() localVariable 374 let pcb = ProcessManager::current_pcb(); in setuid() localVariable 391 let pcb = ProcessManager::current_pcb(); in setgid() localVariable 410 let pcb = ProcessManager::current_pcb(); in seteuid() localVariable [all …]
|
H A D | mod.rs | 315 let pcb = ProcessManager::current_pcb(); in mark_sleep() localVariable 340 let pcb = ProcessManager::current_pcb(); in mark_stop() localVariable 387 let pcb = ProcessManager::current_pcb(); in exit() localVariable 444 let pcb = ProcessManager::find(pid); in release() localVariable 731 let pcb = Self { in do_create_pcb() localVariable 766 let pcb = Arc::new(pcb); in do_create_pcb() localVariable 1485 pub unsafe fn pcb(&self) -> Option<Arc<ProcessControlBlock>> { in pcb() method
|
H A D | kthread.rs | 319 let pcb = ProcessManager::find(kthreadd_pid).unwrap(); in init_stage2() localVariable 367 let pcb = Self::create(func, name)?; in create_and_run() localVariable
|
H A D | exit.rs | 157 let pcb = ProcessManager::find(*pid).ok_or(SystemError::ECHILD)?; in do_wait() localVariable
|
H A D | fork.rs | 170 let pcb = ProcessControlBlock::new(name, new_kstack); in fork() localVariable
|
/DragonOS/kernel/src/ipc/ |
H A D | signal.rs | 76 let pcb = ProcessManager::find(pid); in send_signal_info() localVariable 83 let pcb = pcb.unwrap(); in send_signal_info() localVariable 388 let pcb = ProcessManager::current_pcb(); in do_sigaction() localVariable 454 let pcb = ProcessManager::current_pcb(); in set_current_sig_blocked() localVariable
|
/DragonOS/kernel/src/driver/tty/ |
H A D | tty_job_control.rs | 23 let pcb = ProcessManager::current_pcb(); in proc_set_tty() localVariable 36 let pcb = ProcessManager::current_pcb(); in tty_check_change() localVariable
|
H A D | kthread.rs | 25 let pcb = KernelThreadMechanism::create_and_run(closure, "tty_refresh".to_string()) in tty_flush_thread_init() localVariable
|
H A D | tty_device.rs | 175 let pcb = ProcessManager::current_pcb(); in open() localVariable 249 let pcb = ProcessManager::current_pcb(); in write_at() localVariable
|
/DragonOS/kernel/src/arch/x86_64/process/ |
H A D | idle.rs | 16 let pcb = ProcessManager::current_pcb(); in arch_idle_func() localVariable
|
H A D | syscall.rs | 57 let pcb = ProcessManager::current_pcb(); in arch_prctl() localVariable
|
/DragonOS/kernel/src/sched/ |
H A D | syscall.rs | 18 let pcb = ProcessManager::current_pcb(); in do_sched_yield() localVariable
|
H A D | fair.rs | 82 pcb: Weak<ProcessControlBlock>, field 124 pub fn pcb(&self) -> Arc<ProcessControlBlock> { in pcb() method
|
/DragonOS/kernel/src/filesystem/vfs/ |
H A D | core.rs | 190 let pcb = ProcessManager::current_pcb(); in do_remove_dir() localVariable 223 let pcb = ProcessManager::current_pcb(); in do_unlink_at() localVariable 267 let pcb = ProcessManager::current_pcb(); in do_symlinkat() localVariable
|
H A D | syscall.rs | 850 let pcb = ProcessManager::current_pcb(); in do_linkat() localVariable 1036 let pcb = ProcessManager::current_pcb(); in do_renameat2() localVariable 1377 let pcb = ProcessManager::current_pcb(); in statfs() localVariable
|
/DragonOS/kernel/src/libs/ |
H A D | wait_queue.rs | 38 let pcb = ProcessManager::current_pcb(); in prepare_to_wait_event() localVariable 52 let pcb = ProcessManager::current_pcb(); in finish_wait() localVariable 295 let pcb = ProcessManager::current_pcb(); in before_sleep_check() localVariable
|
/DragonOS/kernel/src/namespaces/ |
H A D | pid_namespace.rs | 173 let pcb = ProcessManager::find(current).unwrap(); in get_parent() localVariable 187 let pcb = ProcessManager::find(pid); in get() localVariable 193 let pcb = ProcessManager::find(current).unwrap(); in install() localVariable
|
H A D | namespace.rs | 90 let pcb = ProcessManager::find(current).unwrap(); in unshare_nsproxy_namespaces() localVariable
|
H A D | mnt_namespace.rs | 110 let pcb = ProcessManager::find(pid); in get() localVariable
|
/DragonOS/kernel/src/time/ |
H A D | syscall.rs | 171 let pcb = ProcessManager::current_pcb(); in alarm() localVariable
|
H A D | timer.rs | 90 pcb: Arc<ProcessControlBlock>, field
|
/DragonOS/kernel/src/libs/futex/ |
H A D | futex.rs | 143 pcb: Weak<ProcessControlBlock>, field 268 let pcb = ProcessManager::current_pcb(); in futex_wait() localVariable 708 let pcb: Arc<ProcessControlBlock> = if pid == 0 { in get_robust_list() localVariable
|
/DragonOS/kernel/src/filesystem/procfs/ |
H A D | mod.rs | 148 let pcb = ProcessManager::find(pid); in open_status() localVariable 149 let pcb = if let Some(pcb) = pcb { in open_status() localVariable
|
/DragonOS/kernel/src/arch/x86_64/ipc/ |
H A D | signal.rs | 363 let pcb = ProcessManager::current_pcb(); in setup_sigcontext() localVariable 418 let pcb = ProcessManager::current_pcb(); in do_signal() localVariable
|
/DragonOS/kernel/src/smp/cpu/ |
H A D | mod.rs | 259 let pcb = cpu_state.thread.as_ref().ok_or(SystemError::EINVAL)?; in do_cpuhp_kick_ap() localVariable
|