Lines Matching refs:d_buf

2236 	struct lpfc_dmabuf *d_buf;  in lpfc_sli_hbqbuf_get()  local
2238 list_remove_head(rb_list, d_buf, struct lpfc_dmabuf, list); in lpfc_sli_hbqbuf_get()
2239 if (!d_buf) in lpfc_sli_hbqbuf_get()
2241 return container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_sli_hbqbuf_get()
2279 struct lpfc_dmabuf *d_buf; in lpfc_sli_hbqbuf_find() local
2288 list_for_each_entry(d_buf, &phba->hbqs[hbqno].hbq_buffer_list, list) { in lpfc_sli_hbqbuf_find()
2289 hbq_buf = container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_sli_hbqbuf_find()
16751 struct lpfc_dmabuf *d_buf, *dnext; in lpfc_cleanup_rcv_buffers() local
16758 list_for_each_entry_safe(d_buf, dnext, in lpfc_cleanup_rcv_buffers()
16760 list_del_init(&d_buf->list); in lpfc_cleanup_rcv_buffers()
16761 lpfc_in_buf_free(vport->phba, d_buf); in lpfc_cleanup_rcv_buffers()
16783 struct lpfc_dmabuf *d_buf, *dnext; in lpfc_rcv_seq_check_edtov() local
16802 list_for_each_entry_safe(d_buf, dnext, in lpfc_rcv_seq_check_edtov()
16804 list_del_init(&d_buf->list); in lpfc_rcv_seq_check_edtov()
16805 lpfc_in_buf_free(vport->phba, d_buf); in lpfc_rcv_seq_check_edtov()
16830 struct lpfc_dmabuf *d_buf; in lpfc_fc_frame_add() local
16879 d_buf = list_entry(seq_dmabuf->dbuf.list.prev, typeof(*d_buf), list); in lpfc_fc_frame_add()
16881 temp_dmabuf = container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_fc_frame_add()
16894 if (&d_buf->list == &seq_dmabuf->dbuf.list) in lpfc_fc_frame_add()
16896 d_buf = list_entry(d_buf->list.prev, typeof(*d_buf), list); in lpfc_fc_frame_add()
16926 struct lpfc_dmabuf *d_buf, *n_buf, *h_buf; in lpfc_sli4_abort_partial_seq() local
16946 list_for_each_entry_safe(d_buf, n_buf, in lpfc_sli4_abort_partial_seq()
16948 list_del_init(&d_buf->list); in lpfc_sli4_abort_partial_seq()
16949 lpfc_in_buf_free(vport->phba, d_buf); in lpfc_sli4_abort_partial_seq()
17252 struct lpfc_dmabuf *d_buf; in lpfc_seq_complete() local
17267 list_for_each_entry(d_buf, &dmabuf->dbuf.list, list) { in lpfc_seq_complete()
17268 seq_dmabuf = container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_seq_complete()
17300 struct lpfc_dmabuf *d_buf, *n_buf; in lpfc_prep_seq() local
17358 list_for_each_entry_safe(d_buf, n_buf, &seq_dmabuf->dbuf.list, list) { in lpfc_prep_seq()
17360 lpfc_in_buf_free(vport->phba, d_buf); in lpfc_prep_seq()
17364 iocbq->context3 = d_buf; in lpfc_prep_seq()
17367 hbq_buf = container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_prep_seq()
17388 lpfc_in_buf_free(vport->phba, d_buf); in lpfc_prep_seq()
17392 hbq_buf = container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_prep_seq()
17395 iocbq->context2 = d_buf; in lpfc_prep_seq()