Searched refs:nr_allocations (Results 1 – 5 of 5) sorted by relevance
/linux-6.3-rc2/drivers/md/persistent-data/ |
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 …]
|
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 …]
|
A 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() 747 int32_t *nr_allocations) in sm_ll_inc() argument 749 *nr_allocations = 0; in sm_ll_inc() 867 (*nr_allocations)--; in sm_ll_dec_bitmap() 929 int32_t *nr_allocations) in sm_ll_dec() argument [all …]
|
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);
|
/linux-6.3-rc2/drivers/nvme/host/ |
A D | pci.c | 533 for (i = 0; i < iod->nr_allocations; i++) { in nvme_free_prps() 556 if (iod->nr_allocations == 0) in nvme_unmap_data() 559 else if (iod->nr_allocations == 1) in nvme_unmap_data() 618 iod->nr_allocations = 0; in nvme_pci_setup_prps() 621 iod->nr_allocations = 1; in nvme_pci_setup_prps() 626 iod->nr_allocations = -1; in nvme_pci_setup_prps() 638 iod->list[iod->nr_allocations++].prp_list = prp_list; in nvme_pci_setup_prps() 708 iod->nr_allocations = 0; in nvme_pci_setup_sgls() 711 iod->nr_allocations = 1; in nvme_pci_setup_sgls() 716 iod->nr_allocations = -1; in nvme_pci_setup_sgls() [all …]
|
Completed in 15 milliseconds