Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/scsi/qla4xxx/
Dql4_nx.c2023 void *rdmem_buffer = NULL; in qla4_8xxx_minidump_pex_dma_read() local
2038 rdmem_buffer = dma_alloc_coherent(&ha->pdev->dev, in qla4_8xxx_minidump_pex_dma_read()
2041 if (!rdmem_buffer) { in qla4_8xxx_minidump_pex_dma_read()
2071 if (rdmem_buffer) in qla4_8xxx_minidump_pex_dma_read()
2074 rdmem_buffer, rdmem_dma); in qla4_8xxx_minidump_pex_dma_read()
2076 rdmem_buffer = dma_alloc_coherent(&ha->pdev->dev, size, in qla4_8xxx_minidump_pex_dma_read()
2079 if (!rdmem_buffer) { in qla4_8xxx_minidump_pex_dma_read()
2115 memcpy(data_ptr, rdmem_buffer, size); in qla4_8xxx_minidump_pex_dma_read()
2125 if (rdmem_buffer) in qla4_8xxx_minidump_pex_dma_read()
2126 dma_free_coherent(&ha->pdev->dev, size, rdmem_buffer, in qla4_8xxx_minidump_pex_dma_read()
/linux-5.19.10/drivers/scsi/qla2xxx/
Dqla_nx2.c2904 void *rdmem_buffer = NULL; in qla8044_minidump_pex_dma_read() local
2917 rdmem_buffer = dma_alloc_coherent(&ha->pdev->dev, in qla8044_minidump_pex_dma_read()
2919 if (!rdmem_buffer) { in qla8044_minidump_pex_dma_read()
2973 memcpy(data_ptr, rdmem_buffer, chunk_size); in qla8044_minidump_pex_dma_read()
2981 if (rdmem_buffer) in qla8044_minidump_pex_dma_read()
2983 rdmem_buffer, rdmem_dma); in qla8044_minidump_pex_dma_read()