• Home
  • Raw
  • Download

Lines Matching refs:bmp

307 	struct lpfc_dmabuf *bmp, *cmp, *rmp;  in lpfc_bsg_send_mgmt_cmd_cmp()  local
335 bmp = cmdiocbq->context3; in lpfc_bsg_send_mgmt_cmd_cmp()
367 lpfc_mbuf_free(phba, bmp->virt, bmp->phys); in lpfc_bsg_send_mgmt_cmd_cmp()
368 kfree(bmp); in lpfc_bsg_send_mgmt_cmd_cmp()
399 struct lpfc_dmabuf *bmp = NULL, *cmp = NULL, *rmp = NULL; in lpfc_bsg_send_mgmt_cmd() local
438 bmp = kmalloc(sizeof(struct lpfc_dmabuf), GFP_KERNEL); in lpfc_bsg_send_mgmt_cmd()
439 if (!bmp) { in lpfc_bsg_send_mgmt_cmd()
443 bmp->virt = lpfc_mbuf_alloc(phba, 0, &bmp->phys); in lpfc_bsg_send_mgmt_cmd()
444 if (!bmp->virt) { in lpfc_bsg_send_mgmt_cmd()
449 INIT_LIST_HEAD(&bmp->list); in lpfc_bsg_send_mgmt_cmd()
451 bpl = (struct ulp_bde64 *) bmp->virt; in lpfc_bsg_send_mgmt_cmd()
472 cmd->un.genreq64.bdl.addrHigh = putPaddrHigh(bmp->phys); in lpfc_bsg_send_mgmt_cmd()
473 cmd->un.genreq64.bdl.addrLow = putPaddrLow(bmp->phys); in lpfc_bsg_send_mgmt_cmd()
490 cmdiocbq->context3 = bmp; in lpfc_bsg_send_mgmt_cmd()
498 cmdiocbq->context3 = bmp; in lpfc_bsg_send_mgmt_cmd()
542 if (bmp->virt) in lpfc_bsg_send_mgmt_cmd()
543 lpfc_mbuf_free(phba, bmp->virt, bmp->phys); in lpfc_bsg_send_mgmt_cmd()
544 kfree(bmp); in lpfc_bsg_send_mgmt_cmd()
1404 struct lpfc_dmabuf *bmp, *cmp; in lpfc_issue_ct_rsp_cmp() local
1427 bmp = cmdiocbq->context3; in lpfc_issue_ct_rsp_cmp()
1456 lpfc_mbuf_free(phba, bmp->virt, bmp->phys); in lpfc_issue_ct_rsp_cmp()
1457 kfree(bmp); in lpfc_issue_ct_rsp_cmp()
1482 struct lpfc_dmabuf *cmp, struct lpfc_dmabuf *bmp, in lpfc_issue_ct_rsp() argument
1511 icmd->un.xseq64.bdl.addrHigh = putPaddrHigh(bmp->phys); in lpfc_issue_ct_rsp()
1512 icmd->un.xseq64.bdl.addrLow = putPaddrLow(bmp->phys); in lpfc_issue_ct_rsp()
1576 ctiocb->context3 = bmp; in lpfc_issue_ct_rsp()
1635 struct lpfc_dmabuf *bmp = NULL, *cmp = NULL; in lpfc_bsg_send_mgmt_rsp() local
1650 bmp = kmalloc(sizeof(struct lpfc_dmabuf), GFP_KERNEL); in lpfc_bsg_send_mgmt_rsp()
1651 if (!bmp) { in lpfc_bsg_send_mgmt_rsp()
1656 bmp->virt = lpfc_mbuf_alloc(phba, 0, &bmp->phys); in lpfc_bsg_send_mgmt_rsp()
1657 if (!bmp->virt) { in lpfc_bsg_send_mgmt_rsp()
1662 INIT_LIST_HEAD(&bmp->list); in lpfc_bsg_send_mgmt_rsp()
1663 bpl = (struct ulp_bde64 *) bmp->virt; in lpfc_bsg_send_mgmt_rsp()
1674 rc = lpfc_issue_ct_rsp(phba, job, tag, cmp, bmp, bpl_entries); in lpfc_bsg_send_mgmt_rsp()
1684 if (bmp->virt) in lpfc_bsg_send_mgmt_rsp()
1685 lpfc_mbuf_free(phba, bmp->virt, bmp->phys); in lpfc_bsg_send_mgmt_rsp()
1686 kfree(bmp); in lpfc_bsg_send_mgmt_rsp()
5086 struct lpfc_dmabuf *bmp, *cmp, *rmp; in lpfc_bsg_menlo_cmd_cmp() local
5095 bmp = cmdiocbq->context3; in lpfc_bsg_menlo_cmd_cmp()
5149 lpfc_mbuf_free(phba, bmp->virt, bmp->phys); in lpfc_bsg_menlo_cmd_cmp()
5150 kfree(bmp); in lpfc_bsg_menlo_cmd_cmp()
5184 struct lpfc_dmabuf *bmp = NULL, *cmp = NULL, *rmp = NULL; in lpfc_menlo_cmd() local
5232 bmp = kmalloc(sizeof(struct lpfc_dmabuf), GFP_KERNEL); in lpfc_menlo_cmd()
5233 if (!bmp) { in lpfc_menlo_cmd()
5238 bmp->virt = lpfc_mbuf_alloc(phba, 0, &bmp->phys); in lpfc_menlo_cmd()
5239 if (!bmp->virt) { in lpfc_menlo_cmd()
5244 INIT_LIST_HEAD(&bmp->list); in lpfc_menlo_cmd()
5246 bpl = (struct ulp_bde64 *)bmp->virt; in lpfc_menlo_cmd()
5274 cmd->un.genreq64.bdl.addrHigh = putPaddrHigh(bmp->phys); in lpfc_menlo_cmd()
5275 cmd->un.genreq64.bdl.addrLow = putPaddrLow(bmp->phys); in lpfc_menlo_cmd()
5294 cmdiocbq->context3 = bmp; in lpfc_menlo_cmd()
5325 if (bmp->virt) in lpfc_menlo_cmd()
5326 lpfc_mbuf_free(phba, bmp->virt, bmp->phys); in lpfc_menlo_cmd()
5327 kfree(bmp); in lpfc_menlo_cmd()