Lines Matching refs:setup_head
1176 trace_hfi1_tid_flow_alloc(flow->req->qp, flow->req->setup_head, in kern_get_phys_blocks()
1409 trace_hfi1_tid_flow_alloc(flow->req->qp, flow->req->setup_head, flow); in kern_program_rcvarray()
1458 struct tid_rdma_flow *flow = &req->flows[req->setup_head]; in hfi1_kern_exp_rcv_setup()
1472 if (!CIRC_SPACE(req->setup_head, clear_tail, MAX_FLOWS) || in hfi1_kern_exp_rcv_setup()
1473 CIRC_CNT(req->setup_head, clear_tail, MAX_FLOWS) >= in hfi1_kern_exp_rcv_setup()
1527 req->setup_head = (req->setup_head + 1) & (MAX_FLOWS - 1); in hfi1_kern_exp_rcv_setup()
1557 if (!CIRC_CNT(req->setup_head, req->clear_tail, MAX_FLOWS)) in hfi1_kern_exp_rcv_clear()
1593 while (CIRC_CNT(req->setup_head, req->clear_tail, MAX_FLOWS)) { in hfi1_kern_exp_rcv_clear_all()
1680 head = req->setup_head; in find_flow_ib()
1814 if (req->flow_idx == req->setup_head) { in hfi1_build_tid_rdma_read_req()
1896 flow = &req->flows[req->setup_head]; in tid_rdma_rcv_read_request()
1929 req->clear_tail = req->setup_head; in tid_rdma_rcv_read_request()
1947 trace_hfi1_tid_flow_rcv_read_req(qp, req->setup_head, flow); in tid_rdma_rcv_read_request()
1949 req->flow_idx = req->setup_head; in tid_rdma_rcv_read_request()
1952 req->setup_head = (req->setup_head + 1) & (MAX_FLOWS - 1); in tid_rdma_rcv_read_request()
2111 if (req->clear_tail == req->setup_head) in tid_rdma_rcv_error()
2137 if (CIRC_CNT(req->setup_head, req->flow_idx, in tid_rdma_rcv_error()
3131 for (; CIRC_CNT(req->setup_head, fidx, MAX_FLOWS); in hfi1_tid_rdma_restart_req()
3342 priv->tid_req.acked_tail = priv->tid_req.setup_head; in setup_tid_rdma_wqe()
3547 if (!CIRC_SPACE(req->setup_head, req->acked_tail, in hfi1_tid_write_alloc_resources()
3729 (req->setup_head != req->clear_tail || in hfi1_rc_rcv_tid_rdma_write_req()
3758 req->flow_idx = req->setup_head; in hfi1_rc_rcv_tid_rdma_write_req()
3759 req->clear_tail = req->setup_head; in hfi1_rc_rcv_tid_rdma_write_req()
3760 req->acked_tail = req->setup_head; in hfi1_rc_rcv_tid_rdma_write_req()
3869 if (!CIRC_CNT(req->setup_head, req->flow_idx, MAX_FLOWS)) in hfi1_build_tid_rdma_write_resp()
4078 if (!CIRC_SPACE(req->setup_head, req->acked_tail, MAX_FLOWS)) in hfi1_rc_rcv_tid_rdma_write_resp()
4093 flow = &req->flows[req->setup_head]; in hfi1_rc_rcv_tid_rdma_write_resp()
4120 trace_hfi1_tid_flow_rcv_write_resp(qp, req->setup_head, flow); in hfi1_rc_rcv_tid_rdma_write_resp()
4151 req->acked_tail = req->setup_head; in hfi1_rc_rcv_tid_rdma_write_resp()
4155 req->setup_head = CIRC_NEXT(req->setup_head, MAX_FLOWS); in hfi1_rc_rcv_tid_rdma_write_resp()
4647 CIRC_CNT(rptr->setup_head, fidx, in hfi1_rc_rcv_tid_rdma_ack()
4919 CIRC_CNT(req->setup_head, flow_idx, in hfi1_rc_rcv_tid_rdma_resync()
5096 if (!CIRC_CNT(req->setup_head, req->clear_tail, in hfi1_make_tid_rdma_pkt()
5125 CIRC_PREV(req->setup_head, in hfi1_make_tid_rdma_pkt()