Home
last modified time | relevance | path

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

/drivers/md/persistent-data/
Ddm-array.c44 struct array_block *bh_le = dm_block_data(b); in array_block_prepare_for_write() local
46 bh_le->blocknr = cpu_to_le64(dm_block_location(b)); in array_block_prepare_for_write()
47 bh_le->csum = cpu_to_le32(dm_bm_checksum(&bh_le->max_entries, in array_block_prepare_for_write()
56 struct array_block *bh_le = dm_block_data(b); in array_block_check() local
59 if (dm_block_location(b) != le64_to_cpu(bh_le->blocknr)) { in array_block_check()
61 (unsigned long long) le64_to_cpu(bh_le->blocknr), in array_block_check()
66 csum_disk = cpu_to_le32(dm_bm_checksum(&bh_le->max_entries, in array_block_check()
69 if (csum_disk != bh_le->csum) { in array_block_check()
72 (unsigned) le32_to_cpu(bh_le->csum)); in array_block_check()