Searched refs:sk_lingertime (Results 1 – 18 of 18) sorted by relevance
/Linux-v6.6/net/smc/ |
D | smc_close.c | 205 sk->sk_lingertime : SMC_MAX_STREAM_WAIT_TIMEOUT; in smc_close_active() 456 sk->sk_lingertime : SMC_MAX_STREAM_WAIT_TIMEOUT; in smc_close_shutdown_write()
|
D | af_smc.c | 1842 if (!sk->sk_lingertime) in smc_close_non_accepted() 1844 WRITE_ONCE(sk->sk_lingertime, SMC_MAX_STREAM_WAIT_TIMEOUT); in smc_close_non_accepted()
|
/Linux-v6.6/net/mptcp/ |
D | sockopt.c | 279 ssk->sk_lingertime = sk->sk_lingertime; in mptcp_setsockopt_sol_socket_linger() 1425 ssk->sk_lingertime = sk->sk_lingertime; in sync_socket_options()
|
D | protocol.c | 2411 ssk->sk_lingertime = 0; in __mptcp_close_ssk()
|
/Linux-v6.6/net/bluetooth/ |
D | sco.c | 1224 if (sock_flag(sk, SOCK_LINGER) && sk->sk_lingertime && in sco_sock_shutdown() 1227 sk->sk_lingertime); in sco_sock_shutdown() 1248 if (sock_flag(sk, SOCK_LINGER) && READ_ONCE(sk->sk_lingertime) && in sco_sock_release() 1251 err = bt_sock_wait_state(sk, BT_CLOSED, sk->sk_lingertime); in sco_sock_release()
|
D | iso.c | 1510 if (sock_flag(sk, SOCK_LINGER) && sk->sk_lingertime && in iso_sock_shutdown() 1512 err = bt_sock_wait_state(sk, BT_CLOSED, sk->sk_lingertime); in iso_sock_shutdown() 1533 if (sock_flag(sk, SOCK_LINGER) && READ_ONCE(sk->sk_lingertime) && in iso_sock_release() 1536 err = bt_sock_wait_state(sk, BT_CLOSED, sk->sk_lingertime); in iso_sock_release()
|
D | l2cap_sock.c | 1369 if (sock_flag(sk, SOCK_LINGER) && sk->sk_lingertime && in l2cap_sock_shutdown() 1372 sk->sk_lingertime); in l2cap_sock_shutdown()
|
/Linux-v6.6/net/bluetooth/rfcomm/ |
D | sock.c | 908 if (sock_flag(sk, SOCK_LINGER) && sk->sk_lingertime && in rfcomm_sock_shutdown() 910 err = bt_sock_wait_state(sk, BT_CLOSED, sk->sk_lingertime); in rfcomm_sock_shutdown()
|
/Linux-v6.6/net/core/ |
D | sock.c | 801 WRITE_ONCE(sk->sk_lingertime, 0); in sock_no_linger() 1240 WRITE_ONCE(sk->sk_lingertime, MAX_SCHEDULE_TIMEOUT); in sk_setsockopt() 1242 WRITE_ONCE(sk->sk_lingertime, t_sec * HZ); in sk_setsockopt() 1696 v.ling.l_linger = READ_ONCE(sk->sk_lingertime) / HZ; in sk_getsockopt()
|
/Linux-v6.6/net/sched/ |
D | em_meta.c | 505 dst->value = READ_ONCE(sk->sk_lingertime) / HZ; in META_COLLECTOR()
|
/Linux-v6.6/net/dccp/ |
D | proto.c | 1032 } else if (sock_flag(sk, SOCK_LINGER) && !sk->sk_lingertime) { in dccp_close()
|
/Linux-v6.6/net/iucv/ |
D | af_iucv.c | 404 if (sock_flag(sk, SOCK_LINGER) && sk->sk_lingertime) in iucv_sock_close() 405 timeo = sk->sk_lingertime; in iucv_sock_close()
|
/Linux-v6.6/net/vmw_vsock/ |
D | virtio_transport_common.c | 1059 virtio_transport_wait_close(sk, sk->sk_lingertime); in virtio_transport_close()
|
/Linux-v6.6/net/ipv4/ |
D | af_inet.c | 432 timeout = sk->sk_lingertime; in inet_release()
|
D | tcp.c | 2798 } else if (sock_flag(sk, SOCK_LINGER) && !sk->sk_lingertime) { in __tcp_close()
|
/Linux-v6.6/include/net/ |
D | sock.h | 488 unsigned long sk_lingertime; member
|
/Linux-v6.6/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
D | chtls_cm.c | 359 } else if (sock_flag(sk, SOCK_LINGER) && !sk->sk_lingertime) { in chtls_close()
|
/Linux-v6.6/net/sctp/ |
D | socket.c | 1521 (sock_flag(sk, SOCK_LINGER) && !sk->sk_lingertime)) { in sctp_close() 9468 newsk->sk_lingertime = sk->sk_lingertime; in sctp_copy_sock()
|