Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/md/persistent-data/
Ddm-space-map-common.c28 struct disk_metadata_index *mi_le = dm_block_data(b); in index_prepare_for_write() local
30 mi_le->blocknr = cpu_to_le64(dm_block_location(b)); in index_prepare_for_write()
31 mi_le->csum = cpu_to_le32(dm_bm_checksum(&mi_le->padding, in index_prepare_for_write()
40 struct disk_metadata_index *mi_le = dm_block_data(b); in index_check() local
43 if (dm_block_location(b) != le64_to_cpu(mi_le->blocknr)) { in index_check()
45 le64_to_cpu(mi_le->blocknr), dm_block_location(b)); in index_check()
49 csum_disk = cpu_to_le32(dm_bm_checksum(&mi_le->padding, in index_check()
52 if (csum_disk != mi_le->csum) { in index_check()
54 le32_to_cpu(csum_disk), le32_to_cpu(mi_le->csum)); in index_check()
959 memcpy(ie, ll->mi_le.index + index, sizeof(*ie)); in metadata_ll_load_ie()
[all …]
Ddm-space-map-common.h88 struct disk_metadata_index mi_le; member