Home
last modified time | relevance | path

Searched refs:rqbp (Results 1 – 5 of 5) sorted by relevance

/linux-5.19.10/drivers/scsi/lpfc/
Dlpfc_mem.c716 struct lpfc_rqb *rqbp; in lpfc_rq_buf_free() local
727 rqbp = rqb_entry->hrq->rqbp; in lpfc_rq_buf_free()
746 (rqbp->rqb_free_buffer)(phba, rqb_entry); in lpfc_rq_buf_free()
748 list_add_tail(&rqb_entry->hbuf.list, &rqbp->rqb_buffer_list); in lpfc_rq_buf_free()
749 rqbp->buffer_count++; in lpfc_rq_buf_free()
Dlpfc_sli.c2632 struct lpfc_rqb *rqbp; in lpfc_sli_rqbuf_get() local
2634 rqbp = hrq->rqbp; in lpfc_sli_rqbuf_get()
2635 list_remove_head(&rqbp->rqb_buffer_list, h_buf, in lpfc_sli_rqbuf_get()
2639 rqbp->buffer_count--; in lpfc_sli_rqbuf_get()
7756 struct lpfc_rqb *rqbp; in lpfc_post_rq_buffer() local
7761 rqbp = hrq->rqbp; in lpfc_post_rq_buffer()
7765 if (rqbp->buffer_count + i >= rqbp->entry_count - 1) { in lpfc_post_rq_buffer()
7771 rqb_buffer = rqbp->rqb_alloc_buffer(phba); in lpfc_post_rq_buffer()
7800 rqbp->rqb_free_buffer(phba, rqb_buffer); in lpfc_post_rq_buffer()
7803 &rqbp->rqb_buffer_list); in lpfc_post_rq_buffer()
[all …]
Dlpfc_sli4.h221 struct lpfc_rqb *rqbp; /* ptr to RQ buffers */ member
Dlpfc_init.c10759 qdesc->rqbp = kzalloc_node(sizeof(*qdesc->rqbp), in lpfc_sli4_queue_create()
10762 if (qdesc->rqbp == NULL) { in lpfc_sli4_queue_create()
10770 INIT_LIST_HEAD(&qdesc->rqbp->rqb_buffer_list); in lpfc_sli4_queue_create()
10945 struct lpfc_rqb *rqbp; in lpfc_free_rq_buffer() local
10949 rqbp = rq->rqbp; in lpfc_free_rq_buffer()
10950 while (!list_empty(&rqbp->rqb_buffer_list)) { in lpfc_free_rq_buffer()
10951 list_remove_head(&rqbp->rqb_buffer_list, h_buf, in lpfc_free_rq_buffer()
10955 (rqbp->rqb_free_buffer)(phba, rqb_buffer); in lpfc_free_rq_buffer()
10956 rqbp->buffer_count--; in lpfc_free_rq_buffer()
Dlpfc_nvmet.c413 nvmebuf->hrq->rqbp->rqb_free_buffer(phba, in lpfc_nvmet_ctxbuf_post()
1269 nvmebuf->hrq->rqbp->rqb_free_buffer(phba, nvmebuf); in lpfc_nvmet_defer_rcv()
1950 nvmebuf->hrq->rqbp->rqb_free_buffer(phba, nvmebuf); in lpfc_nvmet_rcv_unsol_abort()