Searched refs:hr_blocks (Results 1 – 1 of 1) sorted by relevance
206 unsigned int hr_blocks; member1629 reg->hr_blocks = (unsigned int)tmp; in o2hb_region_blocks_store()1650 reg->hr_start_block, reg->hr_blocks); in o2hb_init_region_params()1670 reg->hr_slots = kcalloc(reg->hr_blocks, in o2hb_map_slot_data()1675 for(i = 0; i < reg->hr_blocks; i++) { in o2hb_map_slot_data()1682 reg->hr_num_pages = (reg->hr_blocks + spp - 1) / spp; in o2hb_map_slot_data()1685 reg->hr_num_pages, reg->hr_blocks, spp); in o2hb_map_slot_data()1702 (j < spp) && ((j + last_slot) < reg->hr_blocks); in o2hb_map_slot_data()1704 BUG_ON((j + last_slot) >= reg->hr_blocks); in o2hb_map_slot_data()1726 ret = o2hb_read_slots(reg, 0, reg->hr_blocks); in o2hb_populate_slot_data()[all …]