Lines Matching refs:buflist
94 struct buflist { struct
129 struct buflist **blp, dma_addr_t *sglbuf_dma, MPT_ADAPTER *ioc);
131 struct buflist *buflist, MPT_ADAPTER *ioc);
787 struct buflist *buflist; in mptctl_do_fw_download() local
788 struct buflist *bl; in mptctl_do_fw_download()
862 &numfrags, &buflist, &sgl_dma, iocp)) == NULL) in mptctl_do_fw_download()
893 bl = buflist; in mptctl_do_fw_download()
959 kfree_sgl(sgl, sgl_dma, buflist, iocp); in mptctl_do_fw_download()
988 kfree_sgl(sgl, sgl_dma, buflist, iocp); in mptctl_do_fw_download()
1009 struct buflist **blp, dma_addr_t *sglbuf_dma, MPT_ADAPTER *ioc) in kbuf_alloc_2_sgl()
1013 struct buflist *buflist = NULL; /* kernel routine */ in kbuf_alloc_2_sgl() local
1036 buflist = kzalloc(i, GFP_USER); in kbuf_alloc_2_sgl()
1037 if (!buflist) in kbuf_alloc_2_sgl()
1066 buflist[buflist_ent].len = this_alloc; in kbuf_alloc_2_sgl()
1067 buflist[buflist_ent].kptr = pci_alloc_consistent(ioc->pcidev, in kbuf_alloc_2_sgl()
1070 if (buflist[buflist_ent].kptr == NULL) { in kbuf_alloc_2_sgl()
1086 buflist[buflist_ent].kptr, this_alloc, dir); in kbuf_alloc_2_sgl()
1121 *blp = buflist; in kbuf_alloc_2_sgl()
1142 kptr = buflist[i].kptr; in kbuf_alloc_2_sgl()
1143 len = buflist[i].len; in kbuf_alloc_2_sgl()
1149 kfree(buflist); in kbuf_alloc_2_sgl()
1158 kfree_sgl(MptSge_t *sgl, dma_addr_t sgl_dma, struct buflist *buflist, MPT_ADAPTER *ioc) in kfree_sgl() argument
1161 struct buflist *bl = buflist; in kfree_sgl()
1208 kfree(buflist); in kfree_sgl()
1740 struct buflist bufIn; /* data In buffer */ in mptctl_do_mpt_command()
1741 struct buflist bufOut; /* data Out buffer */ in mptctl_do_mpt_command()