Lines Matching refs:bmp
290 lpfc_gen_req(struct lpfc_vport *vport, struct lpfc_dmabuf *bmp,
310 icmd->un.genreq64.bdl.addrHigh = putPaddrHigh(bmp->phys);
311 icmd->un.genreq64.bdl.addrLow = putPaddrLow(bmp->phys);
318 geniocb->context3 = (uint8_t *) bmp;
374 struct lpfc_dmabuf *bmp, struct lpfc_nodelist *ndlp,
380 struct ulp_bde64 *bpl = (struct ulp_bde64 *) bmp->virt;
398 status = lpfc_gen_req(vport, bmp, inmp, outmp, cmpl, ndlp, 0,
578 struct lpfc_dmabuf *bmp;
591 bmp = (struct lpfc_dmabuf *) cmdiocb->context3;
1095 struct lpfc_dmabuf *mp, *bmp;
1127 bmp = kmalloc(sizeof (struct lpfc_dmabuf), GFP_KERNEL);
1128 if (!bmp) {
1133 INIT_LIST_HEAD(&bmp->list);
1134 bmp->virt = lpfc_mbuf_alloc(phba, MEM_PRI, &(bmp->phys));
1135 if (!bmp->virt) {
1145 bpl = (struct ulp_bde64 *) bmp->virt;
1258 if (!lpfc_ct_cmd(vport, mp, bmp, ndlp, cmpl, rsp_size, retry)) {
1272 lpfc_mbuf_free(phba, bmp->virt, bmp->phys);
1274 kfree(bmp);
1354 struct lpfc_dmabuf *mp, *bmp;
1378 bmp = kmalloc(sizeof (struct lpfc_dmabuf), GFP_KERNEL);
1379 if (!bmp)
1382 bmp->virt = lpfc_mbuf_alloc(phba, 0, &(bmp->phys));
1383 if (!bmp->virt)
1387 INIT_LIST_HEAD(&bmp->list);
1703 bpl = (struct ulp_bde64 *) bmp->virt;
1715 if (!lpfc_ct_cmd(vport, mp, bmp, ndlp, cmpl, FC_MAX_NS_RSP, 0))
1723 lpfc_mbuf_free(phba, bmp->virt, bmp->phys);
1725 kfree(bmp);