Searched refs:sglbuf (Results 1 – 1 of 1) sorted by relevance
1009 MptSge_t *sglbuf = NULL; /* pointer to array of SGE */ in kbuf_alloc_2_sgl() local1044 sglbuf = pci_alloc_consistent(ioc->pcidev, MAX_SGL_BYTES, sglbuf_dma); in kbuf_alloc_2_sgl()1045 if (sglbuf == NULL) in kbuf_alloc_2_sgl()1060 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()1145 pci_free_consistent(ioc->pcidev, MAX_SGL_BYTES, sglbuf, *sglbuf_dma); in kbuf_alloc_2_sgl()