Searched refs:old_ll (Results 1 – 4 of 4) sorted by relevance
/linux-6.3-rc2/drivers/md/persistent-data/ |
A D | dm-space-map-disk.c | 29 struct ll_disk old_ll; member 53 *count = smd->old_ll.nr_blocks; in sm_disk_get_nr_blocks() 62 *count = (smd->old_ll.nr_blocks - smd->old_ll.nr_allocated) - smd->nr_allocated_this_transaction; in sm_disk_get_nr_free() 139 r = sm_ll_find_common_free_block(&smd->old_ll, &smd->ll, smd->begin, smd->ll.nr_blocks, b); in sm_disk_new_block() 145 r = sm_ll_find_common_free_block(&smd->old_ll, &smd->ll, 0, smd->begin, b); in sm_disk_new_block() 167 memcpy(&smd->old_ll, &smd->ll, sizeof(smd->old_ll)); in sm_disk_commit()
|
A D | dm-space-map-metadata.c | 172 struct ll_disk old_ll; member 296 *count = smm->old_ll.nr_blocks - smm->old_ll.nr_allocated - in sm_metadata_get_nr_free() 458 r = sm_ll_find_common_free_block(&smm->old_ll, &smm->ll, smm->begin, smm->ll.nr_blocks, b); in sm_metadata_new_block_() 464 r = sm_ll_find_common_free_block(&smm->old_ll, &smm->ll, 0, smm->begin, b); in sm_metadata_new_block_() 518 memcpy(&smm->old_ll, &smm->ll, sizeof(smm->old_ll)); in sm_metadata_commit() 844 memcpy(&smm->old_ll, &smm->ll, sizeof(smm->old_ll)); in dm_sm_metadata_open()
|
A D | dm-space-map-common.h | 123 int sm_ll_find_common_free_block(struct ll_disk *old_ll, struct ll_disk *new_ll,
|
A D | dm-space-map-common.c | 393 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 405 if (*b >= old_ll->nr_blocks) in sm_ll_find_common_free_block() 408 r = sm_ll_lookup(old_ll, *b, &count); in sm_ll_find_common_free_block()
|
Completed in 13 milliseconds