Searched refs:sglbuf (Results 1 – 1 of 1) sorted by relevance
1007 MptSge_t *sglbuf = NULL; /* pointer to array of SGE */ in kbuf_alloc_2_sgl() local1042 sglbuf = dma_alloc_coherent(&ioc->pcidev->dev, MAX_SGL_BYTES, in kbuf_alloc_2_sgl()1044 if (sglbuf == NULL) in kbuf_alloc_2_sgl()1059 sgl = sglbuf; in kbuf_alloc_2_sgl()1127 return sglbuf; in kbuf_alloc_2_sgl()1130 if (sglbuf != NULL) { in kbuf_alloc_2_sgl()1136 if ((sglbuf[i].FlagsLength >> 24) == 0x30) in kbuf_alloc_2_sgl()1139 dma_addr = sglbuf[i].Address; in kbuf_alloc_2_sgl()1146 dma_free_coherent(&ioc->pcidev->dev, MAX_SGL_BYTES, sglbuf, in kbuf_alloc_2_sgl()