Home
last modified time | relevance | path

Searched defs:pcb (Results 1 – 25 of 29) sorted by relevance

12

/DragonOS/kernel/src/process/
H A Dsyscall.rs297 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 Dmod.rs315 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 Dkthread.rs319 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 Dexit.rs157 let pcb = ProcessManager::find(*pid).ok_or(SystemError::ECHILD)?; in do_wait() localVariable
H A Dfork.rs170 let pcb = ProcessControlBlock::new(name, new_kstack); in fork() localVariable
/DragonOS/kernel/src/ipc/
H A Dsignal.rs76 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 Dtty_job_control.rs23 let pcb = ProcessManager::current_pcb(); in proc_set_tty() localVariable
36 let pcb = ProcessManager::current_pcb(); in tty_check_change() localVariable
H A Dkthread.rs25 let pcb = KernelThreadMechanism::create_and_run(closure, "tty_refresh".to_string()) in tty_flush_thread_init() localVariable
H A Dtty_device.rs175 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 Didle.rs16 let pcb = ProcessManager::current_pcb(); in arch_idle_func() localVariable
H A Dsyscall.rs57 let pcb = ProcessManager::current_pcb(); in arch_prctl() localVariable
/DragonOS/kernel/src/sched/
H A Dsyscall.rs18 let pcb = ProcessManager::current_pcb(); in do_sched_yield() localVariable
H A Dfair.rs82 pcb: Weak<ProcessControlBlock>, field
124 pub fn pcb(&self) -> Arc<ProcessControlBlock> { in pcb() method
/DragonOS/kernel/src/filesystem/vfs/
H A Dcore.rs190 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 Dsyscall.rs850 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 Dwait_queue.rs38 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 Dpid_namespace.rs173 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 Dnamespace.rs90 let pcb = ProcessManager::find(current).unwrap(); in unshare_nsproxy_namespaces() localVariable
H A Dmnt_namespace.rs110 let pcb = ProcessManager::find(pid); in get() localVariable
/DragonOS/kernel/src/time/
H A Dsyscall.rs171 let pcb = ProcessManager::current_pcb(); in alarm() localVariable
H A Dtimer.rs90 pcb: Arc<ProcessControlBlock>, field
/DragonOS/kernel/src/libs/futex/
H A Dfutex.rs143 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 Dmod.rs148 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 Dsignal.rs363 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 Dmod.rs259 let pcb = cpu_state.thread.as_ref().ok_or(SystemError::EINVAL)?; in do_cpuhp_kick_ap() localVariable

12