Home
last modified time | relevance | path

Searched refs:old_ll (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/md/persistent-data/
Ddm-space-map-disk.c28 struct ll_disk old_ll; member
51 *count = smd->old_ll.nr_blocks; in sm_disk_get_nr_blocks()
59 *count = (smd->old_ll.nr_blocks - smd->old_ll.nr_allocated) - smd->nr_allocated_this_transaction; in sm_disk_get_nr_free()
136 r = sm_ll_find_common_free_block(&smd->old_ll, &smd->ll, smd->begin, smd->ll.nr_blocks, b); in sm_disk_new_block()
142 r = sm_ll_find_common_free_block(&smd->old_ll, &smd->ll, 0, smd->begin, b); in sm_disk_new_block()
166 memcpy(&smd->old_ll, &smd->ll, sizeof(smd->old_ll)); in sm_disk_commit()
Ddm-space-map-metadata.c170 struct ll_disk old_ll; member
293 *count = smm->old_ll.nr_blocks - smm->old_ll.nr_allocated - in sm_metadata_get_nr_free()
455 r = sm_ll_find_common_free_block(&smm->old_ll, &smm->ll, smm->begin, smm->ll.nr_blocks, b); in sm_metadata_new_block_()
461 r = sm_ll_find_common_free_block(&smm->old_ll, &smm->ll, 0, smm->begin, b); in sm_metadata_new_block_()
514 memcpy(&smm->old_ll, &smm->ll, sizeof(smm->old_ll)); in sm_metadata_commit()
840 memcpy(&smm->old_ll, &smm->ll, sizeof(smm->old_ll)); in dm_sm_metadata_open()
Ddm-space-map-common.h122 int sm_ll_find_common_free_block(struct ll_disk *old_ll, struct ll_disk *new_ll,
Ddm-space-map-common.c392 int sm_ll_find_common_free_block(struct ll_disk *old_ll, struct ll_disk *new_ll, in sm_ll_find_common_free_block() argument
404 if (*b >= old_ll->nr_blocks) in sm_ll_find_common_free_block()
407 r = sm_ll_lookup(old_ll, *b, &count); in sm_ll_find_common_free_block()