Home
last modified time | relevance | path

Searched refs:confq_mem_size (Results 1 – 2 of 2) sorted by relevance

/drivers/scsi/bnx2fc/
Dbnx2fc_tgt.c752 tgt->confq_mem_size = tgt->max_sqes * BNX2FC_CONFQ_WQE_SIZE; in bnx2fc_alloc_session_resc()
753 tgt->confq_mem_size = (tgt->confq_mem_size + (PAGE_SIZE - 1)) & in bnx2fc_alloc_session_resc()
756 tgt->confq = dma_alloc_coherent(&hba->pcidev->dev, tgt->confq_mem_size, in bnx2fc_alloc_session_resc()
760 tgt->confq_mem_size); in bnx2fc_alloc_session_resc()
763 memset(tgt->confq, 0, tgt->confq_mem_size); in bnx2fc_alloc_session_resc()
766 (tgt->confq_mem_size / PAGE_SIZE) * sizeof(void *); in bnx2fc_alloc_session_resc()
780 num_pages = tgt->confq_mem_size / PAGE_SIZE; in bnx2fc_alloc_session_resc()
867 dma_free_coherent(&hba->pcidev->dev, tgt->confq_mem_size, in bnx2fc_free_session_resc()
Dbnx2fc.h346 u32 confq_mem_size; member