Lines Matching defs:new

108  * batadv_tp_cwnd() - compute the new cwnd size
110 * @increment: the value to add to base to get the new size
113 * Return the new cwnd size and ensure it does not exceed the Advertised
117 * Return: new congestion window size in bytes
169 * batadv_tp_update_rto() - calculate new retransmission timeout
171 * @new_rtt: new roundtrip time in msec
186 tp_vars->srtt += m; /* rtt = 7/8 srtt + 1/8 new */
191 tp_vars->rttvar += m; /* mdev ~= 3/4 rttvar + 1/4 new */
512 "Meter: RTO fired during test towards %pM! cwnd=%u new ss_thr=%u, resetting last_sent to %u\n",
665 /* update RTO with the new sampled RTT, if any */
670 /* ACK for new data... reset the timer */
901 * batadv_tp_start_kthread() - start new thread which manages the tp meter
933 * batadv_tp_start() - start a new tp meter session
1053 /* don't return reference to new tp_vars */
1233 struct batadv_tp_unacked *un, *new;
1237 new = kmalloc(sizeof(*new), GFP_ATOMIC);
1238 if (unlikely(!new))
1243 new->seqno = ntohl(icmp->seqno);
1245 new->len = payload_len;
1248 /* if the list is empty immediately attach this new object */
1250 list_add(&new->list, &tp_vars->unacked_list);
1263 if (new->seqno == un->seqno) {
1264 if (new->len > un->len)
1265 un->len = new->len;
1266 kfree(new);
1272 if (batadv_seq_before(new->seqno, un->seqno))
1275 /* as soon as an entry having a bigger seqno is found, the new
1279 list_add_tail(&new->list, &un->list);
1286 list_add(&new->list, &tp_vars->unacked_list);
1328 * batadv_tp_init_recv() - return matching or create new receiver tp_vars