Lines Matching refs:setup_head

1183 		trace_hfi1_tid_flow_alloc(flow->req->qp, flow->req->setup_head,  in kern_get_phys_blocks()
1416 trace_hfi1_tid_flow_alloc(flow->req->qp, flow->req->setup_head, flow); in kern_program_rcvarray()
1465 struct tid_rdma_flow *flow = &req->flows[req->setup_head]; in hfi1_kern_exp_rcv_setup()
1479 if (!CIRC_SPACE(req->setup_head, clear_tail, MAX_FLOWS) || in hfi1_kern_exp_rcv_setup()
1480 CIRC_CNT(req->setup_head, clear_tail, MAX_FLOWS) >= in hfi1_kern_exp_rcv_setup()
1534 req->setup_head = (req->setup_head + 1) & (MAX_FLOWS - 1); in hfi1_kern_exp_rcv_setup()
1564 if (!CIRC_CNT(req->setup_head, req->clear_tail, MAX_FLOWS)) in hfi1_kern_exp_rcv_clear()
1600 while (CIRC_CNT(req->setup_head, req->clear_tail, MAX_FLOWS)) { in hfi1_kern_exp_rcv_clear_all()
1687 head = req->setup_head; in find_flow_ib()
1821 if (req->flow_idx == req->setup_head) { in hfi1_build_tid_rdma_read_req()
1903 flow = &req->flows[req->setup_head]; in tid_rdma_rcv_read_request()
1936 req->clear_tail = req->setup_head; in tid_rdma_rcv_read_request()
1954 trace_hfi1_tid_flow_rcv_read_req(qp, req->setup_head, flow); in tid_rdma_rcv_read_request()
1956 req->flow_idx = req->setup_head; in tid_rdma_rcv_read_request()
1959 req->setup_head = (req->setup_head + 1) & (MAX_FLOWS - 1); in tid_rdma_rcv_read_request()
2118 if (req->clear_tail == req->setup_head) in tid_rdma_rcv_error()
2144 if (CIRC_CNT(req->setup_head, req->flow_idx, in tid_rdma_rcv_error()
3140 for (; CIRC_CNT(req->setup_head, fidx, MAX_FLOWS); in hfi1_tid_rdma_restart_req()
3355 priv->tid_req.acked_tail = priv->tid_req.setup_head; in setup_tid_rdma_wqe()
3560 if (!CIRC_SPACE(req->setup_head, req->acked_tail, in hfi1_tid_write_alloc_resources()
3742 (req->setup_head != req->clear_tail || in hfi1_rc_rcv_tid_rdma_write_req()
3771 req->flow_idx = req->setup_head; in hfi1_rc_rcv_tid_rdma_write_req()
3772 req->clear_tail = req->setup_head; in hfi1_rc_rcv_tid_rdma_write_req()
3773 req->acked_tail = req->setup_head; in hfi1_rc_rcv_tid_rdma_write_req()
3882 if (!CIRC_CNT(req->setup_head, req->flow_idx, MAX_FLOWS)) in hfi1_build_tid_rdma_write_resp()
4091 if (!CIRC_SPACE(req->setup_head, req->acked_tail, MAX_FLOWS)) in hfi1_rc_rcv_tid_rdma_write_resp()
4106 flow = &req->flows[req->setup_head]; in hfi1_rc_rcv_tid_rdma_write_resp()
4133 trace_hfi1_tid_flow_rcv_write_resp(qp, req->setup_head, flow); in hfi1_rc_rcv_tid_rdma_write_resp()
4164 req->acked_tail = req->setup_head; in hfi1_rc_rcv_tid_rdma_write_resp()
4168 req->setup_head = CIRC_NEXT(req->setup_head, MAX_FLOWS); in hfi1_rc_rcv_tid_rdma_write_resp()
4669 CIRC_CNT(rptr->setup_head, fidx, in hfi1_rc_rcv_tid_rdma_ack()
4941 CIRC_CNT(req->setup_head, flow_idx, in hfi1_rc_rcv_tid_rdma_resync()
5118 if (!CIRC_CNT(req->setup_head, req->clear_tail, in hfi1_make_tid_rdma_pkt()
5147 CIRC_PREV(req->setup_head, in hfi1_make_tid_rdma_pkt()