Lines Matching refs:hr_blocks
228 unsigned int hr_blocks; member
1121 for(i = 0; !reg->hr_unclean_stop && i < reg->hr_blocks; i++) in o2hb_thread()
1540 return sprintf(page, "%d\n", to_o2hb_region(item)->hr_blocks); in o2hb_region_blocks_show()
1561 reg->hr_blocks = (unsigned int)tmp; in o2hb_region_blocks_store()
1582 reg->hr_start_block, reg->hr_blocks); in o2hb_init_region_params()
1602 reg->hr_slots = kcalloc(reg->hr_blocks, in o2hb_map_slot_data()
1607 for(i = 0; i < reg->hr_blocks; i++) { in o2hb_map_slot_data()
1614 reg->hr_num_pages = (reg->hr_blocks + spp - 1) / spp; in o2hb_map_slot_data()
1617 reg->hr_num_pages, reg->hr_blocks, spp); in o2hb_map_slot_data()
1634 (j < spp) && ((j + last_slot) < reg->hr_blocks); in o2hb_map_slot_data()
1636 BUG_ON((j + last_slot) >= reg->hr_blocks); in o2hb_map_slot_data()
1658 ret = o2hb_read_slots(reg, reg->hr_blocks); in o2hb_populate_slot_data()
1666 for(i = 0; i < reg->hr_blocks; i++) { in o2hb_populate_slot_data()
1714 if (reg->hr_blocks == 0 || reg->hr_start_block == 0 || in o2hb_region_dev_store()