Searched refs:hr_blocks (Results 1 – 1 of 1) sorted by relevance
207 unsigned int hr_blocks; member1249 for(i = 0; !reg->hr_unclean_stop && i < reg->hr_blocks; i++) in o2hb_thread()1617 return sprintf(page, "%d\n", to_o2hb_region(item)->hr_blocks); in o2hb_region_blocks_show()1639 reg->hr_blocks = (unsigned int)tmp; in o2hb_region_blocks_store()1660 reg->hr_start_block, reg->hr_blocks); in o2hb_init_region_params()1680 reg->hr_slots = kzalloc_objs(struct o2hb_disk_slot, reg->hr_blocks); in o2hb_map_slot_data()1684 for(i = 0; i < reg->hr_blocks; i++) { in o2hb_map_slot_data()1691 reg->hr_num_pages = (reg->hr_blocks + spp - 1) / spp; in o2hb_map_slot_data()1694 reg->hr_num_pages, reg->hr_blocks, spp); in o2hb_map_slot_data()1710 (j < spp) && ((j + last_slot) < reg->hr_blocks); in o2hb_map_slot_data()[all …]