Lines Matching refs:nvmebuf

392 	struct rqb_dmabuf *nvmebuf;  in lpfc_nvmet_ctxbuf_post()  local
406 nvmebuf = ctxp->rqb_buffer; in lpfc_nvmet_ctxbuf_post()
408 if (nvmebuf) { in lpfc_nvmet_ctxbuf_post()
413 nvmebuf->hrq->rqbp->rqb_free_buffer(phba, in lpfc_nvmet_ctxbuf_post()
414 nvmebuf); in lpfc_nvmet_ctxbuf_post()
418 lpfc_rq_buf_free(phba, &nvmebuf->hbuf); in lpfc_nvmet_ctxbuf_post()
429 nvmebuf, struct rqb_dmabuf, in lpfc_nvmet_ctxbuf_post()
435 fc_hdr = (struct fc_frame_header *)(nvmebuf->hbuf.virt); in lpfc_nvmet_ctxbuf_post()
438 size = nvmebuf->bytes_recv; in lpfc_nvmet_ctxbuf_post()
452 ctxp->rqb_buffer = (void *)nvmebuf; in lpfc_nvmet_ctxbuf_post()
869 struct hbq_dmabuf *nvmebuf = (struct hbq_dmabuf *)axchg->rqb_buffer; in __lpfc_nvme_xmt_ls_rsp() local
933 lpfc_in_buf_free(phba, &nvmebuf->dbuf); in __lpfc_nvme_xmt_ls_rsp()
947 lpfc_in_buf_free(phba, &nvmebuf->dbuf); in __lpfc_nvme_xmt_ls_rsp()
1246 struct rqb_dmabuf *nvmebuf = ctxp->rqb_buffer; in lpfc_nvmet_defer_rcv() local
1254 if (!nvmebuf) { in lpfc_nvmet_defer_rcv()
1267 nvmebuf->hrq->rqbp->rqb_free_buffer(phba, nvmebuf); in lpfc_nvmet_defer_rcv()
1924 struct rqb_dmabuf *nvmebuf; in lpfc_nvmet_rcv_unsol_abort() local
1933 list_for_each_entry(nvmebuf, in lpfc_nvmet_rcv_unsol_abort()
1937 (nvmebuf->hbuf.virt); in lpfc_nvmet_rcv_unsol_abort()
1948 list_del_init(&nvmebuf->hbuf.list); in lpfc_nvmet_rcv_unsol_abort()
1958 nvmebuf->hrq->rqbp->rqb_free_buffer(phba, nvmebuf); in lpfc_nvmet_rcv_unsol_abort()
2197 struct rqb_dmabuf *nvmebuf = ctxp->rqb_buffer; in lpfc_nvmet_process_rcv_fcp_req() local
2203 if (!nvmebuf) { in lpfc_nvmet_process_rcv_fcp_req()
2223 payload = (uint32_t *)(nvmebuf->dbuf.virt); in lpfc_nvmet_process_rcv_fcp_req()
2246 (nvmebuf != ctxp->rqb_buffer)) { in lpfc_nvmet_process_rcv_fcp_req()
2252 lpfc_rq_buf_free(phba, &nvmebuf->hbuf); /* repost */ in lpfc_nvmet_process_rcv_fcp_req()
2273 qno = nvmebuf->idx; in lpfc_nvmet_process_rcv_fcp_req()
2382 struct rqb_dmabuf *nvmebuf, in lpfc_nvmet_unsol_fcp_buffer() argument
2399 if (!nvmebuf || !phba->targetport) { in lpfc_nvmet_unsol_fcp_buffer()
2402 if (nvmebuf) in lpfc_nvmet_unsol_fcp_buffer()
2403 lpfc_rq_buf_free(phba, &nvmebuf->hbuf); in lpfc_nvmet_unsol_fcp_buffer()
2426 fc_hdr = (struct fc_frame_header *)(nvmebuf->hbuf.virt); in lpfc_nvmet_unsol_fcp_buffer()
2428 size = nvmebuf->bytes_recv; in lpfc_nvmet_unsol_fcp_buffer()
2449 list_add_tail(&nvmebuf->hbuf.list, in lpfc_nvmet_unsol_fcp_buffer()
2457 qno = nvmebuf->idx; in lpfc_nvmet_unsol_fcp_buffer()
2488 ctxp->rqb_buffer = (void *)nvmebuf; in lpfc_nvmet_unsol_fcp_buffer()
2547 struct rqb_dmabuf *nvmebuf, in lpfc_nvmet_unsol_fcp_event() argument
2551 if (!nvmebuf) { in lpfc_nvmet_unsol_fcp_event()
2557 lpfc_rq_buf_free(phba, &nvmebuf->hbuf); in lpfc_nvmet_unsol_fcp_event()
2560 lpfc_nvmet_unsol_fcp_buffer(phba, idx, nvmebuf, isr_timestamp, cqflag); in lpfc_nvmet_unsol_fcp_event()