Searched refs:nr_allocations (Results 1 – 3 of 3) sorted by relevance
| /linux/drivers/md/persistent-data/ |
| H A D | dm-space-map-disk.c | 94 int32_t nr_allocations; in sm_disk_set_count() local 97 r = sm_ll_insert(&smd->ll, b, count, &nr_allocations); in sm_disk_set_count() 99 smd->nr_allocated_this_transaction += nr_allocations; in sm_disk_set_count() 107 int32_t nr_allocations; in sm_disk_inc_blocks() local 110 r = sm_ll_inc(&smd->ll, b, e, &nr_allocations); in sm_disk_inc_blocks() 112 smd->nr_allocated_this_transaction += nr_allocations; in sm_disk_inc_blocks() 120 int32_t nr_allocations; in sm_disk_dec_blocks() local 123 r = sm_ll_dec(&smd->ll, b, e, &nr_allocations); in sm_disk_dec_blocks() 125 smd->nr_allocated_this_transaction += nr_allocations; in sm_disk_dec_blocks() 133 int32_t nr_allocations; in sm_disk_new_block() local [all …]
|
| H A D | dm-space-map-metadata.c | 198 int32_t nr_allocations; in commit_bop() local 202 r = sm_ll_inc(&smm->ll, op->b, op->e, &nr_allocations); in commit_bop() 206 r = sm_ll_dec(&smm->ll, op->b, op->e, &nr_allocations); in commit_bop() 398 int32_t nr_allocations; in sm_metadata_set_count() local 407 r = sm_ll_insert(&smm->ll, b, count, &nr_allocations); in sm_metadata_set_count() 416 int32_t nr_allocations; in sm_metadata_inc_blocks() local 425 r = sm_ll_inc(&smm->ll, b, e, &nr_allocations); in sm_metadata_inc_blocks() 435 int32_t nr_allocations; in sm_metadata_dec_blocks() local 442 r = sm_ll_dec(&smm->ll, b, e, &nr_allocations); in sm_metadata_dec_blocks() 452 int32_t nr_allocations; in sm_metadata_new_block_() local [all …]
|
| H A D | dm-space-map-common.h | 131 int sm_ll_insert(struct ll_disk *ll, dm_block_t b, uint32_t ref_count, int32_t *nr_allocations); 132 int sm_ll_inc(struct ll_disk *ll, dm_block_t b, dm_block_t e, int32_t *nr_allocations); 133 int sm_ll_dec(struct ll_disk *ll, dm_block_t b, dm_block_t e, int32_t *nr_allocations);
|