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);
783 struct buflist *buflist; in mptctl_do_fw_download() local
784 struct buflist *bl; in mptctl_do_fw_download()
858 &numfrags, &buflist, &sgl_dma, iocp)) == NULL) in mptctl_do_fw_download()
889 bl = buflist; in mptctl_do_fw_download()
955 kfree_sgl(sgl, sgl_dma, buflist, iocp); in mptctl_do_fw_download()
984 kfree_sgl(sgl, sgl_dma, buflist, iocp); in mptctl_do_fw_download()
1005 struct buflist **blp, dma_addr_t *sglbuf_dma, MPT_ADAPTER *ioc) in kbuf_alloc_2_sgl()
1009 struct buflist *buflist = NULL; /* kernel routine */ in kbuf_alloc_2_sgl() local
1032 buflist = kzalloc(i, GFP_USER); in kbuf_alloc_2_sgl()
1033 if (!buflist) in kbuf_alloc_2_sgl()
1063 buflist[buflist_ent].len = this_alloc; in kbuf_alloc_2_sgl()
1064 buflist[buflist_ent].kptr = dma_alloc_coherent(&ioc->pcidev->dev, in kbuf_alloc_2_sgl()
1067 if (buflist[buflist_ent].kptr == NULL) { in kbuf_alloc_2_sgl()
1083 buflist[buflist_ent].kptr, 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()
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()
1210 kfree(buflist); in kfree_sgl()
1736 struct buflist bufIn; /* data In buffer */ in mptctl_do_mpt_command()
1737 struct buflist bufOut; /* data Out buffer */ in mptctl_do_mpt_command()