Lines Matching refs:seq_dmabuf
18722 struct hbq_dmabuf *seq_dmabuf = NULL; in lpfc_fc_frame_add() local
18738 seq_dmabuf = container_of(h_buf, struct hbq_dmabuf, hbuf); in lpfc_fc_frame_add()
18741 if (!seq_dmabuf) { in lpfc_fc_frame_add()
18750 temp_hdr = seq_dmabuf->hbuf.virt; in lpfc_fc_frame_add()
18753 list_del_init(&seq_dmabuf->hbuf.list); in lpfc_fc_frame_add()
18755 list_add_tail(&dmabuf->dbuf.list, &seq_dmabuf->dbuf.list); in lpfc_fc_frame_add()
18760 list_move_tail(&seq_dmabuf->hbuf.list, &vport->rcv_buffer_list); in lpfc_fc_frame_add()
18761 seq_dmabuf->time_stamp = jiffies; in lpfc_fc_frame_add()
18763 if (list_empty(&seq_dmabuf->dbuf.list)) { in lpfc_fc_frame_add()
18764 list_add_tail(&dmabuf->dbuf.list, &seq_dmabuf->dbuf.list); in lpfc_fc_frame_add()
18765 return seq_dmabuf; in lpfc_fc_frame_add()
18768 d_buf = list_entry(seq_dmabuf->dbuf.list.prev, typeof(*d_buf), list); in lpfc_fc_frame_add()
18783 if (&d_buf->list == &seq_dmabuf->dbuf.list) in lpfc_fc_frame_add()
18789 return seq_dmabuf; in lpfc_fc_frame_add()
18816 struct hbq_dmabuf *seq_dmabuf = NULL; in lpfc_sli4_abort_partial_seq() local
18829 seq_dmabuf = container_of(h_buf, struct hbq_dmabuf, hbuf); in lpfc_sli4_abort_partial_seq()
18834 if (seq_dmabuf) { in lpfc_sli4_abort_partial_seq()
18836 &seq_dmabuf->dbuf.list, list) { in lpfc_sli4_abort_partial_seq()
19147 struct hbq_dmabuf *seq_dmabuf; in lpfc_seq_complete() local
19162 seq_dmabuf = container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_seq_complete()
19163 hdr = (struct fc_frame_header *)seq_dmabuf->hbuf.virt; in lpfc_seq_complete()
19191 lpfc_prep_seq(struct lpfc_vport *vport, struct hbq_dmabuf *seq_dmabuf) in lpfc_prep_seq() argument
19200 fc_hdr = (struct fc_frame_header *)seq_dmabuf->hbuf.virt; in lpfc_prep_seq()
19202 list_del_init(&seq_dmabuf->hbuf.list); in lpfc_prep_seq()
19229 &seq_dmabuf->cq_event.cqe.rcqe_cmpl); in lpfc_prep_seq()
19231 first_iocbq->cmd_dmabuf = &seq_dmabuf->dbuf; in lpfc_prep_seq()
19251 list_for_each_entry_safe(d_buf, n_buf, &seq_dmabuf->dbuf.list, list) { in lpfc_prep_seq()
19303 lpfc_in_buf_free(vport->phba, &seq_dmabuf->dbuf); in lpfc_prep_seq()
19310 struct hbq_dmabuf *seq_dmabuf) in lpfc_sli4_send_seq_to_ulp() argument
19316 fc_hdr = (struct fc_frame_header *)seq_dmabuf->hbuf.virt; in lpfc_sli4_send_seq_to_ulp()
19317 iocbq = lpfc_prep_seq(vport, seq_dmabuf); in lpfc_sli4_send_seq_to_ulp()
19335 lpfc_in_buf_free(phba, &seq_dmabuf->dbuf); in lpfc_sli4_send_seq_to_ulp()
19476 struct hbq_dmabuf *seq_dmabuf; in lpfc_sli4_handle_received_buffer() local
19553 seq_dmabuf = lpfc_fc_frame_add(vport, dmabuf); in lpfc_sli4_handle_received_buffer()
19554 if (!seq_dmabuf) { in lpfc_sli4_handle_received_buffer()
19560 if (!lpfc_seq_complete(seq_dmabuf)) in lpfc_sli4_handle_received_buffer()
19564 lpfc_sli4_send_seq_to_ulp(vport, seq_dmabuf); in lpfc_sli4_handle_received_buffer()