Lines Matching refs:d_buf
2226 struct lpfc_dmabuf *d_buf; in lpfc_sli_hbqbuf_get() local
2228 list_remove_head(rb_list, d_buf, struct lpfc_dmabuf, list); in lpfc_sli_hbqbuf_get()
2229 if (!d_buf) in lpfc_sli_hbqbuf_get()
2231 return container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_sli_hbqbuf_get()
2269 struct lpfc_dmabuf *d_buf; in lpfc_sli_hbqbuf_find() local
2278 list_for_each_entry(d_buf, &phba->hbqs[hbqno].hbq_buffer_list, list) { in lpfc_sli_hbqbuf_find()
2279 hbq_buf = container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_sli_hbqbuf_find()
17047 struct lpfc_dmabuf *d_buf, *dnext; in lpfc_cleanup_rcv_buffers() local
17054 list_for_each_entry_safe(d_buf, dnext, in lpfc_cleanup_rcv_buffers()
17056 list_del_init(&d_buf->list); in lpfc_cleanup_rcv_buffers()
17057 lpfc_in_buf_free(vport->phba, d_buf); in lpfc_cleanup_rcv_buffers()
17079 struct lpfc_dmabuf *d_buf, *dnext; in lpfc_rcv_seq_check_edtov() local
17098 list_for_each_entry_safe(d_buf, dnext, in lpfc_rcv_seq_check_edtov()
17100 list_del_init(&d_buf->list); in lpfc_rcv_seq_check_edtov()
17101 lpfc_in_buf_free(vport->phba, d_buf); in lpfc_rcv_seq_check_edtov()
17126 struct lpfc_dmabuf *d_buf; in lpfc_fc_frame_add() local
17175 d_buf = list_entry(seq_dmabuf->dbuf.list.prev, typeof(*d_buf), list); in lpfc_fc_frame_add()
17177 temp_dmabuf = container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_fc_frame_add()
17190 if (&d_buf->list == &seq_dmabuf->dbuf.list) in lpfc_fc_frame_add()
17192 d_buf = list_entry(d_buf->list.prev, typeof(*d_buf), list); in lpfc_fc_frame_add()
17222 struct lpfc_dmabuf *d_buf, *n_buf, *h_buf; in lpfc_sli4_abort_partial_seq() local
17242 list_for_each_entry_safe(d_buf, n_buf, in lpfc_sli4_abort_partial_seq()
17244 list_del_init(&d_buf->list); in lpfc_sli4_abort_partial_seq()
17245 lpfc_in_buf_free(vport->phba, d_buf); in lpfc_sli4_abort_partial_seq()
17547 struct lpfc_dmabuf *d_buf; in lpfc_seq_complete() local
17562 list_for_each_entry(d_buf, &dmabuf->dbuf.list, list) { in lpfc_seq_complete()
17563 seq_dmabuf = container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_seq_complete()
17595 struct lpfc_dmabuf *d_buf, *n_buf; in lpfc_prep_seq() local
17653 list_for_each_entry_safe(d_buf, n_buf, &seq_dmabuf->dbuf.list, list) { in lpfc_prep_seq()
17655 lpfc_in_buf_free(vport->phba, d_buf); in lpfc_prep_seq()
17659 iocbq->context3 = d_buf; in lpfc_prep_seq()
17662 hbq_buf = container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_prep_seq()
17683 lpfc_in_buf_free(vport->phba, d_buf); in lpfc_prep_seq()
17687 hbq_buf = container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_prep_seq()
17690 iocbq->context2 = d_buf; in lpfc_prep_seq()