Lines Matching defs:new

109  * batadv_tp_cwnd() - compute the new cwnd size
111 * @increment: the value to add to base to get the new size
114 * Return the new cwnd size and ensure it does not exceed the Advertised
118 * Return: new congestion window size in bytes
170 * batadv_tp_update_rto() - calculate new retransmission timeout
172 * @new_rtt: new roundtrip time in msec
187 tp_vars->srtt += m; /* rtt = 7/8 srtt + 1/8 new */
192 tp_vars->rttvar += m; /* mdev ~= 3/4 rttvar + 1/4 new */
513 "Meter: RTO fired during test towards %pM! cwnd=%u new ss_thr=%u, resetting last_sent to %u\n",
666 /* update RTO with the new sampled RTT, if any */
671 /* ACK for new data... reset the timer */
897 * batadv_tp_start_kthread() - start new thread which manages the tp meter
929 * batadv_tp_start() - start a new tp meter session
1049 /* don't return reference to new tp_vars */
1227 struct batadv_tp_unacked *un, *new;
1231 new = kmalloc(sizeof(*new), GFP_ATOMIC);
1232 if (unlikely(!new))
1237 new->seqno = ntohl(icmp->seqno);
1239 new->len = payload_len;
1242 /* if the list is empty immediately attach this new object */
1244 list_add(&new->list, &tp_vars->unacked_list);
1257 if (new->seqno == un->seqno) {
1258 if (new->len > un->len)
1259 un->len = new->len;
1260 kfree(new);
1266 if (batadv_seq_before(new->seqno, un->seqno))
1269 /* as soon as an entry having a bigger seqno is found, the new
1273 list_add_tail(&new->list, &un->list);
1280 list_add(&new->list, &tp_vars->unacked_list);
1322 * batadv_tp_init_recv() - return matching or create new receiver tp_vars