hb_block 624 fs/ocfs2/cluster/heartbeat.c struct o2hb_disk_heartbeat_block *hb_block) hb_block 632 fs/ocfs2/cluster/heartbeat.c old_cksum = hb_block->hb_cksum; hb_block 633 fs/ocfs2/cluster/heartbeat.c hb_block->hb_cksum = 0; hb_block 635 fs/ocfs2/cluster/heartbeat.c ret = crc32_le(0, (unsigned char *) hb_block, reg->hr_block_bytes); hb_block 637 fs/ocfs2/cluster/heartbeat.c hb_block->hb_cksum = old_cksum; hb_block 642 fs/ocfs2/cluster/heartbeat.c static void o2hb_dump_slot(struct o2hb_disk_heartbeat_block *hb_block) hb_block 646 fs/ocfs2/cluster/heartbeat.c (long long)le64_to_cpu(hb_block->hb_seq), hb_block 647 fs/ocfs2/cluster/heartbeat.c hb_block->hb_node, le32_to_cpu(hb_block->hb_cksum), hb_block 648 fs/ocfs2/cluster/heartbeat.c (long long)le64_to_cpu(hb_block->hb_generation)); hb_block 652 fs/ocfs2/cluster/heartbeat.c struct o2hb_disk_heartbeat_block *hb_block) hb_block 656 fs/ocfs2/cluster/heartbeat.c read = le32_to_cpu(hb_block->hb_cksum); hb_block 657 fs/ocfs2/cluster/heartbeat.c computed = o2hb_compute_block_crc_le(reg, hb_block); hb_block 672 fs/ocfs2/cluster/heartbeat.c struct o2hb_disk_heartbeat_block *hb_block; hb_block 680 fs/ocfs2/cluster/heartbeat.c hb_block = slot->ds_raw_block; hb_block 681 fs/ocfs2/cluster/heartbeat.c if (le64_to_cpu(hb_block->hb_seq) == slot->ds_last_time && hb_block 682 fs/ocfs2/cluster/heartbeat.c le64_to_cpu(hb_block->hb_generation) == slot->ds_last_generation && hb_block 683 fs/ocfs2/cluster/heartbeat.c hb_block->hb_node == slot->ds_node_num) hb_block 690 fs/ocfs2/cluster/heartbeat.c if (hb_block->hb_node != slot->ds_node_num) hb_block 692 fs/ocfs2/cluster/heartbeat.c else if (le64_to_cpu(hb_block->hb_generation) != hb_block 701 fs/ocfs2/cluster/heartbeat.c (unsigned long long)slot->ds_last_time, hb_block->hb_node, hb_block 702 fs/ocfs2/cluster/heartbeat.c (unsigned long long)le64_to_cpu(hb_block->hb_generation), hb_block 703 fs/ocfs2/cluster/heartbeat.c (unsigned long long)le64_to_cpu(hb_block->hb_seq)); hb_block 714 fs/ocfs2/cluster/heartbeat.c struct o2hb_disk_heartbeat_block *hb_block; hb_block 719 fs/ocfs2/cluster/heartbeat.c hb_block = (struct o2hb_disk_heartbeat_block *)slot->ds_raw_block; hb_block 720 fs/ocfs2/cluster/heartbeat.c memset(hb_block, 0, reg->hr_block_bytes); hb_block 726 fs/ocfs2/cluster/heartbeat.c hb_block->hb_seq = cpu_to_le64(cputime); hb_block 727 fs/ocfs2/cluster/heartbeat.c hb_block->hb_node = node_num; hb_block 728 fs/ocfs2/cluster/heartbeat.c hb_block->hb_generation = cpu_to_le64(generation); hb_block 729 fs/ocfs2/cluster/heartbeat.c hb_block->hb_dead_ms = cpu_to_le32(o2hb_dead_threshold * O2HB_REGION_TIMEOUT_MS); hb_block 732 fs/ocfs2/cluster/heartbeat.c hb_block->hb_cksum = cpu_to_le32(o2hb_compute_block_crc_le(reg, hb_block 733 fs/ocfs2/cluster/heartbeat.c hb_block)); hb_block 737 fs/ocfs2/cluster/heartbeat.c le32_to_cpu(hb_block->hb_cksum)); hb_block 895 fs/ocfs2/cluster/heartbeat.c struct o2hb_disk_heartbeat_block *hb_block = reg->hr_tmp_block; hb_block 902 fs/ocfs2/cluster/heartbeat.c memcpy(hb_block, slot->ds_raw_block, reg->hr_block_bytes); hb_block 917 fs/ocfs2/cluster/heartbeat.c if (!o2hb_verify_crc(reg, hb_block)) { hb_block 933 fs/ocfs2/cluster/heartbeat.c o2hb_dump_slot(hb_block); hb_block 941 fs/ocfs2/cluster/heartbeat.c cputime = le64_to_cpu(hb_block->hb_seq); hb_block 953 fs/ocfs2/cluster/heartbeat.c if (slot->ds_last_generation != le64_to_cpu(hb_block->hb_generation)) { hb_block 959 fs/ocfs2/cluster/heartbeat.c (long long)le64_to_cpu(hb_block->hb_generation)); hb_block 962 fs/ocfs2/cluster/heartbeat.c slot->ds_last_generation = le64_to_cpu(hb_block->hb_generation); hb_block 967 fs/ocfs2/cluster/heartbeat.c le32_to_cpu(hb_block->hb_cksum), hb_block 968 fs/ocfs2/cluster/heartbeat.c (unsigned long long)le64_to_cpu(hb_block->hb_seq), hb_block 1008 fs/ocfs2/cluster/heartbeat.c slot_dead_ms = le32_to_cpu(hb_block->hb_dead_ms); hb_block 1736 fs/ocfs2/cluster/heartbeat.c struct o2hb_disk_heartbeat_block *hb_block; hb_block 1748 fs/ocfs2/cluster/heartbeat.c hb_block = (struct o2hb_disk_heartbeat_block *) slot->ds_raw_block; hb_block 1752 fs/ocfs2/cluster/heartbeat.c slot->ds_last_time = le64_to_cpu(hb_block->hb_seq); hb_block 1753 fs/ocfs2/cluster/heartbeat.c slot->ds_last_generation = le64_to_cpu(hb_block->hb_generation);