Home
last modified time | relevance | path

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

/linux/drivers/md/persistent-data/
H A Ddm-space-map-disk.c94 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 Ddm-space-map-metadata.c198 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 Ddm-space-map-common.h131 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);
/linux/drivers/nvme/host/
H A Dpci.c237 s8 nr_allocations; /* PRP list pool allocations. 0 means small member
547 for (i = 0; i < iod->nr_allocations; i++) { in nvme_free_prps()
570 if (iod->nr_allocations == 0) in nvme_unmap_data()
573 else if (iod->nr_allocations == 1) in nvme_unmap_data()
632 iod->nr_allocations = 0; in nvme_pci_setup_prps()
635 iod->nr_allocations = 1; in nvme_pci_setup_prps()
640 iod->nr_allocations = -1; in nvme_pci_setup_prps()
652 iod->list[iod->nr_allocations++].prp_list = prp_list; in nvme_pci_setup_prps()
722 iod->nr_allocations = 0; in nvme_pci_setup_sgls()
725 iod->nr_allocations = 1; in nvme_pci_setup_sgls()
[all …]