Lines Matching refs:mi_le
28 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()
967 memcpy(ll->mi_le.index + index, ie, sizeof(*ie)); in metadata_ll_save_ie()
997 memcpy(&ll->mi_le, dm_block_data(block), sizeof(ll->mi_le)); in metadata_ll_open()
1017 memcpy(dm_block_data(b), &ll->mi_le, sizeof(ll->mi_le)); in metadata_ll_commit()