Lines Matching refs:hr_block_bytes
210 unsigned int hr_block_bytes; member
633 ret = crc32_le(0, (unsigned char *) hb_block, reg->hr_block_bytes); in o2hb_compute_block_crc_le()
718 memset(hb_block, 0, reg->hr_block_bytes); in o2hb_prepare_block()
900 memcpy(hb_block, slot->ds_raw_block, reg->hr_block_bytes); in o2hb_check_slot()
1560 return sprintf(page, "%u\n", to_o2hb_region(item)->hr_block_bytes); in o2hb_region_block_bytes_show()
1580 reg->hr_block_bytes = (unsigned int)block_bytes; in o2hb_region_block_bytes_store()
1659 reg->hr_block_bytes, reg->hr_block_bits); in o2hb_init_region_params()
1673 reg->hr_tmp_block = kmalloc(reg->hr_block_bytes, GFP_KERNEL); in o2hb_map_slot_data()
1717 raw += reg->hr_block_bytes; in o2hb_map_slot_data()
1792 reg->hr_block_bytes == 0) in o2hb_region_dev_store()
1807 if (sectsize != reg->hr_block_bytes) { in o2hb_region_dev_store()
1810 reg->hr_block_bytes, sectsize); in o2hb_region_dev_store()