Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/scsi/bnx2fc/
Dbnx2fc_tgt.c758 tgt->confq_mem_size = tgt->max_sqes * BNX2FC_CONFQ_WQE_SIZE; in bnx2fc_alloc_session_resc()
759 tgt->confq_mem_size = (tgt->confq_mem_size + (CNIC_PAGE_SIZE - 1)) & in bnx2fc_alloc_session_resc()
762 tgt->confq = dma_alloc_coherent(&hba->pcidev->dev, tgt->confq_mem_size, in bnx2fc_alloc_session_resc()
766 tgt->confq_mem_size); in bnx2fc_alloc_session_resc()
769 memset(tgt->confq, 0, tgt->confq_mem_size); in bnx2fc_alloc_session_resc()
772 (tgt->confq_mem_size / CNIC_PAGE_SIZE) * sizeof(void *); in bnx2fc_alloc_session_resc()
786 num_pages = tgt->confq_mem_size / CNIC_PAGE_SIZE; in bnx2fc_alloc_session_resc()
873 dma_free_coherent(&hba->pcidev->dev, tgt->confq_mem_size, in bnx2fc_free_session_resc()
Dbnx2fc.h347 u32 confq_mem_size; member