Lines Matching refs:nvmebuf

391 	struct rqb_dmabuf *nvmebuf;
405 nvmebuf = ctxp->rqb_buffer;
407 if (nvmebuf) {
412 nvmebuf->hrq->rqbp->rqb_free_buffer(phba,
413 nvmebuf);
417 lpfc_rq_buf_free(phba, &nvmebuf->hbuf);
428 nvmebuf, struct rqb_dmabuf,
434 fc_hdr = (struct fc_frame_header *)(nvmebuf->hbuf.virt);
437 size = nvmebuf->bytes_recv;
451 ctxp->rqb_buffer = (void *)nvmebuf;
869 struct hbq_dmabuf *nvmebuf = (struct hbq_dmabuf *)axchg->rqb_buffer;
934 lpfc_in_buf_free(phba, &nvmebuf->dbuf);
948 lpfc_in_buf_free(phba, &nvmebuf->dbuf);
1248 struct rqb_dmabuf *nvmebuf = ctxp->rqb_buffer;
1256 if (!nvmebuf) {
1268 /* Free the nvmebuf since a new buffer already replaced it */
1269 nvmebuf->hrq->rqbp->rqb_free_buffer(phba, nvmebuf);
1911 struct rqb_dmabuf *nvmebuf;
1920 list_for_each_entry(nvmebuf,
1924 (nvmebuf->hbuf.virt);
1935 list_del_init(&nvmebuf->hbuf.list);
1945 nvmebuf->hrq->rqbp->rqb_free_buffer(phba, nvmebuf);
2181 struct rqb_dmabuf *nvmebuf = ctxp->rqb_buffer;
2187 if (!nvmebuf) {
2189 "6159 process_rcv_fcp_req, nvmebuf is NULL, "
2207 payload = (uint32_t *)(nvmebuf->dbuf.virt);
2221 * the nvmebuf.
2230 (nvmebuf != ctxp->rqb_buffer)) {
2236 lpfc_rq_buf_free(phba, &nvmebuf->hbuf); /* repost */
2257 qno = nvmebuf->idx;
2352 * @nvmebuf: pointer to lpfc nvme command HBQ data structure.
2366 struct rqb_dmabuf *nvmebuf,
2383 if (!nvmebuf || !phba->targetport) {
2386 if (nvmebuf)
2387 lpfc_rq_buf_free(phba, &nvmebuf->hbuf);
2410 fc_hdr = (struct fc_frame_header *)(nvmebuf->hbuf.virt);
2412 size = nvmebuf->bytes_recv;
2433 list_add_tail(&nvmebuf->hbuf.list,
2441 qno = nvmebuf->idx;
2472 ctxp->rqb_buffer = (void *)nvmebuf;
2518 * @nvmebuf: pointer to received nvme data structure.
2531 struct rqb_dmabuf *nvmebuf,
2535 if (!nvmebuf) {
2541 lpfc_rq_buf_free(phba, &nvmebuf->hbuf);
2544 lpfc_nvmet_unsol_fcp_buffer(phba, idx, nvmebuf, isr_timestamp, cqflag);