Searched refs:root_le (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/drivers/md/persistent-data/ |
H A D | dm-space-map-disk.c | 183 struct disk_sm_root root_le; in sm_disk_copy_root() local 185 root_le.nr_blocks = cpu_to_le64(smd->ll.nr_blocks); in sm_disk_copy_root() 186 root_le.nr_allocated = cpu_to_le64(smd->ll.nr_allocated); in sm_disk_copy_root() 187 root_le.bitmap_root = cpu_to_le64(smd->ll.bitmap_root); in sm_disk_copy_root() 188 root_le.ref_count_root = cpu_to_le64(smd->ll.ref_count_root); in sm_disk_copy_root() 190 if (max < sizeof(root_le)) in sm_disk_copy_root() 193 memcpy(where_le, &root_le, sizeof(root_le)); in sm_disk_copy_root() 252 void *root_le, size_t len) in dm_sm_disk_open() argument 265 r = sm_ll_open_disk(&smd->ll, tm, root_le, len); in dm_sm_disk_open()
|
H A D | dm-space-map-metadata.c | 546 struct disk_sm_root root_le; in sm_metadata_copy_root() local 548 root_le.nr_blocks = cpu_to_le64(smm->ll.nr_blocks); in sm_metadata_copy_root() 549 root_le.nr_allocated = cpu_to_le64(smm->ll.nr_allocated); in sm_metadata_copy_root() 550 root_le.bitmap_root = cpu_to_le64(smm->ll.bitmap_root); in sm_metadata_copy_root() 551 root_le.ref_count_root = cpu_to_le64(smm->ll.ref_count_root); in sm_metadata_copy_root() 553 if (max < sizeof(root_le)) in sm_metadata_copy_root() 556 memcpy(where_le, &root_le, sizeof(root_le)); in sm_metadata_copy_root() 829 void *root_le, size_t len) in dm_sm_metadata_open() argument 834 r = sm_ll_open_metadata(&smm->ll, tm, root_le, len); in dm_sm_metadata_open()
|
H A D | dm-space-map-common.h | 138 void *root_le, size_t len); 142 void *root_le, size_t len);
|
H A D | dm-space-map-metadata.h | 43 void *root_le, size_t len);
|
H A D | dm-space-map-common.c | 1058 void *root_le, size_t len) in sm_ll_open_metadata() argument 1072 memcpy(&smr, root_le, sizeof(smr)); in sm_ll_open_metadata() 1236 void *root_le, size_t len) in sm_ll_open_disk() argument 1239 struct disk_sm_root *smr = root_le; in sm_ll_open_disk()
|
/openbmc/linux/drivers/md/ |
H A D | dm-thin-metadata.c | 385 const __le64 *root_le = value; in subtree_inc() local 388 for (i = 0; i < count; i++, root_le++) in subtree_inc() 389 dm_tm_inc(info->tm, le64_to_cpu(*root_le)); in subtree_inc() 395 const __le64 *root_le = value; in subtree_dec() local 398 for (i = 0; i < count; i++, root_le++) in subtree_dec() 399 if (dm_btree_del(info, le64_to_cpu(*root_le))) in subtree_dec()
|