Home
last modified time | relevance | path

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

/drivers/md/persistent-data/
Ddm-space-map-disk.c229 struct disk_sm_root root_le; in sm_disk_copy_root() local
231 root_le.nr_blocks = cpu_to_le64(smd->ll.nr_blocks); in sm_disk_copy_root()
232 root_le.nr_allocated = cpu_to_le64(smd->ll.nr_allocated); in sm_disk_copy_root()
233 root_le.bitmap_root = cpu_to_le64(smd->ll.bitmap_root); in sm_disk_copy_root()
234 root_le.ref_count_root = cpu_to_le64(smd->ll.ref_count_root); in sm_disk_copy_root()
236 if (max < sizeof(root_le)) in sm_disk_copy_root()
239 memcpy(where_le, &root_le, sizeof(root_le)); in sm_disk_copy_root()
298 void *root_le, size_t len) in dm_sm_disk_open() argument
311 r = sm_ll_open_disk(&smd->ll, tm, root_le, len); in dm_sm_disk_open()
Ddm-space-map-metadata.c541 struct disk_sm_root root_le; in sm_metadata_copy_root() local
543 root_le.nr_blocks = cpu_to_le64(smm->ll.nr_blocks); in sm_metadata_copy_root()
544 root_le.nr_allocated = cpu_to_le64(smm->ll.nr_allocated); in sm_metadata_copy_root()
545 root_le.bitmap_root = cpu_to_le64(smm->ll.bitmap_root); in sm_metadata_copy_root()
546 root_le.ref_count_root = cpu_to_le64(smm->ll.ref_count_root); in sm_metadata_copy_root()
548 if (max < sizeof(root_le)) in sm_metadata_copy_root()
551 memcpy(where_le, &root_le, sizeof(root_le)); in sm_metadata_copy_root()
819 void *root_le, size_t len) in dm_sm_metadata_open() argument
824 r = sm_ll_open_metadata(&smm->ll, tm, root_le, len); in dm_sm_metadata_open()
Ddm-space-map-common.h121 void *root_le, size_t len);
125 void *root_le, size_t len);
Ddm-space-map-metadata.h42 void *root_le, size_t len);
Ddm-space-map-common.c658 void *root_le, size_t len) in sm_ll_open_metadata() argument
672 memcpy(&smr, root_le, sizeof(smr)); in sm_ll_open_metadata()
760 void *root_le, size_t len) in sm_ll_open_disk() argument
763 struct disk_sm_root *smr = root_le; in sm_ll_open_disk()
/drivers/md/
Ddm-thin-metadata.c355 __le64 root_le; in subtree_inc() local
358 memcpy(&root_le, value, sizeof(root_le)); in subtree_inc()
359 root = le64_to_cpu(root_le); in subtree_inc()
366 __le64 root_le; in subtree_dec() local
369 memcpy(&root_le, value, sizeof(root_le)); in subtree_dec()
370 root = le64_to_cpu(root_le); in subtree_dec()