Home
last modified time | relevance | path

Searched refs:root_le (Results 1 – 6 of 6) sorted by relevance

/linux-6.3-rc2/drivers/md/persistent-data/
A Ddm-space-map-disk.c183 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()
A Ddm-space-map-metadata.c546 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()
A Ddm-space-map-common.h138 void *root_le, size_t len);
142 void *root_le, size_t len);
A Ddm-space-map-metadata.h43 void *root_le, size_t len);
A Ddm-space-map-common.c1058 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()
/linux-6.3-rc2/drivers/md/
A Ddm-thin-metadata.c385 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()

Completed in 14 milliseconds