Lines Matching refs:d_buf

1964 	struct lpfc_dmabuf *d_buf;  in lpfc_sli_hbqbuf_get()  local
1966 list_remove_head(rb_list, d_buf, struct lpfc_dmabuf, list); in lpfc_sli_hbqbuf_get()
1967 if (!d_buf) in lpfc_sli_hbqbuf_get()
1969 return container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_sli_hbqbuf_get()
1985 struct lpfc_dmabuf *d_buf; in lpfc_sli_hbqbuf_find() local
1994 list_for_each_entry(d_buf, &phba->hbqs[hbqno].hbq_buffer_list, list) { in lpfc_sli_hbqbuf_find()
1995 hbq_buf = container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_sli_hbqbuf_find()
14786 struct lpfc_dmabuf *d_buf, *dnext; in lpfc_cleanup_rcv_buffers() local
14793 list_for_each_entry_safe(d_buf, dnext, in lpfc_cleanup_rcv_buffers()
14795 list_del_init(&d_buf->list); in lpfc_cleanup_rcv_buffers()
14796 lpfc_in_buf_free(vport->phba, d_buf); in lpfc_cleanup_rcv_buffers()
14818 struct lpfc_dmabuf *d_buf, *dnext; in lpfc_rcv_seq_check_edtov() local
14837 list_for_each_entry_safe(d_buf, dnext, in lpfc_rcv_seq_check_edtov()
14839 list_del_init(&d_buf->list); in lpfc_rcv_seq_check_edtov()
14840 lpfc_in_buf_free(vport->phba, d_buf); in lpfc_rcv_seq_check_edtov()
14865 struct lpfc_dmabuf *d_buf; in lpfc_fc_frame_add() local
14912 list_for_each_entry_reverse(d_buf, &seq_dmabuf->dbuf.list, list) { in lpfc_fc_frame_add()
14913 temp_dmabuf = container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_fc_frame_add()
14950 struct lpfc_dmabuf *d_buf, *n_buf, *h_buf; in lpfc_sli4_abort_partial_seq() local
14970 list_for_each_entry_safe(d_buf, n_buf, in lpfc_sli4_abort_partial_seq()
14972 list_del_init(&d_buf->list); in lpfc_sli4_abort_partial_seq()
14973 lpfc_in_buf_free(vport->phba, d_buf); in lpfc_sli4_abort_partial_seq()
15272 struct lpfc_dmabuf *d_buf; in lpfc_seq_complete() local
15287 list_for_each_entry(d_buf, &dmabuf->dbuf.list, list) { in lpfc_seq_complete()
15288 seq_dmabuf = container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_seq_complete()
15320 struct lpfc_dmabuf *d_buf, *n_buf; in lpfc_prep_seq() local
15377 list_for_each_entry_safe(d_buf, n_buf, &seq_dmabuf->dbuf.list, list) { in lpfc_prep_seq()
15379 lpfc_in_buf_free(vport->phba, d_buf); in lpfc_prep_seq()
15383 iocbq->context3 = d_buf; in lpfc_prep_seq()
15386 hbq_buf = container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_prep_seq()
15407 lpfc_in_buf_free(vport->phba, d_buf); in lpfc_prep_seq()
15411 hbq_buf = container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_prep_seq()
15414 iocbq->context2 = d_buf; in lpfc_prep_seq()