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);
785 struct buflist *buflist; in mptctl_do_fw_download() local
786 struct buflist *bl; in mptctl_do_fw_download()
860 &numfrags, &buflist, &sgl_dma, iocp)) == NULL) in mptctl_do_fw_download()
891 bl = buflist; in mptctl_do_fw_download()
957 kfree_sgl(sgl, sgl_dma, buflist, iocp); in mptctl_do_fw_download()
986 kfree_sgl(sgl, sgl_dma, buflist, iocp); in mptctl_do_fw_download()
1007 struct buflist **blp, dma_addr_t *sglbuf_dma, MPT_ADAPTER *ioc) in kbuf_alloc_2_sgl()
1011 struct buflist *buflist = NULL; /* kernel routine */ in kbuf_alloc_2_sgl() local
1034 buflist = kzalloc(i, GFP_USER); in kbuf_alloc_2_sgl()
1035 if (!buflist) in kbuf_alloc_2_sgl()
1064 buflist[buflist_ent].len = this_alloc; in kbuf_alloc_2_sgl()
1065 buflist[buflist_ent].kptr = pci_alloc_consistent(ioc->pcidev, in kbuf_alloc_2_sgl()
1068 if (buflist[buflist_ent].kptr == NULL) { in kbuf_alloc_2_sgl()
1084 buflist[buflist_ent].kptr, this_alloc, dir); in kbuf_alloc_2_sgl()
1119 *blp = buflist; in kbuf_alloc_2_sgl()
1140 kptr = buflist[i].kptr; in kbuf_alloc_2_sgl()
1141 len = buflist[i].len; in kbuf_alloc_2_sgl()
1147 kfree(buflist); in kbuf_alloc_2_sgl()
1156 kfree_sgl(MptSge_t *sgl, dma_addr_t sgl_dma, struct buflist *buflist, MPT_ADAPTER *ioc) in kfree_sgl() argument
1159 struct buflist *bl = buflist; in kfree_sgl()
1206 kfree(buflist); in kfree_sgl()
1732 struct buflist bufIn; /* data In buffer */ in mptctl_do_mpt_command()
1733 struct buflist bufOut; /* data Out buffer */ in mptctl_do_mpt_command()