Searched refs:bmp (Results 1 – 2 of 2) sorted by relevance
9 bmp: AllocBitmap, field15 let bmp = AllocBitmap::new(PerCpu::MAX_CPU_NUM as usize); in new() localVariable16 Self { bmp } in new()36 self.bmp in first()43 self.bmp in first_zero()50 self.bmp in last()57 self.bmp in next_index()64 self.bmp in next_zero_index()70 self.bmp.set(cpu.data() as usize, value) in set()74 self.bmp.get(cpu.data() as usize) in get()[all …]
48 bmp: StaticBitmap<{ Self::EARLY_REMAP_PAGES_NUM }>, field59 bmp: StaticBitmap::new(), in new()69 if let Some(index) = self.bmp.first_false_index() { in allocate_page()70 self.bmp.set(index, true); in allocate_page()89 assert!(self.bmp.get(index).unwrap()); in free_page()90 self.bmp.set(index, false); in free_page()