Lines Matching defs:flows
47 /* Reserved generation value to set to unused flows for kernel contexts */
752 u32 generation = rcd->flows[flow_idx].generation;
770 rcd->flows[flow_idx].generation =
771 kern_flow_generation_next(rcd->flows[flow_idx].generation);
799 rcd->flows[fs->index].generation = fs->generation;
848 rcd->flows[i].generation = mask_generation(prandom_u32());
1429 * (6) Reserves and programs HW flows.
1436 * invocation of function call. With flow = &req->flows[req->flow_idx],
1458 struct tid_rdma_flow *flow = &req->flows[req->setup_head];
1549 struct tid_rdma_flow *flow = &req->flows[req->clear_tail];
1605 kfree(req->flows);
1606 req->flows = NULL;
1627 struct tid_rdma_flow *flows;
1630 if (likely(req->flows))
1632 flows = kmalloc_node(MAX_FLOWS * sizeof(*flows), gfp,
1634 if (!flows)
1638 flows[i].req = req;
1639 flows[i].npagesets = 0;
1640 flows[i].pagesets[0].mapped = 0;
1641 flows[i].resync_npkts = 0;
1643 req->flows = flows;
1684 flow = &req->flows[tail];
1701 struct tid_rdma_flow *flow = &req->flows[req->flow_idx];
1857 flow = &req->flows[req->flow_idx];
1896 flow = &req->flows[req->setup_head];
2120 fstate = &req->flows[req->clear_tail].flow_state;
2344 struct tid_rdma_flow *flow = &req->flows[req->clear_tail];
2467 flow = &req->flows[req->clear_tail];
2631 flow = &req->flows[req->clear_tail];
2749 flow = &req->flows[req->clear_tail];
2937 flow = &req->flows[req->clear_tail];
3061 flow = &req->flows[fidx];
3127 /* Reset all the flows that we are going to resend */
3133 req->flows[fidx].sent = 0;
3134 req->flows[fidx].pkt = 0;
3135 req->flows[fidx].tid_idx = 0;
3136 req->flows[fidx].tid_offset = 0;
3137 req->flows[fidx].resync_npkts = 0;
3398 * flows are released and recycled at each sync point.
3840 flow = &req->flows[req->flow_idx];
4094 flow = &req->flows[req->setup_head];
4198 struct tid_rdma_flow *flow = &req->flows[req->clear_tail];
4283 flow = &req->flows[req->clear_tail];
4337 rcd->flows[flow->idx].psn = psn & HFI1_KDETH_BTH_SEQ_MASK;
4421 struct tid_rdma_flow *flow = &req->flows[iflow];
4533 flow = &req->flows[req->acked_tail];
4563 flow = &req->flows[req->acked_tail];
4625 flow = &req->flows[req->acked_tail];
4663 flow = &rptr->flows[fidx];
4709 if (!req->flows)
4711 flow = &req->flows[req->acked_tail];
4838 struct tid_rdma_flow *flow = &req->flows[fidx];
4900 rcd->flows[fs->index].generation = generation;
4935 flow = &req->flows[flow_idx];
5234 * and the clear_tail is the number of flows that are
5277 full_flow_psn(&req->flows[flow],
5278 req->flows[flow].flow_state.lpsn)) > 0))) {