Lines Matching refs:hr_block_bytes
214 unsigned int hr_block_bytes; member
635 ret = crc32_le(0, (unsigned char *) hb_block, reg->hr_block_bytes); in o2hb_compute_block_crc_le()
720 memset(hb_block, 0, reg->hr_block_bytes); in o2hb_prepare_block()
902 memcpy(hb_block, slot->ds_raw_block, reg->hr_block_bytes); in o2hb_check_slot()
1566 return sprintf(page, "%u\n", to_o2hb_region(item)->hr_block_bytes); in o2hb_region_block_bytes_show()
1586 reg->hr_block_bytes = (unsigned int)block_bytes; in o2hb_region_block_bytes_store()
1664 reg->hr_block_bytes, reg->hr_block_bits); in o2hb_init_region_params()
1678 reg->hr_tmp_block = kmalloc(reg->hr_block_bytes, GFP_KERNEL); in o2hb_map_slot_data()
1722 raw += reg->hr_block_bytes; in o2hb_map_slot_data()
1795 reg->hr_block_bytes == 0) in o2hb_region_dev_store()
1816 if (sectsize != reg->hr_block_bytes) { in o2hb_region_dev_store()
1819 reg->hr_block_bytes, sectsize); in o2hb_region_dev_store()