Home
last modified time | relevance | path

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

/DragonOS-0.1.9/kernel/src/libs/
Dalign.rs130 let page_size = MMArch::PAGE_SIZE; in page_align_up() localVariable
131 return (addr + page_size - 1) & (!(page_size - 1)); in page_align_up()
135 let page_size = MMArch::PAGE_SIZE; in page_align_down() localVariable
136 return addr & (!(page_size - 1)); in page_align_down()