Home
last modified time | relevance | path

Searched refs:param (Results 1 – 7 of 7) sorted by relevance

/DragonOS/kernel/src/arch/riscv64/process/
H A Dsyscall.rs63 let mut param = ExecParam::new(path.as_str(), address_space.clone(), ExecParamFlags::EXEC)?; in do_execve() localVariable
66 let load_result = load_binary_file(&mut param)?; in do_execve()
69 param.init_info_mut().args = argv; in do_execve()
70 param.init_info_mut().envs = envp; in do_execve()
81 param in do_execve()
96 regs.a0 = param.init_info().args.len(); in do_execve()
107 drop(param); in do_execve()
/DragonOS/kernel/src/arch/x86_64/process/
H A Dsyscall.rs66 let mut param = ExecParam::new(path.as_str(), address_space.clone(), ExecParamFlags::EXEC)?; in do_execve() localVariable
69 let load_result = load_binary_file(&mut param)?; in do_execve()
72 param.init_info_mut().args = argv; in do_execve()
73 param.init_info_mut().envs = envp; in do_execve()
84 param in do_execve()
101 regs.rdi = param.init_info().args.len() as u64; in do_execve()
117 drop(param); in do_execve()
/DragonOS/kernel/src/process/
H A Dexec.rs26 fn probe(&'static self, param: &ExecParam, buf: &[u8]) -> Result<(), ExecError>; in probe()
30 param: &mut ExecParam, in load()
165 pub fn load_binary_file(param: &mut ExecParam) -> Result<BinaryLoaderResult, SystemError> { in load_binary_file()
168 param.file_mut().lseek(SeekFrom::SeekSet(0))?; in load_binary_file()
169 let _bytes = param.file_mut().read(512, &mut head_buf)?; in load_binary_file()
174 let probe_result = bl.probe(param, &head_buf); in load_binary_file()
186 assert!(param.vm().is_current()); in load_binary_file()
190 .load(param, &head_buf) in load_binary_file()
/DragonOS/kernel/src/libs/
H A Delf.rs60 param: &ExecParam, in inner_probe_common()
69 if param.load_mode() == ExecLoadMode::Exec { in inner_probe_common()
86 param: &ExecParam, in probe_x86_64()
93 return self.inner_probe_common(param, ehdr); in probe_x86_64()
99 param: &ExecParam, in probe_riscv()
106 return self.inner_probe_common(param, ehdr); in probe_riscv()
203 param: &mut ExecParam, in load_elf_segment()
276 param, in load_elf_segment()
301 param, in load_elf_segment()
329 param: &mut ExecParam, in do_load_file()
[all …]
/DragonOS/kernel/src/init/
H A Dcmdline.rs265 if let Some(param) = self.find_param(node, option, KCmdlineParamType::EarlyKV) { in early_init()
266 let param = unsafe { param.force_mut() }; in early_init() localVariable
267 match param { in early_init()
338 if let Some(param) = self.find_param(node, option, KCmdlineParamType::KV) { in init()
339 let param = unsafe { param.force_mut() }; in init() localVariable
340 match param { in init()
352 } else if let Some(param) = self.find_param(node, option, KCmdlineParamType::Arg) { in init()
353 let param = unsafe { param.force_mut() }; in init() localVariable
354 match param { in init()
/DragonOS/kernel/src/arch/x86_64/init/pvh/
H A Dmod.rs6 use param::{E820Type, HvmMemmapTableEntry, HvmStartInfo};
22 mod param; module
85 param::E820Type::Ram => { in early_init_memory_blocks()
/DragonOS/kernel/src/driver/firmware/efi/
H A Dfdt.rs127 for param in PARAM_TO_READ { in get_fdt_params()
128 let node = fdt.find_node(param.path); in get_fdt_params()
134 for prop in param.properties { in get_fdt_params()