Lines Matching refs:d_buf
2239 struct lpfc_dmabuf *d_buf; in lpfc_sli_hbqbuf_get() local
2241 list_remove_head(rb_list, d_buf, struct lpfc_dmabuf, list); in lpfc_sli_hbqbuf_get()
2242 if (!d_buf) in lpfc_sli_hbqbuf_get()
2244 return container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_sli_hbqbuf_get()
2282 struct lpfc_dmabuf *d_buf; in lpfc_sli_hbqbuf_find() local
2291 list_for_each_entry(d_buf, &phba->hbqs[hbqno].hbq_buffer_list, list) { in lpfc_sli_hbqbuf_find()
2292 hbq_buf = container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_sli_hbqbuf_find()
2804 struct lpfc_dmabuf *d_buf; in lpfc_nvme_unsol_ls_handler() local
2812 d_buf = piocb->context2; in lpfc_nvme_unsol_ls_handler()
2814 nvmebuf = container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_nvme_unsol_ls_handler()
17599 struct lpfc_dmabuf *d_buf, *dnext; in lpfc_cleanup_rcv_buffers() local
17606 list_for_each_entry_safe(d_buf, dnext, in lpfc_cleanup_rcv_buffers()
17608 list_del_init(&d_buf->list); in lpfc_cleanup_rcv_buffers()
17609 lpfc_in_buf_free(vport->phba, d_buf); in lpfc_cleanup_rcv_buffers()
17631 struct lpfc_dmabuf *d_buf, *dnext; in lpfc_rcv_seq_check_edtov() local
17650 list_for_each_entry_safe(d_buf, dnext, in lpfc_rcv_seq_check_edtov()
17652 list_del_init(&d_buf->list); in lpfc_rcv_seq_check_edtov()
17653 lpfc_in_buf_free(vport->phba, d_buf); in lpfc_rcv_seq_check_edtov()
17679 struct lpfc_dmabuf *d_buf; in lpfc_fc_frame_add() local
17728 d_buf = list_entry(seq_dmabuf->dbuf.list.prev, typeof(*d_buf), list); in lpfc_fc_frame_add()
17730 temp_dmabuf = container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_fc_frame_add()
17743 if (&d_buf->list == &seq_dmabuf->dbuf.list) in lpfc_fc_frame_add()
17745 d_buf = list_entry(d_buf->list.prev, typeof(*d_buf), list); in lpfc_fc_frame_add()
17775 struct lpfc_dmabuf *d_buf, *n_buf, *h_buf; in lpfc_sli4_abort_partial_seq() local
17795 list_for_each_entry_safe(d_buf, n_buf, in lpfc_sli4_abort_partial_seq()
17797 list_del_init(&d_buf->list); in lpfc_sli4_abort_partial_seq()
17798 lpfc_in_buf_free(vport->phba, d_buf); in lpfc_sli4_abort_partial_seq()
18100 struct lpfc_dmabuf *d_buf; in lpfc_seq_complete() local
18115 list_for_each_entry(d_buf, &dmabuf->dbuf.list, list) { in lpfc_seq_complete()
18116 seq_dmabuf = container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_seq_complete()
18148 struct lpfc_dmabuf *d_buf, *n_buf; in lpfc_prep_seq() local
18206 list_for_each_entry_safe(d_buf, n_buf, &seq_dmabuf->dbuf.list, list) { in lpfc_prep_seq()
18208 lpfc_in_buf_free(vport->phba, d_buf); in lpfc_prep_seq()
18212 iocbq->context3 = d_buf; in lpfc_prep_seq()
18215 hbq_buf = container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_prep_seq()
18236 lpfc_in_buf_free(vport->phba, d_buf); in lpfc_prep_seq()
18240 hbq_buf = container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_prep_seq()
18243 iocbq->context2 = d_buf; in lpfc_prep_seq()