Searched refs:old_ll (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.10/drivers/md/persistent-data/ |
D | dm-space-map-disk.c | 28 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() 113 r = sm_ll_lookup(&smd->old_ll, b, &old_count); in sm_disk_set_count() 156 r = sm_ll_lookup(&smd->old_ll, b, &old_count); in sm_disk_dec_block() 173 r = sm_ll_find_common_free_block(&smd->old_ll, &smd->ll, smd->begin, smd->ll.nr_blocks, b); in sm_disk_new_block() 201 memcpy(&smd->old_ll, &smd->ll, sizeof(smd->old_ll)); in sm_disk_commit()
|
D | dm-space-map-metadata.c | 170 struct ll_disk old_ll; member 294 *count = smm->old_ll.nr_blocks - smm->old_ll.nr_allocated - in sm_metadata_get_nr_free() 454 r = sm_ll_find_common_free_block(&smm->old_ll, &smm->ll, smm->begin, smm->ll.nr_blocks, b); in sm_metadata_new_block_() 505 memcpy(&smm->old_ll, &smm->ll, sizeof(smm->old_ll)); in sm_metadata_commit() 827 memcpy(&smm->old_ll, &smm->ll, sizeof(smm->old_ll)); in dm_sm_metadata_open()
|
D | dm-space-map-common.h | 112 int sm_ll_find_common_free_block(struct ll_disk *old_ll, struct ll_disk *new_ll,
|
D | dm-space-map-common.c | 383 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 395 if (*b >= old_ll->nr_blocks) in sm_ll_find_common_free_block() 398 r = sm_ll_lookup(old_ll, *b, &count); in sm_ll_find_common_free_block()
|