Home
last modified time | relevance | path

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

/DragonOS/kernel/crates/rust-slabmalloc/src/
H A Dsc.rs72 let obj_per_page = cmin((P::SIZE - OBJECT_PAGE_METADATA_OVERHEAD) / $size, 8 * 64);
247 .initialize(self.size, P::SIZE - OBJECT_PAGE_METADATA_OVERHEAD); in refill()
269 assert!(self.size <= (P::SIZE - OBJECT_PAGE_METADATA_OVERHEAD)); in allocate()
324 assert!(self.size <= (P::SIZE - OBJECT_PAGE_METADATA_OVERHEAD)); in deallocate()
H A Dlib.rs45 const OBJECT_PAGE_METADATA_OVERHEAD: usize = 80; constant
H A Dpages.rs77 offset <= (page_size - OBJECT_PAGE_METADATA_OVERHEAD - layout.size()); in first_fit()
296 data: [u8; OBJECT_PAGE_SIZE - OBJECT_PAGE_METADATA_OVERHEAD],