Home
last modified time | relevance | path

Searched refs:sk_lingertime (Results 1 – 16 of 16) sorted by relevance

/linux/net/smc/
H A Dsmc_close.c206 sk->sk_lingertime : SMC_MAX_STREAM_WAIT_TIMEOUT; in smc_close_active()
457 sk->sk_lingertime : SMC_MAX_STREAM_WAIT_TIMEOUT; in smc_close_shutdown_write()
H A Daf_smc.c1863 if (!sk->sk_lingertime) in smc_close_non_accepted()
1865 WRITE_ONCE(sk->sk_lingertime, SMC_MAX_STREAM_WAIT_TIMEOUT); in smc_close_non_accepted()
/linux/net/bluetooth/
H A Dsco.c1370 if (sock_flag(sk, SOCK_LINGER) && sk->sk_lingertime && in sco_sock_shutdown()
1373 sk->sk_lingertime); in sco_sock_shutdown()
1394 if (sock_flag(sk, SOCK_LINGER) && READ_ONCE(sk->sk_lingertime) && in sco_sock_release()
1397 err = bt_sock_wait_state(sk, BT_CLOSED, sk->sk_lingertime); in sco_sock_release()
H A Diso.c2119 if (sock_flag(sk, SOCK_LINGER) && sk->sk_lingertime && in iso_sock_shutdown()
2121 err = bt_sock_wait_state(sk, BT_CLOSED, sk->sk_lingertime); in iso_sock_shutdown()
2142 if (sock_flag(sk, SOCK_LINGER) && READ_ONCE(sk->sk_lingertime) && in iso_sock_release()
2145 err = bt_sock_wait_state(sk, BT_CLOSED, sk->sk_lingertime); in iso_sock_release()
H A Dl2cap_sock.c1486 if (sock_flag(sk, SOCK_LINGER) && sk->sk_lingertime && in l2cap_sock_shutdown()
1489 sk->sk_lingertime); in l2cap_sock_shutdown()
/linux/net/mptcp/
H A Dsockopt.c288 ssk->sk_lingertime = sk->sk_lingertime; in mptcp_setsockopt_sol_socket_linger()
1578 ssk->sk_lingertime = sk->sk_lingertime; in sync_socket_options()
H A Dprotocol.c3478 (sock_flag(sk, SOCK_LINGER) && !sk->sk_lingertime)) { in __mptcp_close()
/linux/net/bluetooth/rfcomm/
H A Dsock.c930 if (sock_flag(sk, SOCK_LINGER) && sk->sk_lingertime && in rfcomm_sock_shutdown()
932 err = bt_sock_wait_state(sk, BT_CLOSED, sk->sk_lingertime); in rfcomm_sock_shutdown()
/linux/net/sched/
H A Dem_meta.c505 dst->value = READ_ONCE(sk->sk_lingertime) / HZ; in META_COLLECTOR()
/linux/net/core/
H A Dsock.c806 WRITE_ONCE(sk->sk_lingertime, 0); in sock_no_linger()
1419 WRITE_ONCE(sk->sk_lingertime, MAX_SCHEDULE_TIMEOUT); in sk_setsockopt()
1421 WRITE_ONCE(sk->sk_lingertime, t_sec * HZ); in sk_setsockopt()
1825 v.ling.l_linger = READ_ONCE(sk->sk_lingertime) / HZ; in sk_getsockopt()
/linux/net/iucv/
H A Daf_iucv.c424 if (sock_flag(sk, SOCK_LINGER) && sk->sk_lingertime) in iucv_sock_close()
425 timeo = sk->sk_lingertime; in iucv_sock_close()
/linux/net/dccp/
H A Dproto.c
/linux/net/vmw_vsock/
H A Daf_vsock.c1209 timeout = sk->sk_lingertime; in vsock_linger()
/linux/include/net/
H A Dsock.h540 unsigned long sk_lingertime; member
/linux/net/ipv4/
H A Dtcp.c3185 } else if (sock_flag(sk, SOCK_LINGER) && !sk->sk_lingertime) { in __tcp_close()
/linux/net/sctp/
H A Dsocket.c1523 (sock_flag(sk, SOCK_LINGER) && !sk->sk_lingertime)) { in sctp_close()