Lines Matching refs:ga
277 static u8 __tipc_build_gap_ack_blks(struct tipc_gap_ack_blks *ga,
282 struct tipc_gap_ack_blks *ga,
1437 u16 tipc_get_gap_ack_blks(struct tipc_gap_ack_blks **ga, struct tipc_link *l, in tipc_get_gap_ack_blks() argument
1464 *ga = p; in tipc_get_gap_ack_blks()
1468 static u8 __tipc_build_gap_ack_blks(struct tipc_gap_ack_blks *ga, in __tipc_build_gap_ack_blks() argument
1471 struct tipc_gap_ack *gacks = &ga->gacks[start_index]; in __tipc_build_gap_ack_blks()
1518 struct tipc_gap_ack_blks *ga; in tipc_build_gap_ack_blks() local
1521 ga = (struct tipc_gap_ack_blks *)msg_data(hdr); in tipc_build_gap_ack_blks()
1527 ga->bgack_cnt = __tipc_build_gap_ack_blks(ga, bcl, 0); in tipc_build_gap_ack_blks()
1531 ga->ugack_cnt = (msg_seq_gap(hdr)) ? in tipc_build_gap_ack_blks()
1532 __tipc_build_gap_ack_blks(ga, l, ga->bgack_cnt) : 0; in tipc_build_gap_ack_blks()
1535 len = struct_size(ga, gacks, size_add(ga->bgack_cnt, ga->ugack_cnt)); in tipc_build_gap_ack_blks()
1536 ga->len = htons(len); in tipc_build_gap_ack_blks()
1557 struct tipc_gap_ack_blks *ga, in tipc_link_advance_transmq() argument
1578 if (ga && is_uc) { in tipc_link_advance_transmq()
1580 gack_cnt = ga->ugack_cnt; in tipc_link_advance_transmq()
1581 gacks = &ga->gacks[ga->bgack_cnt]; in tipc_link_advance_transmq()
1582 } else if (ga) { in tipc_link_advance_transmq()
1584 this_ga = kmemdup(ga, struct_size(ga, gacks, ga->bgack_cnt), in tipc_link_advance_transmq()
2200 struct tipc_gap_ack_blks *ga = NULL; in tipc_link_proto_rcv() local
2291 glen = tipc_get_gap_ack_blks(&ga, l, hdr, true); in tipc_link_proto_rcv()
2333 released = tipc_link_advance_transmq(l, l, ack, gap, ga, xmitq, in tipc_link_proto_rcv()
2481 struct tipc_gap_ack_blks *ga, in tipc_link_bc_ack_rcv() argument
2497 if (less(acked, r->acked) || (acked == r->acked && !gap && !ga)) in tipc_link_bc_ack_rcv()
2501 tipc_link_advance_transmq(l, r, acked, gap, ga, retrq, &unused, &rc); in tipc_link_bc_ack_rcv()