Lines Matching refs:free_space
3093 int free_space = tcp_space(sk); in __tcp_select_window() local
3098 mptcp_space(sk, &free_space, &allowed_space); in __tcp_select_window()
3116 if (free_space < (full_space >> 1)) { in __tcp_select_window()
3125 free_space = round_down(free_space, 1 << tp->rx_opt.rcv_wscale); in __tcp_select_window()
3134 if (free_space < (allowed_space >> 4) || free_space < mss) in __tcp_select_window()
3138 if (free_space > tp->rcv_ssthresh) in __tcp_select_window()
3139 free_space = tp->rcv_ssthresh; in __tcp_select_window()
3145 window = free_space; in __tcp_select_window()
3162 if (window <= free_space - mss || window > free_space) in __tcp_select_window()
3163 window = rounddown(free_space, mss); in __tcp_select_window()
3165 free_space > window + (full_space >> 1)) in __tcp_select_window()
3166 window = free_space; in __tcp_select_window()
3173 free_space = round_down(free_space, 1 << tp->rx_opt.rcv_wscale); in __tcp_select_window()
3175 if (free_space < (full_space >> 1)) { in __tcp_select_window()
3182 if (free_space < (allowed_space >> 4) || free_space < mss || in __tcp_select_window()
3183 free_space < (1 << tp->rx_opt.rcv_wscale)) in __tcp_select_window()
3187 if (free_space > tp->rcv_ssthresh) { in __tcp_select_window()
3188 free_space = tp->rcv_ssthresh; in __tcp_select_window()
3196 free_space = ALIGN(free_space, (1 << tp->rx_opt.rcv_wscale)); in __tcp_select_window()
3199 return free_space; in __tcp_select_window()