Lines Matching refs:num_packets
196 static void dccp_ackvec_add_new(struct dccp_ackvec *av, u32 num_packets, in dccp_ackvec_add_new() argument
199 u32 num_cells = num_packets; in dccp_ackvec_add_new()
201 if (num_packets > DCCPAV_BURST_THRESH) { in dccp_ackvec_add_new()
202 u32 lost_packets = num_packets - 1; in dccp_ackvec_add_new()
217 for (num_packets = num_cells = 1; lost_packets; ++num_cells) { in dccp_ackvec_add_new()
232 av->av_buf_head = __ackvec_idx_sub(av->av_buf_head, num_packets); in dccp_ackvec_add_new()
239 if (num_packets > 1) in dccp_ackvec_add_new()
240 dccp_ackvec_reserve_seats(av, num_packets - 1); in dccp_ackvec_add_new()
258 s64 num_packets = dccp_delta_seqno(av->av_buf_ackno, seqno); in dccp_ackvec_input() local
261 if (num_packets == 1 && in dccp_ackvec_input()
268 } else if (num_packets > 0) { in dccp_ackvec_input()
269 dccp_ackvec_add_new(av, num_packets, seqno, state); in dccp_ackvec_input()
271 dccp_ackvec_update_old(av, num_packets, seqno, state); in dccp_ackvec_input()