Lines Matching refs:mi_le
29 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()
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()
1020 memcpy(dm_block_data(b), &ll->mi_le, sizeof(ll->mi_le)); in metadata_ll_commit()