Home
last modified time | relevance | path

Searched refs:head_buf (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.8/kernel/src/process/
Dexec.rs29 head_buf: &[u8], in load()
167 let mut head_buf = [0u8; 512]; in load_binary_file() localVariable
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()
190 .load(param, &head_buf) in load_binary_file()
/DragonOS-0.1.8/kernel/src/libs/
Delf.rs480 head_buf: &[u8], in load()
483 let ehdr = Self::parse_ehdr(head_buf).map_err(|_| ExecError::NotExecutable)?; in load()