Home
last modified time | relevance | path

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

/linux/drivers/md/persistent-data/
A 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 …]
A Ddm-space-map-common.c417 uint32_t ref_count, int32_t *nr_allocations) in sm_ll_insert() argument
483 *nr_allocations = 1; in sm_ll_insert()
490 *nr_allocations = -1; in sm_ll_insert()
495 *nr_allocations = 0; in sm_ll_insert()
642 int32_t *nr_allocations, dm_block_t *new_b, in sm_ll_inc_bitmap() argument
664 (*nr_allocations)++; in sm_ll_inc_bitmap()
740 int32_t *nr_allocations) in sm_ll_inc() argument
742 *nr_allocations = 0; in sm_ll_inc()
860 (*nr_allocations)--; in sm_ll_dec_bitmap()
922 int32_t *nr_allocations) in sm_ll_dec() argument
[all …]
A 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 …]
A 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);

Completed in 9 milliseconds