Searched refs:obj_per_page (Results 1 – 2 of 2) sorted by relevance
55 pub(crate) obj_per_page: usize, field72 let obj_per_page = cmin((P::SIZE - OBJECT_PAGE_METADATA_OVERHEAD) / $size, 8 * 64); localVariable76 obj_per_page,81 free_limit: 2 * obj_per_page,134 if slab_page.is_empty(self.obj_per_page) { in check_page_assignments()252 self.free_obj_count += self.obj_per_page; in refill()343 let is_empty_after_dealloc = slab_page.is_empty(self.obj_per_page); in deallocate()
146 scallocator.empty_slabs.elements * (scallocator.obj_per_page * scallocator.size()); in free_space()