Lines Matching refs:READ_ONCE
267 return READ_ONCE(tcp_memory_pressure); in tcp_under_memory_pressure()
508 last_overflow = READ_ONCE(reuse->synq_overflow_ts); in tcp_synq_overflow()
516 last_overflow = READ_ONCE(tcp_sk(sk)->rx_opt.ts_recent_stamp); in tcp_synq_overflow()
532 last_overflow = READ_ONCE(reuse->synq_overflow_ts); in tcp_synq_no_recent_overflow()
539 last_overflow = READ_ONCE(tcp_sk(sk)->rx_opt.ts_recent_stamp); in tcp_synq_no_recent_overflow()
1396 if (!READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_slow_start_after_idle) || in tcp_slow_start_after_idle_check()
1412 int tcp_adv_win_scale = READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_adv_win_scale); in tcp_win_from_space()
1422 return tcp_win_from_space(sk, READ_ONCE(sk->sk_rcvbuf) - in tcp_space()
1423 READ_ONCE(sk->sk_backlog.len) - in tcp_space()
1429 return tcp_win_from_space(sk, READ_ONCE(sk->sk_rcvbuf)); in tcp_full_space()
1446 rcvbuf = READ_ONCE(sk->sk_rcvbuf); in tcp_rmem_pressure()
1467 val = READ_ONCE(tp->keepalive_intvl); in keepalive_intvl_when()
1469 return val ? : READ_ONCE(net->ipv4.sysctl_tcp_keepalive_intvl); in keepalive_intvl_when()
1478 val = READ_ONCE(tp->keepalive_time); in keepalive_time_when()
1480 return val ? : READ_ONCE(net->ipv4.sysctl_tcp_keepalive_time); in keepalive_time_when()
1491 val = READ_ONCE(tp->keepalive_probes); in keepalive_probes()
1493 return val ? : READ_ONCE(net->ipv4.sysctl_tcp_keepalive_probes); in keepalive_probes()
1507 READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_fin_timeout); in tcp_fin_time()
2004 val = READ_ONCE(tp->notsent_lowat); in tcp_notsent_lowat()
2006 return val ?: READ_ONCE(net->ipv4.sysctl_tcp_notsent_lowat); in tcp_notsent_lowat()
2016 u32 notsent_bytes = READ_ONCE(tp->write_seq) - in tcp_stream_memory_free()
2017 READ_ONCE(tp->snd_nxt); in tcp_stream_memory_free()