Lines Matching defs:rx_credits
464 int rx_credits;
469 rx_credits = sbspace(sb) > tp->rcv_wnd ? sbspace(sb) - tp->rcv_wnd : 0;
470 if (rx_credits > 0 &&
471 (tp->rcv_wnd <= 32 * 1024 || rx_credits >= 64 * 1024 ||
472 (rx_credits >= 16 * 1024 && tp->rcv_wnd <= 128 * 1024) ||
474 rx_credits = send_rx_credits(sc, toep, rx_credits);
475 tp->rcv_wnd += rx_credits;
476 tp->rcv_adv += rx_credits;
1523 int len, rx_credits;
1655 rx_credits = sbspace(sb) > tp->rcv_wnd ? sbspace(sb) - tp->rcv_wnd : 0;
1656 if (rx_credits > 0 && sbused(sb) + tp->rcv_wnd < sb->sb_lowat) {
1657 rx_credits = send_rx_credits(sc, toep, rx_credits);
1658 tp->rcv_wnd += rx_credits;
1659 tp->rcv_adv += rx_credits;