Searched refs:hr_blocks (Results 1 - 1 of 1) sorted by relevance
/linux-4.1.27/fs/ocfs2/cluster/ |
H A D | heartbeat.c | 227 unsigned int hr_blocks; member in struct:o2hb_region 1146 for(i = 0; !reg->hr_unclean_stop && i < reg->hr_blocks; i++) o2hb_thread() 1564 return sprintf(page, "%d\n", reg->hr_blocks); o2hb_region_blocks_read() 1584 reg->hr_blocks = (unsigned int)tmp; o2hb_region_blocks_write() 1605 mlog(ML_HEARTBEAT, "hr_start_block = %llu, hr_blocks = %u\n", o2hb_init_region_params() 1606 reg->hr_start_block, reg->hr_blocks); o2hb_init_region_params() 1628 reg->hr_slots = kcalloc(reg->hr_blocks, o2hb_map_slot_data() 1635 for(i = 0; i < reg->hr_blocks; i++) { o2hb_map_slot_data() 1642 reg->hr_num_pages = (reg->hr_blocks + spp - 1) / spp; o2hb_map_slot_data() 1645 reg->hr_num_pages, reg->hr_blocks, spp); o2hb_map_slot_data() 1666 (j < spp) && ((j + last_slot) < reg->hr_blocks); o2hb_map_slot_data() 1668 BUG_ON((j + last_slot) >= reg->hr_blocks); o2hb_map_slot_data() 1690 ret = o2hb_read_slots(reg, reg->hr_blocks); o2hb_populate_slot_data() 1700 for(i = 0; i < reg->hr_blocks; i++) { o2hb_populate_slot_data() 1747 if (reg->hr_blocks == 0 || reg->hr_start_block == 0 || o2hb_region_dev_write()
|
Completed in 126 milliseconds