Lines Matching refs:hr_block_bytes
229 unsigned int hr_block_bytes; member
513 ret = crc32_le(0, (unsigned char *) hb_block, reg->hr_block_bytes); in o2hb_compute_block_crc_le()
591 memset(hb_block, 0, reg->hr_block_bytes); in o2hb_prepare_block()
772 memcpy(hb_block, slot->ds_raw_block, reg->hr_block_bytes); in o2hb_check_slot()
1492 return sprintf(page, "%u\n", reg->hr_block_bytes); in o2hb_region_block_bytes_read()
1511 reg->hr_block_bytes = (unsigned int)block_bytes; in o2hb_region_block_bytes_write()
1589 reg->hr_block_bytes, reg->hr_block_bits); in o2hb_init_region_params()
1603 reg->hr_tmp_block = kmalloc(reg->hr_block_bytes, GFP_KERNEL); in o2hb_map_slot_data()
1655 raw += reg->hr_block_bytes; in o2hb_map_slot_data()
1729 reg->hr_block_bytes == 0) in o2hb_region_dev_write()
1750 if (sectsize != reg->hr_block_bytes) { in o2hb_region_dev_write()
1753 reg->hr_block_bytes, sectsize); in o2hb_region_dev_write()