Home
last modified time | relevance | path

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

/openbmc/linux/drivers/md/persistent-data/
H A Ddm-btree-spine.c39 __le32 csum_disk; in node_check() local
48 csum_disk = cpu_to_le32(dm_bm_checksum(&h->flags, in node_check()
51 if (csum_disk != h->csum) { in node_check()
53 le32_to_cpu(csum_disk), le32_to_cpu(h->csum)); in node_check()
H A Ddm-space-map-common.c42 __le32 csum_disk; in index_check() local
50 csum_disk = cpu_to_le32(dm_bm_checksum(&mi_le->padding, in index_check()
53 if (csum_disk != mi_le->csum) { in index_check()
55 le32_to_cpu(csum_disk), le32_to_cpu(mi_le->csum)); in index_check()
92 __le32 csum_disk; in dm_bitmap_check() local
100 csum_disk = cpu_to_le32(dm_bm_checksum(&disk_header->not_used, in dm_bitmap_check()
103 if (csum_disk != disk_header->csum) { in dm_bitmap_check()
105 le32_to_cpu(csum_disk), le32_to_cpu(disk_header->csum)); in dm_bitmap_check()
H A Ddm-array.c58 __le32 csum_disk; in array_block_check() local
67 csum_disk = cpu_to_le32(dm_bm_checksum(&bh_le->max_entries, in array_block_check()
70 if (csum_disk != bh_le->csum) { in array_block_check()
72 (unsigned int) le32_to_cpu(csum_disk), in array_block_check()