Searched refs:sglbuf (Results 1 – 1 of 1) sorted by relevance
1028 MptSge_t *sglbuf = NULL; /* pointer to array of SGE */ in kbuf_alloc_2_sgl() local1059 sglbuf = pci_alloc_consistent(ioc->pcidev, MAX_SGL_BYTES, sglbuf_dma); in kbuf_alloc_2_sgl()1060 if (sglbuf == NULL) in kbuf_alloc_2_sgl()1075 sgl = sglbuf; in kbuf_alloc_2_sgl()1142 return sglbuf; in kbuf_alloc_2_sgl()1145 if (sglbuf != NULL) { in kbuf_alloc_2_sgl()1151 if ((sglbuf[i].FlagsLength >> 24) == 0x30) in kbuf_alloc_2_sgl()1154 dma_addr = sglbuf[i].Address; in kbuf_alloc_2_sgl()1160 pci_free_consistent(ioc->pcidev, MAX_SGL_BYTES, sglbuf, *sglbuf_dma); in kbuf_alloc_2_sgl()