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()
17535 struct lpfc_dmabuf *d_buf, *dnext; in lpfc_cleanup_rcv_buffers() local
17542 list_for_each_entry_safe(d_buf, dnext, in lpfc_cleanup_rcv_buffers()
17544 list_del_init(&d_buf->list); in lpfc_cleanup_rcv_buffers()
17545 lpfc_in_buf_free(vport->phba, d_buf); in lpfc_cleanup_rcv_buffers()
17567 struct lpfc_dmabuf *d_buf, *dnext; in lpfc_rcv_seq_check_edtov() local
17586 list_for_each_entry_safe(d_buf, dnext, in lpfc_rcv_seq_check_edtov()
17588 list_del_init(&d_buf->list); in lpfc_rcv_seq_check_edtov()
17589 lpfc_in_buf_free(vport->phba, d_buf); in lpfc_rcv_seq_check_edtov()
17615 struct lpfc_dmabuf *d_buf; in lpfc_fc_frame_add() local
17664 d_buf = list_entry(seq_dmabuf->dbuf.list.prev, typeof(*d_buf), list); in lpfc_fc_frame_add()
17666 temp_dmabuf = container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_fc_frame_add()
17679 if (&d_buf->list == &seq_dmabuf->dbuf.list) in lpfc_fc_frame_add()
17681 d_buf = list_entry(d_buf->list.prev, typeof(*d_buf), list); in lpfc_fc_frame_add()
17711 struct lpfc_dmabuf *d_buf, *n_buf, *h_buf; in lpfc_sli4_abort_partial_seq() local
17731 list_for_each_entry_safe(d_buf, n_buf, in lpfc_sli4_abort_partial_seq()
17733 list_del_init(&d_buf->list); in lpfc_sli4_abort_partial_seq()
17734 lpfc_in_buf_free(vport->phba, d_buf); in lpfc_sli4_abort_partial_seq()
18037 struct lpfc_dmabuf *d_buf; in lpfc_seq_complete() local
18052 list_for_each_entry(d_buf, &dmabuf->dbuf.list, list) { in lpfc_seq_complete()
18053 seq_dmabuf = container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_seq_complete()
18085 struct lpfc_dmabuf *d_buf, *n_buf; in lpfc_prep_seq() local
18143 list_for_each_entry_safe(d_buf, n_buf, &seq_dmabuf->dbuf.list, list) { in lpfc_prep_seq()
18145 lpfc_in_buf_free(vport->phba, d_buf); in lpfc_prep_seq()
18149 iocbq->context3 = d_buf; in lpfc_prep_seq()
18152 hbq_buf = container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_prep_seq()
18173 lpfc_in_buf_free(vport->phba, d_buf); in lpfc_prep_seq()
18177 hbq_buf = container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_prep_seq()
18180 iocbq->context2 = d_buf; in lpfc_prep_seq()