Searched refs:num_of_blocks (Results 1 – 1 of 1) sorted by relevance
35 let num_of_blocks = slab_size / self.block_size; in grow() localVariable37 unsafe { FreeBlockList::new(start_addr, self.block_size, num_of_blocks) }; in grow()66 unsafe fn new(start_addr: usize, block_size: usize, num_of_blocks: usize) -> FreeBlockList { in new()68 for i in (0..num_of_blocks).rev() { in new()