Lines Matching defs:bmp

119 	struct lpfc_dmabuf *mp, *bmp;
126 bmp = cmdiocb->bpl_dmabuf;
133 if (bmp) {
134 lpfc_mbuf_free(phba, bmp->virt, bmp->phys);
135 kfree(bmp);
161 struct lpfc_dmabuf *bmp = NULL;
181 bmp = kmalloc(sizeof(*bmp), GFP_KERNEL);
182 if (!bmp) {
187 bmp->virt = lpfc_mbuf_alloc(phba, MEM_PRI, &bmp->phys);
188 if (!bmp->virt) {
194 INIT_LIST_HEAD(&bmp->list);
196 bpl = (struct ulp_bde64 *)bmp->virt;
224 lpfc_sli_prep_xmit_seq64(phba, cmdiocbq, bmp,
229 lpfc_sli_prep_xmit_seq64(phba, cmdiocbq, bmp, 0, ulp_context, 1,
236 cmdiocbq->bpl_dmabuf = bmp;
259 lpfc_mbuf_free(phba, bmp->virt, bmp->phys);
261 kfree(bmp);
577 * @bmp: Pointer to BPL for SLI command
586 lpfc_gen_req(struct lpfc_vport *vport, struct lpfc_dmabuf *bmp,
607 geniocb->bpl_dmabuf = bmp;
625 lpfc_sli_prep_gen_req(phba, geniocb, bmp, ulp_context, num_entry, tmo);
657 * @bmp: Pointer to BPL for SLI command
665 struct lpfc_dmabuf *bmp, struct lpfc_nodelist *ndlp,
671 struct ulp_bde64 *bpl = (struct ulp_bde64 *) bmp->virt;
689 status = lpfc_gen_req(vport, bmp, inmp, outmp, cmpl, ndlp,
1889 struct lpfc_dmabuf *mp, *bmp;
1921 bmp = kmalloc(sizeof(struct lpfc_dmabuf), GFP_KERNEL);
1922 if (!bmp) {
1927 INIT_LIST_HEAD(&bmp->list);
1928 bmp->virt = lpfc_mbuf_alloc(phba, MEM_PRI, &(bmp->phys));
1929 if (!bmp->virt) {
1940 bpl = (struct ulp_bde64 *) bmp->virt;
2134 if (!lpfc_ct_cmd(vport, mp, bmp, ndlp, cmpl, rsp_size, retry)) {
2144 lpfc_mbuf_free(phba, bmp->virt, bmp->phys);
2146 kfree(bmp);
3667 struct lpfc_dmabuf *mp, *bmp;
3698 bmp = kmalloc(sizeof(*bmp), GFP_KERNEL);
3699 if (!bmp)
3702 bmp->virt = lpfc_mbuf_alloc(phba, 0, &bmp->phys);
3703 if (!bmp->virt)
3707 INIT_LIST_HEAD(&bmp->list);
3777 bpl = (struct ulp_bde64 *)bmp->virt;
3786 if (!lpfc_ct_cmd(vport, mp, bmp, ndlp, cmpl, rsp_size, retry))
3790 lpfc_mbuf_free(phba, bmp->virt, bmp->phys);
3792 kfree(bmp);