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);
795 struct buflist *buflist; in mptctl_do_fw_download() local
796 struct buflist *bl; in mptctl_do_fw_download()
879 &numfrags, &buflist, &sgl_dma, iocp)) == NULL) in mptctl_do_fw_download()
910 bl = buflist; in mptctl_do_fw_download()
976 kfree_sgl(sgl, sgl_dma, buflist, iocp); in mptctl_do_fw_download()
1005 kfree_sgl(sgl, sgl_dma, buflist, iocp); in mptctl_do_fw_download()
1026 struct buflist **blp, dma_addr_t *sglbuf_dma, MPT_ADAPTER *ioc) in kbuf_alloc_2_sgl()
1030 struct buflist *buflist = NULL; /* kernel routine */ in kbuf_alloc_2_sgl() local
1053 buflist = kzalloc(i, GFP_USER); in kbuf_alloc_2_sgl()
1054 if (!buflist) in kbuf_alloc_2_sgl()
1083 buflist[buflist_ent].len = this_alloc; in kbuf_alloc_2_sgl()
1084 buflist[buflist_ent].kptr = pci_alloc_consistent(ioc->pcidev, in kbuf_alloc_2_sgl()
1087 if (buflist[buflist_ent].kptr == NULL) { in kbuf_alloc_2_sgl()
1103 buflist[buflist_ent].kptr, this_alloc, dir); in kbuf_alloc_2_sgl()
1138 *blp = buflist; in kbuf_alloc_2_sgl()
1159 kptr = buflist[i].kptr; in kbuf_alloc_2_sgl()
1160 len = buflist[i].len; in kbuf_alloc_2_sgl()
1166 kfree(buflist); in kbuf_alloc_2_sgl()
1175 kfree_sgl(MptSge_t *sgl, dma_addr_t sgl_dma, struct buflist *buflist, MPT_ADAPTER *ioc) in kfree_sgl() argument
1178 struct buflist *bl = buflist; in kfree_sgl()
1225 kfree(buflist); in kfree_sgl()
1830 struct buflist bufIn; /* data In buffer */ in mptctl_do_mpt_command()
1831 struct buflist bufOut; /* data Out buffer */ in mptctl_do_mpt_command()