Lines Matching refs:d_buf

2634 	struct lpfc_dmabuf *d_buf;  in lpfc_sli_hbqbuf_get()  local
2636 list_remove_head(rb_list, d_buf, struct lpfc_dmabuf, list); in lpfc_sli_hbqbuf_get()
2637 if (!d_buf) in lpfc_sli_hbqbuf_get()
2639 return container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_sli_hbqbuf_get()
2677 struct lpfc_dmabuf *d_buf; in lpfc_sli_hbqbuf_find() local
2686 list_for_each_entry(d_buf, &phba->hbqs[hbqno].hbq_buffer_list, list) { in lpfc_sli_hbqbuf_find()
2687 hbq_buf = container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_sli_hbqbuf_find()
3213 struct lpfc_dmabuf *d_buf; in lpfc_nvme_unsol_ls_handler() local
3221 d_buf = piocb->cmd_dmabuf; in lpfc_nvme_unsol_ls_handler()
3223 nvmebuf = container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_nvme_unsol_ls_handler()
18649 struct lpfc_dmabuf *d_buf, *dnext; in lpfc_cleanup_rcv_buffers() local
18656 list_for_each_entry_safe(d_buf, dnext, in lpfc_cleanup_rcv_buffers()
18658 list_del_init(&d_buf->list); in lpfc_cleanup_rcv_buffers()
18659 lpfc_in_buf_free(vport->phba, d_buf); in lpfc_cleanup_rcv_buffers()
18681 struct lpfc_dmabuf *d_buf, *dnext; in lpfc_rcv_seq_check_edtov() local
18700 list_for_each_entry_safe(d_buf, dnext, in lpfc_rcv_seq_check_edtov()
18702 list_del_init(&d_buf->list); in lpfc_rcv_seq_check_edtov()
18703 lpfc_in_buf_free(vport->phba, d_buf); in lpfc_rcv_seq_check_edtov()
18729 struct lpfc_dmabuf *d_buf; in lpfc_fc_frame_add() local
18777 d_buf = list_entry(seq_dmabuf->dbuf.list.prev, typeof(*d_buf), list); in lpfc_fc_frame_add()
18779 temp_dmabuf = container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_fc_frame_add()
18792 if (&d_buf->list == &seq_dmabuf->dbuf.list) in lpfc_fc_frame_add()
18794 d_buf = list_entry(d_buf->list.prev, typeof(*d_buf), list); in lpfc_fc_frame_add()
18824 struct lpfc_dmabuf *d_buf, *n_buf, *h_buf; in lpfc_sli4_abort_partial_seq() local
18844 list_for_each_entry_safe(d_buf, n_buf, in lpfc_sli4_abort_partial_seq()
18846 list_del_init(&d_buf->list); in lpfc_sli4_abort_partial_seq()
18847 lpfc_in_buf_free(vport->phba, d_buf); in lpfc_sli4_abort_partial_seq()
19145 struct lpfc_dmabuf *d_buf; in lpfc_seq_complete() local
19160 list_for_each_entry(d_buf, &dmabuf->dbuf.list, list) { in lpfc_seq_complete()
19161 seq_dmabuf = container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_seq_complete()
19193 struct lpfc_dmabuf *d_buf, *n_buf; in lpfc_prep_seq() local
19250 list_for_each_entry_safe(d_buf, n_buf, &seq_dmabuf->dbuf.list, list) { in lpfc_prep_seq()
19252 lpfc_in_buf_free(vport->phba, d_buf); in lpfc_prep_seq()
19256 iocbq->bpl_dmabuf = d_buf; in lpfc_prep_seq()
19259 hbq_buf = container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_prep_seq()
19275 lpfc_in_buf_free(vport->phba, d_buf); in lpfc_prep_seq()
19279 hbq_buf = container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_prep_seq()
19282 iocbq->cmd_dmabuf = d_buf; in lpfc_prep_seq()