Searched refs:old_ll (Results 1 – 2 of 2) sorted by relevance
/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() 111 r = sm_ll_lookup(&smd->old_ll, b, &old_count); in sm_disk_set_count() 154 r = sm_ll_lookup(&smd->old_ll, b, &old_count); in sm_disk_dec_block() 169 r = sm_ll_find_free_block(&smd->old_ll, smd->begin, smd->old_ll.nr_blocks, b); in sm_disk_new_block() 197 memcpy(&smd->old_ll, &smd->ll, sizeof(smd->old_ll)); in sm_disk_commit()
|
D | dm-space-map-metadata.c | 161 struct ll_disk old_ll; member 283 *count = smm->old_ll.nr_blocks - smm->old_ll.nr_allocated - in sm_metadata_get_nr_free() 440 r = sm_ll_find_free_block(&smm->old_ll, smm->begin, smm->old_ll.nr_blocks, b); in sm_metadata_new_block_() 491 memcpy(&smm->old_ll, &smm->ll, sizeof(smm->old_ll)); in sm_metadata_commit() 812 memcpy(&smm->old_ll, &smm->ll, sizeof(smm->old_ll)); in dm_sm_metadata_open()
|