Searched refs:sglbuf (Results 1 – 1 of 1) sorted by relevance
1011 MptSge_t *sglbuf = NULL; /* pointer to array of SGE */ in kbuf_alloc_2_sgl() local1046 sglbuf = pci_alloc_consistent(ioc->pcidev, MAX_SGL_BYTES, sglbuf_dma); in kbuf_alloc_2_sgl()1047 if (sglbuf == NULL) in kbuf_alloc_2_sgl()1062 sgl = sglbuf; in kbuf_alloc_2_sgl()1129 return sglbuf; in kbuf_alloc_2_sgl()1132 if (sglbuf != NULL) { in kbuf_alloc_2_sgl()1138 if ((sglbuf[i].FlagsLength >> 24) == 0x30) in kbuf_alloc_2_sgl()1141 dma_addr = sglbuf[i].Address; in kbuf_alloc_2_sgl()1147 pci_free_consistent(ioc->pcidev, MAX_SGL_BYTES, sglbuf, *sglbuf_dma); in kbuf_alloc_2_sgl()