Searched refs:nr_allocations (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.6/drivers/md/persistent-data/ |
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 …]
|
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 …]
|
D | dm-space-map-common.c | 423 uint32_t ref_count, int32_t *nr_allocations) in sm_ll_insert() argument 489 *nr_allocations = 1; in sm_ll_insert() 496 *nr_allocations = -1; in sm_ll_insert() 501 *nr_allocations = 0; in sm_ll_insert() 649 int32_t *nr_allocations, dm_block_t *new_b, in sm_ll_inc_bitmap() argument 671 (*nr_allocations)++; in sm_ll_inc_bitmap() 717 int32_t *nr_allocations, dm_block_t *new_b) in __sm_ll_inc() argument 736 r = sm_ll_inc_bitmap(ll, b, bit, bit_end, nr_allocations, new_b, &ic); in __sm_ll_inc() 747 int32_t *nr_allocations) in sm_ll_inc() argument 749 *nr_allocations = 0; in sm_ll_inc() [all …]
|
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);
|
/Linux-v6.6/drivers/nvme/host/ |
D | pci.c | 234 s8 nr_allocations; /* PRP list pool allocations. 0 means small member 531 for (i = 0; i < iod->nr_allocations; i++) { in nvme_free_prps() 554 if (iod->nr_allocations == 0) in nvme_unmap_data() 557 else if (iod->nr_allocations == 1) in nvme_unmap_data() 616 iod->nr_allocations = 0; in nvme_pci_setup_prps() 619 iod->nr_allocations = 1; in nvme_pci_setup_prps() 624 iod->nr_allocations = -1; in nvme_pci_setup_prps() 636 iod->list[iod->nr_allocations++].prp_list = prp_list; in nvme_pci_setup_prps() 706 iod->nr_allocations = 0; in nvme_pci_setup_sgls() 709 iod->nr_allocations = 1; in nvme_pci_setup_sgls() [all …]
|