Searched refs:new_layout (Results 1 – 1 of 1) sorted by relevance
270 let new_layout = unsafe { Layout::from_size_align_unchecked(self.size, layout.align()) }; in allocate() localVariable271 assert!(new_layout.size() >= layout.size()); in allocate()276 let ptr = self.try_allocate_from_pagelist(new_layout); in allocate()341 let new_layout = unsafe { Layout::from_size_align_unchecked(self.size, layout.align()) }; in deallocate() localVariable343 let ret = slab_page.deallocate(ptr, new_layout); in deallocate()