Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/md/persistent-data/
Ddm-space-map-disk.c90 int32_t nr_allocations; in sm_disk_set_count() local
93 r = sm_ll_insert(&smd->ll, b, count, &nr_allocations); in sm_disk_set_count()
95 smd->nr_allocated_this_transaction += nr_allocations; in sm_disk_set_count()
104 int32_t nr_allocations; in sm_disk_inc_blocks() local
107 r = sm_ll_inc(&smd->ll, b, e, &nr_allocations); in sm_disk_inc_blocks()
109 smd->nr_allocated_this_transaction += nr_allocations; in sm_disk_inc_blocks()
117 int32_t nr_allocations; in sm_disk_dec_blocks() local
120 r = sm_ll_dec(&smd->ll, b, e, &nr_allocations); in sm_disk_dec_blocks()
122 smd->nr_allocated_this_transaction += nr_allocations; in sm_disk_dec_blocks()
130 int32_t nr_allocations; in sm_disk_new_block() local
[all …]
Ddm-space-map-metadata.c195 int32_t nr_allocations; in commit_bop() local
199 r = sm_ll_inc(&smm->ll, op->b, op->e, &nr_allocations); in commit_bop()
203 r = sm_ll_dec(&smm->ll, op->b, op->e, &nr_allocations); in commit_bop()
395 int32_t nr_allocations; in sm_metadata_set_count() local
404 r = sm_ll_insert(&smm->ll, b, count, &nr_allocations); in sm_metadata_set_count()
413 int32_t nr_allocations; in sm_metadata_inc_blocks() local
422 r = sm_ll_inc(&smm->ll, b, e, &nr_allocations); in sm_metadata_inc_blocks()
432 int32_t nr_allocations; in sm_metadata_dec_blocks() local
439 r = sm_ll_dec(&smm->ll, b, e, &nr_allocations); in sm_metadata_dec_blocks()
449 int32_t nr_allocations; in sm_metadata_new_block_() local
[all …]
Ddm-space-map-common.c422 uint32_t ref_count, int32_t *nr_allocations) in sm_ll_insert() argument
488 *nr_allocations = 1; in sm_ll_insert()
495 *nr_allocations = -1; in sm_ll_insert()
500 *nr_allocations = 0; in sm_ll_insert()
647 int32_t *nr_allocations, dm_block_t *new_b, in sm_ll_inc_bitmap() argument
669 (*nr_allocations)++; in sm_ll_inc_bitmap()
715 int32_t *nr_allocations, dm_block_t *new_b) in __sm_ll_inc() argument
734 r = sm_ll_inc_bitmap(ll, b, bit, bit_end, nr_allocations, new_b, &ic); in __sm_ll_inc()
745 int32_t *nr_allocations) in sm_ll_inc() argument
747 *nr_allocations = 0; in sm_ll_inc()
[all …]
Ddm-space-map-common.h130 int sm_ll_insert(struct ll_disk *ll, dm_block_t b, uint32_t ref_count, int32_t *nr_allocations);
131 int sm_ll_inc(struct ll_disk *ll, dm_block_t b, dm_block_t e, int32_t *nr_allocations);
132 int sm_ll_dec(struct ll_disk *ll, dm_block_t b, dm_block_t e, int32_t *nr_allocations);