Home
last modified time | relevance | path

Searched refs:scaling_ratio (Results 1 – 9 of 9) sorted by relevance

/linux/include/net/
H A Dtcp.h1523 static inline int __tcp_win_from_space(u8 scaling_ratio, int space) in __tcp_win_from_space() argument
1525 s64 scaled_space = (s64)space * scaling_ratio; in __tcp_win_from_space()
1532 return __tcp_win_from_space(tcp_sk(sk)->scaling_ratio, space); in tcp_win_from_space()
1536 static inline int __tcp_space_from_win(u8 scaling_ratio, int win) in __tcp_space_from_win() argument
1540 do_div(val, scaling_ratio); in __tcp_space_from_win()
1546 return __tcp_space_from_win(tcp_sk(sk)->scaling_ratio, win); in tcp_space_from_win()
1556 tcp_sk(sk)->scaling_ratio = TCP_DEFAULT_SCALING_RATIO; in tcp_scaling_ratio_init()
/linux/net/mptcp/
H A Dprotocol.h342 u8 scaling_ratio; member
392 return __tcp_win_from_space(mptcp_sk(sk)->scaling_ratio, space); in mptcp_win_from_space()
397 return __tcp_space_from_win(mptcp_sk(sk)->scaling_ratio, win); in mptcp_space_from_win()
H A Dprotocol.c79 msk->scaling_ratio = tcp_sk(ssock->sk)->scaling_ratio; in __mptcp_socket_create()
2006 u8 scaling_ratio = U8_MAX; in mptcp_rcv_space_adjust() local
2040 scaling_ratio = min(tp->scaling_ratio, scaling_ratio); in mptcp_rcv_space_adjust()
2044 msk->scaling_ratio = scaling_ratio; in mptcp_rcv_space_adjust()
2822 msk->scaling_ratio = TCP_DEFAULT_SCALING_RATIO; in __mptcp_init_sock()
/linux/Documentation/networking/net_cachelines/
H A Dtcp_sock.rst41 u8 scaling_ratio read_mostly read_mostly tcp_w…
/linux/include/linux/
H A Dtcp.h224 u8 scaling_ratio; /* see tcp_win_from_space() */ member
/linux/drivers/staging/media/ipu3/
H A Dipu3-abi.h1003 u32 scaling_ratio; member
H A Dipu3-css-params.c961 scaler->scaling_ratio = stripe_params[s].phase_step; in imgu_css_osys_calc()
/linux/net/ipv4/
H A Dtcp_input.c241 u8 old_ratio = tcp_sk(sk)->scaling_ratio; in tcp_measure_rcv_mss()
244 tcp_sk(sk)->scaling_ratio = val ? val : 1; in tcp_measure_rcv_mss()
246 if (old_ratio != tcp_sk(sk)->scaling_ratio) in tcp_measure_rcv_mss()
H A Dtcp.c4978 CACHELINE_ASSERT_GROUP_MEMBER(struct tcp_sock, tcp_sock_read_txrx, scaling_ratio); in tcp_struct_check()