Home
last modified time | relevance | path

Searched refs:basic (Results 1 – 16 of 16) sorted by relevance

/DragonOS/kernel/crates/kprobe/src/arch/x86/
H A Dmod.rs14 basic: KprobeBasic, field
49 .field("basic", &self.basic) in fmt()
59 &self.basic in deref()
65 &mut self.basic in deref_mut()
76 basic: KprobeBasic::from(self), in install()
/DragonOS/kernel/crates/kprobe/src/arch/loongarch64/
H A Dmod.rs12 basic: KprobeBasic, field
25 &self.basic in deref()
31 &mut self.basic in deref_mut()
64 basic: KprobeBasic::from(self), in install()
/DragonOS/kernel/crates/kprobe/src/arch/rv64/
H A Dmod.rs16 basic: KprobeBasic, field
36 &self.basic in deref()
42 &mut self.basic in deref_mut()
81 basic: KprobeBasic::from(self), in install()
/DragonOS/kernel/src/driver/tty/
H A Dtty_job_control.rs25 ctrl.session = Some(pcb.basic().sid()); in proc_set_tty()
100 || ctrl.session.unwrap() != current.basic().sid() in job_ctrl_ioctl()
/DragonOS/kernel/src/process/
H A Dfork.rs168 let name = current_pcb.basic().name().to_string(); in fork()
240 let old_address_space = current_pcb.basic().user_vm().unwrap_or_else(|| { in copy_mm()
297 let new_fd_table = current_pcb.basic().fd_table().unwrap().read().clone(); in copy_files()
304 .set_fd_table(current_pcb.basic().fd_table().clone()); in copy_files()
H A Dmod.rs409 if Arc::strong_count(&pcb.basic().user_vm().expect("User VM Not found")) > 1 { in exit()
619 basic: RwLock<ProcessBasicInfo>, field
716 let cwd = ProcessManager::current_pcb().basic().cwd(); in do_create_pcb()
735 basic: basic_info, in do_create_pcb()
836 pub fn basic(&self) -> RwLockReadGuard<ProcessBasicInfo> { in basic() method
837 return self.basic.read_irqsave(); in basic()
842 self.basic.write().set_name(name); in set_name()
847 return self.basic.write_irqsave(); in basic_mut()
917 return self.basic.read().fd_table().unwrap(); in fd_table()
H A Didle.rs53 assert!(idle_pcb.basic().user_vm().is_none()); in init_idle()
H A Dsyscall.rs270 return Ok(target_proc.basic().pgid()); in getpgid()
277 return Ok(current_pcb.basic().ppid()); in getppid()
296 let name = current_pcb.basic().name().to_string(); in clone()
H A Dexec.rs130 init_info: ProcInitInfo::new(ProcessManager::current_pcb().basic().name()), in new()
/DragonOS/kernel/src/filesystem/vfs/
H A Dutils.rs68 let mut cwd = pcb.basic().cwd(); in user_path_at()
H A Dsyscall.rs705 _ => proc.basic().cwd(), in chdir()
752 let cwd = proc.basic().cwd(); in getcwd()
/DragonOS/kernel/src/filesystem/procfs/
H A Dmod.rs162 &mut format!("Name:\t{}", pcb.basic().name()) in open_status()
192 &mut format!("\nPpid:\t{}", pcb.basic().ppid().into()) in open_status()
213 if let Some(user_vm) = pcb.basic().user_vm() { in open_status()
/DragonOS/kernel/src/arch/riscv64/process/
H A Dmod.rs175 let next_addr_space = next.basic().user_vm().as_ref().unwrap().clone(); in switch_process()
/DragonOS/kernel/src/arch/x86_64/process/
H A Dmod.rs384 let next_addr_space = next.basic().user_vm().as_ref().unwrap().clone(); in switch_process()
/DragonOS/kernel/src/sched/
H A Dmod.rs931 ProcessManager::current_pcb().basic().name() in __schedule()
/DragonOS/kernel/src/mm/
H A Ducontext.rs77 .basic() in current()