Home
last modified time | relevance | path

Searched refs:hb_block (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/fs/ocfs2/cluster/
Dheartbeat.c615 struct o2hb_disk_heartbeat_block *hb_block) in o2hb_compute_block_crc_le() argument
623 old_cksum = hb_block->hb_cksum; in o2hb_compute_block_crc_le()
624 hb_block->hb_cksum = 0; in o2hb_compute_block_crc_le()
626 ret = crc32_le(0, (unsigned char *) hb_block, reg->hr_block_bytes); in o2hb_compute_block_crc_le()
628 hb_block->hb_cksum = old_cksum; in o2hb_compute_block_crc_le()
633 static void o2hb_dump_slot(struct o2hb_disk_heartbeat_block *hb_block) in o2hb_dump_slot() argument
637 (long long)le64_to_cpu(hb_block->hb_seq), in o2hb_dump_slot()
638 hb_block->hb_node, le32_to_cpu(hb_block->hb_cksum), in o2hb_dump_slot()
639 (long long)le64_to_cpu(hb_block->hb_generation)); in o2hb_dump_slot()
643 struct o2hb_disk_heartbeat_block *hb_block) in o2hb_verify_crc() argument
[all …]