Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/scsi/megaraid/
Dmegaraid_sas_fusion.h40 #define RDPQ_MAX_INDEX_IN_ONE_CHUNK 16 macro
41 #define RDPQ_MAX_CHUNK_COUNT (MAX_MSIX_QUEUES_FUSION / RDPQ_MAX_INDEX_IN_ONE_CHUNK)
Dmegaraid_sas_fusion.c798 chunk_size = fusion->reply_alloc_sz * RDPQ_MAX_INDEX_IN_ONE_CHUNK; in megasas_alloc_rdpq_fusion()
839 dma_alloc_count = DIV_ROUND_UP(msix_count, RDPQ_MAX_INDEX_IN_ONE_CHUNK); in megasas_alloc_rdpq_fusion()
889 for (i = 0; i < RDPQ_MAX_INDEX_IN_ONE_CHUNK; i++) { in megasas_alloc_rdpq_fusion()
890 abs_index = (k * RDPQ_MAX_INDEX_IN_ONE_CHUNK) + i; in megasas_alloc_rdpq_fusion()
/linux-6.12.1/drivers/scsi/mpt3sas/
Dmpt3sas_base.c5826 RDPQ_MAX_INDEX_IN_ONE_CHUNK); in _base_release_memory_pools()
5828 if (i % RDPQ_MAX_INDEX_IN_ONE_CHUNK == 0 in _base_release_memory_pools()
6218 RDPQ_MAX_INDEX_IN_ONE_CHUNK); in base_alloc_rdpq_dma_pool()
6225 if ((i % RDPQ_MAX_INDEX_IN_ONE_CHUNK == 0) && dma_alloc_count) { in base_alloc_rdpq_dma_pool()
6439 rdpq_sz = reply_post_free_sz * RDPQ_MAX_INDEX_IN_ONE_CHUNK; in _base_allocate_memory_pools()
6441 || (ioc->reply_queue_count < RDPQ_MAX_INDEX_IN_ONE_CHUNK)) in _base_allocate_memory_pools()
6461 DIV_ROUND_UP(ioc->reply_queue_count, RDPQ_MAX_INDEX_IN_ONE_CHUNK)); in _base_allocate_memory_pools()
Dmpt3sas_base.h382 #define RDPQ_MAX_INDEX_IN_ONE_CHUNK 16 macro