Lines Matching defs:r_start

686 		    (rsm->r_start == bbr->r_ctl.rc_last_tlp_seq)) {
694 if (rsm->r_start != bbr->r_ctl.rc_last_tlp_seq) {
700 bbr->r_ctl.rc_last_tlp_seq = rsm->r_start;
2606 log.u_bbr.flex2 = rsm->r_start;
3973 bbr_log_type_enter_rec(bbr, rsm->r_start);
4162 len = rsm->r_end - rsm->r_start;
4326 bbr->r_ctl.rc_lost += rsm->r_end - rsm->r_start;
4327 bbr->r_ctl.rc_lost_bytes += rsm->r_end - rsm->r_start;
4331 if ((rsm->r_end - rsm->r_start) == 0)
4385 nrsm->r_start = start;
4410 rsm->r_end = nrsm->r_start;
4415 ((rsm->r_end - rsm->r_start) <= idx)) {
4420 if ((nrsm->r_end - nrsm->r_start) <= idx) {
4462 if ((r_rsm->r_start == end) ||
4463 (SEQ_LT(start, r_rsm->r_start) &&
4464 SEQ_GT(end, r_rsm->r_start))) {
4513 bbr->r_ctl.rc_lost_bytes -= r_rsm->r_end - r_rsm->r_start;
4630 if ((rsm->r_end - rsm->r_start) > maxseg) {
4657 if (rsm->r_start == bbr->r_ctl.rc_last_tlp_seq) {
4661 bbr->r_ctl.rc_last_tlp_seq = rsm->r_start;
4680 if (rsm && (rsm->r_start == bbr->r_ctl.rc_last_tlp_seq) &&
4890 (rsm->r_start == tp->snd_una)) {
4899 bbr->r_ctl.rc_lost += rsm->r_end - rsm->r_start;
4900 bbr->r_ctl.rc_lost_bytes += rsm->r_end - rsm->r_start;
5317 bbr->r_ctl.rc_lost_bytes -= rsm->r_end - rsm->r_start;
5331 bbr->r_ctl.rc_holes_rxt += (rsm->r_end - rsm->r_start);
5332 rsm->r_rtr_bytes += (rsm->r_end - rsm->r_start);
5356 bbr->r_ctl.rc_sacked -= (rsm->r_end - rsm->r_start);
5398 * We (re-)transmitted starting at rsm->r_start for some length
5406 c_end = rsm->r_start + len;
5420 act_len = rsm->r_end - rsm->r_start;
5889 * Notes about r_start and r_end. Lets consider a send starting at
5890 * sequence 1 for 10 bytes. In such an example the r_start would be
5891 * 1 (starting sequence) but the r_end would be r_start+len i.e. 11.
5958 rsm->r_start = seq_out;
5959 rsm->r_end = rsm->r_start + len;
6002 if (hintrsm && (hintrsm->r_start == seq_out)) {
6012 if ((rsm) && (rsm->r_start == seq_out)) {
6026 if (rsm->r_start == seq_out) {
6035 if (SEQ_GEQ(seq_out, rsm->r_start) && SEQ_LT(seq_out, rsm->r_end)) {
6076 rsm, rsm->r_start, rsm->r_end);
6105 tcp_bbr_xmit_timer(struct tcp_bbr *bbr, uint32_t rtt_usecs, uint32_t rsm_send_time, uint32_t r_start, uint32_t tsin)
6652 bbr->r_ctl.rc_delivered += (rsm->r_end - rsm->r_start);
6684 tcp_bbr_xmit_timer(bbr, rtt, rsm_send_time, rsm->r_start, tsin);
6705 match, rsm->r_start, rsm->r_flags);
6937 bbr->r_ctl.rc_lost += nrsm->r_end - nrsm->r_start;
6938 bbr->r_ctl.rc_lost_bytes += nrsm->r_end - nrsm->r_start;
6966 if (rsm && SEQ_LT(start, rsm->r_start)) {
6969 if (SEQ_GEQ(start, rsm->r_start) &&
6982 if (SEQ_GEQ(start, rsm->r_start) &&
7024 if (rsm->r_start != start) {
7057 changed += (rsm->r_end - rsm->r_start);
7058 bbr->r_ctl.rc_sacked += (rsm->r_end - rsm->r_start);
7061 bbr->r_ctl.rc_lost_bytes -= rsm->r_end - rsm->r_start;
7068 bbr->r_ctl.rc_lost -= rsm->r_end - rsm->r_start;
7123 changed += (rsm->r_end - rsm->r_start);
7124 bbr->r_ctl.rc_sacked += (rsm->r_end - rsm->r_start);
7128 bbr->r_ctl.rc_lost_bytes -= rsm->r_end - rsm->r_start;
7134 bbr->r_ctl.rc_lost -= rsm->r_end - rsm->r_start;
7198 bbr->r_ctl.rc_sacked -= (rsm->r_end - rsm->r_start);
7207 bbr->r_ctl.rc_lost -= rsm->r_end - rsm->r_start;
7208 bbr->r_ctl.rc_lost_bytes -= rsm->r_end - rsm->r_start;
7254 if ((rsm->r_end - rsm->r_start) <= 1) {
7273 rsm->r_start++;
7317 if (rsm && SEQ_GT(th_ack, rsm->r_start)) {
7318 changed = th_ack - rsm->r_start;
7371 if (SEQ_LT(th_ack, rsm->r_start)) {
7374 printf("Rack map starts at r_start:%u for th_ack:%u huh? ts:%d rs:%d bbr:%p\n",
7375 rsm->r_start,
7381 } else if (th_ack == rsm->r_start) {
7401 p_acked += (rsm->r_end - rsm->r_start);
7402 bbr->r_ctl.rc_sacked -= (rsm->r_end - rsm->r_start);
7408 bbr->r_ctl.rc_lost_bytes -= rsm->r_end - rsm->r_start;
7419 bbr->r_ctl.rc_lost -= rsm->r_end - rsm->r_start;
7454 p_acked += (rsm->r_end - rsm->r_start);
7455 bbr->r_ctl.rc_sacked -= (th_ack - rsm->r_start);
7475 bbr->r_ctl.rc_lost_bytes -= th_ack - rsm->r_start;
7481 rsm->r_start = th_ack;
7485 if (rsm && (rsm->r_flags & BBR_ACKED) && (th_ack == rsm->r_start)) {
7495 * rsm->r_start in case we get an old ack where th_ack is
8029 if (SEQ_GEQ(max_seq, rsm->r_start) &&
8048 if ((max_seq != rsm->r_start) &&
8053 res1 = max_seq - rsm->r_start;
8065 if (max_seq == rsm->r_start) {
10097 rsm->r_start = tp->snd_una;
12157 if (SEQ_LT(rsm->r_start, tp->snd_una)) {
12160 tp, bbr, rsm, rsm->r_start, tp->snd_una);
12173 rsm->r_start++;
12174 if (rsm->r_start == rsm->r_end) {
12180 len = rsm->r_end - rsm->r_start;
12189 len = rsm->r_end - rsm->r_start;
12195 sb_offset = rsm->r_start - tp->snd_una;
12215 len = rsm->r_end - rsm->r_start;
12219 if (SEQ_GT(tp->snd_una, rsm->r_start)) {
12221 panic("tp:%p bbc:%p snd_una:%u rsm:%p r_start:%u",
12222 tp, bbr, tp->snd_una, rsm, rsm->r_start);
12229 sb_offset = rsm->r_start - tp->snd_una;
12247 if (rsm && SEQ_LT(rsm->r_start, tp->snd_una)) {
12350 len = rsm->r_end - rsm->r_start;
12366 sb_offset = rsm->r_start - tp->snd_una;
13045 if (SEQ_LT(rsm->r_start, tp->snd_una)) {
13047 rsm, tp, bbr, rsm->r_start, tp->snd_una);
13124 if (rsm->r_start != tp->snd_una) {
13134 len = rsm->r_end - rsm->r_start;
13161 tp->snd_una, rsm->r_flags, rsm->r_start,
13345 th->th_seq = htonl(rsm->r_start);
13346 bbr_seq = rsm->r_start;
14068 if ((rsm->r_end - rsm->r_start) > maxseg) {
14076 bbr->r_ctl.rc_lost_bytes += rsm->r_end - rsm->r_start;
14077 bbr->r_ctl.rc_lost += rsm->r_end - rsm->r_start;