Home
last modified time | relevance | path

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

/openbmc/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
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()
970 memcpy(ll->mi_le.index + index, ie, sizeof(*ie)); in metadata_ll_save_ie()
1000 memcpy(&ll->mi_le, dm_block_data(block), sizeof(ll->mi_le)); in metadata_ll_open()
[all …]
H A Ddm-space-map-common.h89 struct disk_metadata_index mi_le; member