Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/mm/
Dmm.h26 #define PAGE_4K_SIZE (1UL << PAGE_4K_SHIFT) macro
31 #define PAGE_4K_MASK (~(PAGE_4K_SIZE - 1))
35 #define PAGE_4K_ALIGN(addr) (((unsigned long)(addr) + PAGE_4K_SIZE - 1) & PAGE_4K_MASK)
Dmmio_buddy.rs6 include::bindings::bindings::{vm_flags_t, PAGE_1G_SHIFT, PAGE_4K_SHIFT, PAGE_4K_SIZE},
496 new_size = PAGE_4K_SIZE as usize; in create_mmio()
/DragonOS-0.1.8/kernel/src/filesystem/vfs/
Dcore.rs19 include::bindings::bindings::PAGE_4K_SIZE,
205 if path.len() > PAGE_4K_SIZE as usize { in do_mkdir()
234 if path.len() > PAGE_4K_SIZE as usize { in do_remove_dir()
270 if path.len() > PAGE_4K_SIZE as usize { in do_unlink_at()
Dsyscall.rs6 include::bindings::bindings::{verify_area, AT_REMOVEDIR, PAGE_4K_SIZE, PROC_MAX_FD_NUM},
132 if path.len() > PAGE_4K_SIZE as usize { in open()
/DragonOS-0.1.8/user/libs/libc/src/
Dmalloc.c14 #define PAGE_4K_SIZE (1UL << PAGE_4K_SHIFT) macro
19 #define PAGE_4K_MASK (~(PAGE_4K_SIZE - 1))
23 #define PAGE_4K_ALIGN(addr) (((unsigned long)(addr) + PAGE_4K_SIZE - 1) & PAGE_4K_MASK)
/DragonOS-0.1.8/kernel/src/syscall/
Dmod.rs16 include::bindings::bindings::{pid_t, PAGE_2M_SIZE, PAGE_4K_SIZE},
527 } else if dest_path.len() > PAGE_4K_SIZE as usize { in handle()
572 && (verify_area(virt_path_ptr, PAGE_4K_SIZE as usize).is_err() in handle()
573 || verify_area(virt_argv_ptr, PAGE_4K_SIZE as usize).is_err()) in handle()
574 || verify_area(virt_env_ptr, PAGE_4K_SIZE as usize).is_err() in handle()
596 || verify_area(virt_rusage, PAGE_4K_SIZE as usize).is_err()) in handle()
673 if from_user && verify_area(virt_pathname, PAGE_4K_SIZE as usize).is_err() { in handle()
750 if verify_area(virt_optval, PAGE_4K_SIZE as usize).is_err() { in handle()