Searched refs:seg (Results 1 – 5 of 5) sorted by relevance
76 pub fn seg_setup(seg: usize) -> Result<(), SystemError> { in seg_setup()77 let seg_field = &KVM_VMX_SEGMENT_FIELDS[seg]; in seg_setup()79 if seg == Sreg::CS as usize { in seg_setup()
4 pub mod seg; module
7 use crate::arch::kvm::vmx::seg::{seg_setup, Sreg};
546 for seg in phdr_table { in load()547 if seg.p_type == PT_GNU_PROPERTY { in load()548 _gnu_property_data = Some(seg); in load()551 if seg.p_type != PT_INTERP { in load()558 if seg.p_filesz > 4096 || seg.p_filesz < 2 { in load()564 seg.p_offset as *const u8, in load()565 seg.p_filesz.try_into().unwrap(), in load()604 .filter(|seg| seg.p_type == elf::abi::PT_LOAD); in load()628 .filter(|seg| seg.p_type == elf::abi::PT_LOAD); in load()
709 for seg in path_split { in chdir()710 if seg == ".." { in chdir()712 } else if seg == "." { in chdir()715 cwd_vec.push(seg); in chdir()719 for seg in cwd_vec { in chdir()721 new_path.push_str(seg); in chdir()