Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/scsi/qla4xxx/
Dql4_nx.c2036 void *rdmem_buffer = NULL; in qla4_8xxx_minidump_pex_dma_read() local
2051 rdmem_buffer = dma_alloc_coherent(&ha->pdev->dev, in qla4_8xxx_minidump_pex_dma_read()
2054 if (!rdmem_buffer) { in qla4_8xxx_minidump_pex_dma_read()
2084 if (rdmem_buffer) in qla4_8xxx_minidump_pex_dma_read()
2087 rdmem_buffer, rdmem_dma); in qla4_8xxx_minidump_pex_dma_read()
2089 rdmem_buffer = dma_alloc_coherent(&ha->pdev->dev, size, in qla4_8xxx_minidump_pex_dma_read()
2092 if (!rdmem_buffer) { in qla4_8xxx_minidump_pex_dma_read()
2128 memcpy(data_ptr, rdmem_buffer, size); in qla4_8xxx_minidump_pex_dma_read()
2138 if (rdmem_buffer) in qla4_8xxx_minidump_pex_dma_read()
2139 dma_free_coherent(&ha->pdev->dev, size, rdmem_buffer, in qla4_8xxx_minidump_pex_dma_read()
/Linux-v5.10/drivers/scsi/qla2xxx/
Dqla_nx2.c2915 void *rdmem_buffer = NULL; in qla8044_minidump_pex_dma_read() local
2928 rdmem_buffer = dma_alloc_coherent(&ha->pdev->dev, in qla8044_minidump_pex_dma_read()
2930 if (!rdmem_buffer) { in qla8044_minidump_pex_dma_read()
2984 memcpy(data_ptr, rdmem_buffer, chunk_size); in qla8044_minidump_pex_dma_read()
2992 if (rdmem_buffer) in qla8044_minidump_pex_dma_read()
2994 rdmem_buffer, rdmem_dma); in qla8044_minidump_pex_dma_read()