Lines Matching refs:clear_tail

1463 	u16 clear_tail = req->clear_tail;  in hfi1_kern_exp_rcv_setup()  local
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()
1549 struct tid_rdma_flow *flow = &req->flows[req->clear_tail]; in hfi1_kern_exp_rcv_clear()
1557 if (!CIRC_CNT(req->setup_head, req->clear_tail, MAX_FLOWS)) in hfi1_kern_exp_rcv_clear()
1573 req->clear_tail = (req->clear_tail + 1) & (MAX_FLOWS - 1); 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()
1681 tail = req->clear_tail; in find_flow_ib()
1929 req->clear_tail = req->setup_head; in tid_rdma_rcv_read_request()
2111 if (req->clear_tail == req->setup_head) in tid_rdma_rcv_error()
2119 if (CIRC_CNT(req->flow_idx, req->clear_tail, MAX_FLOWS)) { in tid_rdma_rcv_error()
2120 fstate = &req->flows[req->clear_tail].flow_state; in tid_rdma_rcv_error()
2122 CIRC_CNT(req->flow_idx, req->clear_tail, in tid_rdma_rcv_error()
2125 CIRC_ADD(req->clear_tail, in tid_rdma_rcv_error()
2167 req->clear_tail, in tid_rdma_rcv_error()
2169 req->flow_idx = req->clear_tail; in tid_rdma_rcv_error()
2344 struct tid_rdma_flow *flow = &req->flows[req->clear_tail]; in hfi1_build_tid_rdma_read_resp()
2359 trace_hfi1_tid_flow_build_read_resp(qp, req->clear_tail, flow); in hfi1_build_tid_rdma_read_resp()
2391 req->clear_tail = (req->clear_tail + 1) & in hfi1_build_tid_rdma_read_resp()
2467 flow = &req->flows[req->clear_tail]; in hfi1_rc_rcv_tid_rdma_read_resp()
2524 trace_hfi1_tid_flow_rcv_read_resp(qp, req->clear_tail, flow); in hfi1_rc_rcv_tid_rdma_read_resp()
2631 flow = &req->flows[req->clear_tail]; in restart_tid_rdma_read_req()
2749 flow = &req->flows[req->clear_tail]; in handle_read_kdeth_eflags()
2751 req->clear_tail, in handle_read_kdeth_eflags()
2937 flow = &req->flows[req->clear_tail]; in hfi1_handle_kdeth_eflags()
2943 trace_hfi1_tid_flow_handle_kdeth_eflags(qp, req->clear_tail, flow); in hfi1_handle_kdeth_eflags()
3120 req->clear_tail = fidx; in hfi1_tid_rdma_restart_req()
3149 req->clear_tail = fidx; in hfi1_tid_rdma_restart_req()
3729 (req->setup_head != req->clear_tail || in hfi1_rc_rcv_tid_rdma_write_req()
3730 req->clear_tail != req->acked_tail)) in hfi1_rc_rcv_tid_rdma_write_req()
3759 req->clear_tail = req->setup_head; in hfi1_rc_rcv_tid_rdma_write_req()
4197 struct tid_rdma_flow *flow = &req->flows[req->clear_tail]; in hfi1_build_tid_rdma_packet()
4218 trace_hfi1_tid_flow_build_write_data(qp, req->clear_tail, flow); in hfi1_build_tid_rdma_packet()
4282 flow = &req->flows[req->clear_tail]; in hfi1_rc_rcv_tid_rdma_write_data()
4918 for (flow_idx = req->clear_tail; in hfi1_rc_rcv_tid_rdma_resync()
5093 req->clear_tail = CIRC_NEXT(req->clear_tail, in hfi1_make_tid_rdma_pkt()
5096 if (!CIRC_CNT(req->setup_head, req->clear_tail, in hfi1_make_tid_rdma_pkt()
5229 CIRC_CNT(req->clear_tail, req->acked_tail, in make_tid_rdma_ack()
5232 req->acked_tail = req->clear_tail; in make_tid_rdma_ack()