Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/md/persistent-data/
Ddm-array.c45 struct array_block *bh_le = dm_block_data(b); in array_block_prepare_for_write() local
47 bh_le->blocknr = cpu_to_le64(dm_block_location(b)); in array_block_prepare_for_write()
48 bh_le->csum = cpu_to_le32(dm_bm_checksum(&bh_le->max_entries, in array_block_prepare_for_write()
57 struct array_block *bh_le = dm_block_data(b); in array_block_check() local
60 if (dm_block_location(b) != le64_to_cpu(bh_le->blocknr)) { in array_block_check()
62 (unsigned long long) le64_to_cpu(bh_le->blocknr), in array_block_check()
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()
73 (unsigned int) le32_to_cpu(bh_le->csum)); in array_block_check()