Lines Matching refs:flows

47 /* Reserved generation value to set to unused flows for kernel contexts */
757 u32 generation = rcd->flows[flow_idx].generation;
775 rcd->flows[flow_idx].generation =
776 kern_flow_generation_next(rcd->flows[flow_idx].generation);
804 rcd->flows[fs->index].generation = fs->generation;
853 rcd->flows[i].generation = mask_generation(get_random_u32());
1436 * (6) Reserves and programs HW flows.
1443 * invocation of function call. With flow = &req->flows[req->flow_idx],
1465 struct tid_rdma_flow *flow = &req->flows[req->setup_head];
1556 struct tid_rdma_flow *flow = &req->flows[req->clear_tail];
1612 kfree(req->flows);
1613 req->flows = NULL;
1634 struct tid_rdma_flow *flows;
1637 if (likely(req->flows))
1639 flows = kmalloc_node(MAX_FLOWS * sizeof(*flows), gfp,
1641 if (!flows)
1645 flows[i].req = req;
1646 flows[i].npagesets = 0;
1647 flows[i].pagesets[0].mapped = 0;
1648 flows[i].resync_npkts = 0;
1650 req->flows = flows;
1691 flow = &req->flows[tail];
1708 struct tid_rdma_flow *flow = &req->flows[req->flow_idx];
1864 flow = &req->flows[req->flow_idx];
1903 flow = &req->flows[req->setup_head];
2127 fstate = &req->flows[req->clear_tail].flow_state;
2351 struct tid_rdma_flow *flow = &req->flows[req->clear_tail];
2474 flow = &req->flows[req->clear_tail];
2638 flow = &req->flows[req->clear_tail];
2756 flow = &req->flows[req->clear_tail];
2945 flow = &req->flows[req->clear_tail];
3070 flow = &req->flows[fidx];
3136 /* Reset all the flows that we are going to resend */
3142 req->flows[fidx].sent = 0;
3143 req->flows[fidx].pkt = 0;
3144 req->flows[fidx].tid_idx = 0;
3145 req->flows[fidx].tid_offset = 0;
3146 req->flows[fidx].resync_npkts = 0;
3410 * flows are released and recycled at each sync point.
3852 flow = &req->flows[req->flow_idx];
4106 flow = &req->flows[req->setup_head];
4210 struct tid_rdma_flow *flow = &req->flows[req->clear_tail];
4295 flow = &req->flows[req->clear_tail];
4349 rcd->flows[flow->idx].psn = psn & HFI1_KDETH_BTH_SEQ_MASK;
4433 struct tid_rdma_flow *flow = &req->flows[iflow];
4545 flow = &req->flows[req->acked_tail];
4575 flow = &req->flows[req->acked_tail];
4637 flow = &req->flows[req->acked_tail];
4675 flow = &rptr->flows[fidx];
4721 if (!req->flows)
4723 flow = &req->flows[req->acked_tail];
4851 struct tid_rdma_flow *flow = &req->flows[fidx];
4913 rcd->flows[fs->index].generation = generation;
4948 flow = &req->flows[flow_idx];
5247 * and the clear_tail is the number of flows that are
5290 full_flow_psn(&req->flows[flow],
5291 req->flows[flow].flow_state.lpsn)) > 0))) {