Lines Matching refs:window_clamp
207 __u32 *rcv_wnd, __u32 *window_clamp, in tcp_select_initial_window() argument
214 if (*window_clamp == 0) in tcp_select_initial_window()
215 (*window_clamp) = (U16_MAX << TCP_MAX_WSCALE); in tcp_select_initial_window()
216 space = min(*window_clamp, space); in tcp_select_initial_window()
243 space = min_t(u32, space, *window_clamp); in tcp_select_initial_window()
248 (*window_clamp) = min_t(__u32, U16_MAX << (*rcv_wscale), *window_clamp); in tcp_select_initial_window()
2967 full_space = min_t(int, tp->window_clamp, allowed_space); in __tcp_select_window()
3679 if (!tp->window_clamp) in tcp_connect_init()
3680 tp->window_clamp = dst_metric(dst, RTAX_WINDOW); in tcp_connect_init()
3687 (tp->window_clamp > tcp_full_space(sk) || tp->window_clamp == 0)) in tcp_connect_init()
3688 tp->window_clamp = tcp_full_space(sk); in tcp_connect_init()
3697 &tp->window_clamp, in tcp_connect_init()