Home
last modified time | relevance | path

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

/linux/drivers/md/persistent-data/
H A Ddm-space-map-common.c29 struct disk_metadata_index *mi_le = dm_block_data(b); in index_prepare_for_write() local
31 mi_le->blocknr = cpu_to_le64(dm_block_location(b)); in index_prepare_for_write()
32 mi_le->csum = cpu_to_le32(dm_bm_checksum(&mi_le->padding, in index_prepare_for_write()
41 struct disk_metadata_index *mi_le = dm_block_data(b); in index_check() local
44 if (dm_block_location(b) != le64_to_cpu(mi_le->blocknr)) { in index_check()
46 le64_to_cpu(mi_le->blocknr), dm_block_location(b)); in index_check()
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()
962 memcpy(ie, ll->mi_le.index + index, sizeof(*ie)); in metadata_ll_load_ie()
[all …]
H A Ddm-space-map-common.h89 struct disk_metadata_index mi_le; member