Home
last modified time | relevance | path

Searched refs:seg (Results 1 – 5 of 5) sorted by relevance

/DragonOS/kernel/src/arch/x86_64/kvm/vmx/
H A Dseg.rs76 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()
H A Dmod.rs4 pub mod seg; module
H A Dvcpu.rs7 use crate::arch::kvm::vmx::seg::{seg_setup, Sreg};
/DragonOS/kernel/src/libs/
H A Delf.rs546 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()
/DragonOS/kernel/src/filesystem/vfs/
H A Dsyscall.rs709 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()