Lines Matching refs:hr_block_bytes
231 unsigned int hr_block_bytes; member
514 ret = crc32_le(0, (unsigned char *) hb_block, reg->hr_block_bytes); in o2hb_compute_block_crc_le()
599 memset(hb_block, 0, reg->hr_block_bytes); in o2hb_prepare_block()
781 memcpy(hb_block, slot->ds_raw_block, reg->hr_block_bytes); in o2hb_check_slot()
1511 return sprintf(page, "%u\n", reg->hr_block_bytes); in o2hb_region_block_bytes_read()
1530 reg->hr_block_bytes = (unsigned int)block_bytes; in o2hb_region_block_bytes_write()
1608 reg->hr_block_bytes, reg->hr_block_bits); in o2hb_init_region_params()
1622 reg->hr_tmp_block = kmalloc(reg->hr_block_bytes, GFP_KERNEL); in o2hb_map_slot_data()
1674 raw += reg->hr_block_bytes; in o2hb_map_slot_data()
1748 reg->hr_block_bytes == 0) in o2hb_region_dev_write()
1769 if (sectsize != reg->hr_block_bytes) { in o2hb_region_dev_write()
1772 reg->hr_block_bytes, sectsize); in o2hb_region_dev_write()