Home
last modified time | relevance | path

Searched refs:MremapFlags (Results 1 – 3 of 3) sorted by relevance

/DragonOS/kernel/src/mm/
H A Dsyscall.rs71 pub struct MremapFlags: u8 {
371 mremap_flags: MremapFlags, in mremap() argument
375 if mremap_flags.contains(MremapFlags::MREMAP_FIXED) in mremap()
376 && (!mremap_flags.contains(MremapFlags::MREMAP_MAYMOVE) in mremap()
383 if mremap_flags.contains(MremapFlags::MREMAP_DONTUNMAP) in mremap()
384 && (!mremap_flags.contains(MremapFlags::MREMAP_MAYMOVE) || old_len != new_len) in mremap()
433 if !mremap_flags.contains(MremapFlags::MREMAP_DONTUNMAP) { in mremap()
H A Ducontext.rs39 syscall::{MadvFlags, MapFlags, MremapFlags, ProtFlags},
518 mremap_flags: MremapFlags, in mremap() argument
540 if mremap_flags.contains(MremapFlags::MREMAP_FIXED) { in mremap()
/DragonOS/kernel/src/syscall/
H A Dmod.rs11 mm::{page::PAGE_4K_SIZE, syscall::MremapFlags},
605 let mremap_flags = MremapFlags::from_bits_truncate(args[3] as u8); in handle()