Home
last modified time | relevance | path

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

/DragonOS/kernel/src/libs/
H A Dalign.rs134 let page_size = MMArch::PAGE_SIZE; in page_align_up() localVariable
135 return (addr + page_size - 1) & (!(page_size - 1)); in page_align_up()
139 let page_size = MMArch::PAGE_SIZE; in page_align_down() localVariable
140 return addr & (!(page_size - 1)); in page_align_down()
/DragonOS/kernel/crates/rust-slabmalloc/src/
H A Dpages.rs16 page_size: usize, in first_fit()
60 page_size: usize, in first_fit()
77 offset <= (page_size - OBJECT_PAGE_METADATA_OVERHEAD - layout.size()); in first_fit()