Home
last modified time | relevance | path

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

/DragonOS-0.1.9/kernel/src/mm/
Dmm.h24 #define PAGE_4K_SIZE (1UL << PAGE_4K_SHIFT) macro
29 #define PAGE_4K_MASK (~(PAGE_4K_SIZE - 1))
33 #define PAGE_4K_ALIGN(addr) (((unsigned long)(addr) + PAGE_4K_SIZE - 1) & PAGE_4K_MASK)
Dmmio_buddy.rs5 include::bindings::bindings::{PAGE_1G_SHIFT, PAGE_4K_SHIFT, PAGE_4K_SIZE},
492 new_size = PAGE_4K_SIZE as usize; in create_mmio()
/DragonOS-0.1.9/kernel/src/syscall/
Dmod.rs32 include::bindings::bindings::{PAGE_2M_SIZE, PAGE_4K_SIZE},
284 || verify_area(virt_argv_ptr, PAGE_4K_SIZE as usize).is_err()) in handle()
285 || verify_area(virt_env_ptr, PAGE_4K_SIZE as usize).is_err() in handle()
384 if frame.from_user() && verify_area(virt_pathname, PAGE_4K_SIZE as usize).is_err() { in handle()
469 if verify_area(virt_optval, PAGE_4K_SIZE as usize).is_err() { in handle()