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() local1063 sglbuf = pci_alloc_consistent(ioc->pcidev, MAX_SGL_BYTES, sglbuf_dma); in kbuf_alloc_2_sgl()1064 if (sglbuf == NULL) in kbuf_alloc_2_sgl()1079 sgl = sglbuf; in kbuf_alloc_2_sgl()1146 return sglbuf; in kbuf_alloc_2_sgl()1149 if (sglbuf != NULL) { in kbuf_alloc_2_sgl()1155 if ((sglbuf[i].FlagsLength >> 24) == 0x30) in kbuf_alloc_2_sgl()1158 dma_addr = sglbuf[i].Address; in kbuf_alloc_2_sgl()1164 pci_free_consistent(ioc->pcidev, MAX_SGL_BYTES, sglbuf, *sglbuf_dma); in kbuf_alloc_2_sgl()