Lines Matching refs:d_buf
2614 struct lpfc_dmabuf *d_buf; in lpfc_sli_hbqbuf_get() local
2616 list_remove_head(rb_list, d_buf, struct lpfc_dmabuf, list); in lpfc_sli_hbqbuf_get()
2617 if (!d_buf) in lpfc_sli_hbqbuf_get()
2619 return container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_sli_hbqbuf_get()
2657 struct lpfc_dmabuf *d_buf; in lpfc_sli_hbqbuf_find() local
2666 list_for_each_entry(d_buf, &phba->hbqs[hbqno].hbq_buffer_list, list) { in lpfc_sli_hbqbuf_find()
2667 hbq_buf = container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_sli_hbqbuf_find()
3190 struct lpfc_dmabuf *d_buf; in lpfc_nvme_unsol_ls_handler() local
3198 d_buf = piocb->context2; in lpfc_nvme_unsol_ls_handler()
3200 nvmebuf = container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_nvme_unsol_ls_handler()
18543 struct lpfc_dmabuf *d_buf, *dnext; in lpfc_cleanup_rcv_buffers() local
18550 list_for_each_entry_safe(d_buf, dnext, in lpfc_cleanup_rcv_buffers()
18552 list_del_init(&d_buf->list); in lpfc_cleanup_rcv_buffers()
18553 lpfc_in_buf_free(vport->phba, d_buf); in lpfc_cleanup_rcv_buffers()
18575 struct lpfc_dmabuf *d_buf, *dnext; in lpfc_rcv_seq_check_edtov() local
18594 list_for_each_entry_safe(d_buf, dnext, in lpfc_rcv_seq_check_edtov()
18596 list_del_init(&d_buf->list); in lpfc_rcv_seq_check_edtov()
18597 lpfc_in_buf_free(vport->phba, d_buf); in lpfc_rcv_seq_check_edtov()
18623 struct lpfc_dmabuf *d_buf; in lpfc_fc_frame_add() local
18671 d_buf = list_entry(seq_dmabuf->dbuf.list.prev, typeof(*d_buf), list); in lpfc_fc_frame_add()
18673 temp_dmabuf = container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_fc_frame_add()
18686 if (&d_buf->list == &seq_dmabuf->dbuf.list) in lpfc_fc_frame_add()
18688 d_buf = list_entry(d_buf->list.prev, typeof(*d_buf), list); in lpfc_fc_frame_add()
18718 struct lpfc_dmabuf *d_buf, *n_buf, *h_buf; in lpfc_sli4_abort_partial_seq() local
18738 list_for_each_entry_safe(d_buf, n_buf, in lpfc_sli4_abort_partial_seq()
18740 list_del_init(&d_buf->list); in lpfc_sli4_abort_partial_seq()
18741 lpfc_in_buf_free(vport->phba, d_buf); in lpfc_sli4_abort_partial_seq()
19038 struct lpfc_dmabuf *d_buf; in lpfc_seq_complete() local
19053 list_for_each_entry(d_buf, &dmabuf->dbuf.list, list) { in lpfc_seq_complete()
19054 seq_dmabuf = container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_seq_complete()
19086 struct lpfc_dmabuf *d_buf, *n_buf; in lpfc_prep_seq() local
19144 list_for_each_entry_safe(d_buf, n_buf, &seq_dmabuf->dbuf.list, list) { in lpfc_prep_seq()
19146 lpfc_in_buf_free(vport->phba, d_buf); in lpfc_prep_seq()
19150 iocbq->context3 = d_buf; in lpfc_prep_seq()
19153 hbq_buf = container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_prep_seq()
19174 lpfc_in_buf_free(vport->phba, d_buf); in lpfc_prep_seq()
19178 hbq_buf = container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_prep_seq()
19181 iocbq->context2 = d_buf; in lpfc_prep_seq()