Lines Matching refs:dbuf
1704 hbq_buf = container_of(dmabuf, struct hbq_dmabuf, dbuf); in lpfc_sli_hbqbuf_free_all()
1705 list_del(&hbq_buf->dbuf.list); in lpfc_sli_hbqbuf_free_all()
1713 hbq_buf = container_of(dmabuf, struct hbq_dmabuf, dbuf); in lpfc_sli_hbqbuf_free_all()
1714 list_del(&hbq_buf->dbuf.list); in lpfc_sli_hbqbuf_free_all()
1769 dma_addr_t physaddr = hbq_buf->dbuf.phys; in lpfc_sli_hbq_to_firmware_s3()
1787 list_add_tail(&hbq_buf->dbuf.list, &hbqp->hbq_buffer_list); in lpfc_sli_hbq_to_firmware_s3()
1813 drqe.address_lo = putPaddrLow(hbq_buf->dbuf.phys); in lpfc_sli_hbq_to_firmware_s4()
1814 drqe.address_hi = putPaddrHigh(hbq_buf->dbuf.phys); in lpfc_sli_hbq_to_firmware_s4()
1820 list_add_tail(&hbq_buf->dbuf.list, &phba->hbqs[hbqno].hbq_buffer_list); in lpfc_sli_hbq_to_firmware_s4()
1885 list_add_tail(&hbq_buffer->dbuf.list, &hbq_buf_list); in lpfc_sli_hbqbuf_fill_hbqs()
1893 dbuf.list); in lpfc_sli_hbqbuf_fill_hbqs()
1908 dbuf.list); in lpfc_sli_hbqbuf_fill_hbqs()
1969 return container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_sli_hbqbuf_get()
1995 hbq_buf = container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_sli_hbqbuf_find()
2416 return &hbq_entry->dbuf; in lpfc_sli_get_buff()
14770 &dmabuf->dbuf.list, list) { in lpfc_cleanup_rcv_buffers()
14774 lpfc_in_buf_free(vport->phba, &dmabuf->dbuf); in lpfc_cleanup_rcv_buffers()
14814 &dmabuf->dbuf.list, list) { in lpfc_rcv_seq_check_edtov()
14818 lpfc_in_buf_free(vport->phba, &dmabuf->dbuf); in lpfc_rcv_seq_check_edtov()
14846 INIT_LIST_HEAD(&dmabuf->dbuf.list); in lpfc_fc_frame_add()
14874 list_add_tail(&dmabuf->dbuf.list, &seq_dmabuf->dbuf.list); in lpfc_fc_frame_add()
14882 if (list_empty(&seq_dmabuf->dbuf.list)) { in lpfc_fc_frame_add()
14884 list_add_tail(&dmabuf->dbuf.list, &seq_dmabuf->dbuf.list); in lpfc_fc_frame_add()
14888 list_for_each_entry_reverse(d_buf, &seq_dmabuf->dbuf.list, list) { in lpfc_fc_frame_add()
14889 temp_dmabuf = container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_fc_frame_add()
14897 list_add(&dmabuf->dbuf.list, &temp_dmabuf->dbuf.list); in lpfc_fc_frame_add()
14930 INIT_LIST_HEAD(&dmabuf->dbuf.list); in lpfc_sli4_abort_partial_seq()
14947 &seq_dmabuf->dbuf.list, list) { in lpfc_sli4_abort_partial_seq()
15226 lpfc_in_buf_free(phba, &dmabuf->dbuf); in lpfc_sli4_handle_unsol_abort()
15263 list_for_each_entry(d_buf, &dmabuf->dbuf.list, list) { in lpfc_seq_complete()
15264 seq_dmabuf = container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_seq_complete()
15335 first_iocbq->context2 = &seq_dmabuf->dbuf; in lpfc_prep_seq()
15353 list_for_each_entry_safe(d_buf, n_buf, &seq_dmabuf->dbuf.list, list) { in lpfc_prep_seq()
15362 hbq_buf = container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_prep_seq()
15387 hbq_buf = container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_prep_seq()
15472 lpfc_in_buf_free(phba, &dmabuf->dbuf); in lpfc_sli4_handle_received_buffer()
15486 lpfc_in_buf_free(phba, &dmabuf->dbuf); in lpfc_sli4_handle_received_buffer()
15503 lpfc_in_buf_free(phba, &dmabuf->dbuf); in lpfc_sli4_handle_received_buffer()
15518 lpfc_in_buf_free(phba, &dmabuf->dbuf); in lpfc_sli4_handle_received_buffer()