Home
last modified time | relevance | path

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

/Linux-v6.6/net/smc/
Dsmc_close.c205 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()
Daf_smc.c1842 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/
Dsockopt.c279 ssk->sk_lingertime = sk->sk_lingertime; in mptcp_setsockopt_sol_socket_linger()
1425 ssk->sk_lingertime = sk->sk_lingertime; in sync_socket_options()
Dprotocol.c2411 ssk->sk_lingertime = 0; in __mptcp_close_ssk()
/Linux-v6.6/net/bluetooth/
Dsco.c1224 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()
Diso.c1510 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()
Dl2cap_sock.c1369 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/
Dsock.c908 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/
Dsock.c801 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/
Dem_meta.c505 dst->value = READ_ONCE(sk->sk_lingertime) / HZ; in META_COLLECTOR()
/Linux-v6.6/net/dccp/
Dproto.c1032 } else if (sock_flag(sk, SOCK_LINGER) && !sk->sk_lingertime) { in dccp_close()
/Linux-v6.6/net/iucv/
Daf_iucv.c404 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/
Dvirtio_transport_common.c1059 virtio_transport_wait_close(sk, sk->sk_lingertime); in virtio_transport_close()
/Linux-v6.6/net/ipv4/
Daf_inet.c432 timeout = sk->sk_lingertime; in inet_release()
Dtcp.c2798 } else if (sock_flag(sk, SOCK_LINGER) && !sk->sk_lingertime) { in __tcp_close()
/Linux-v6.6/include/net/
Dsock.h488 unsigned long sk_lingertime; member
/Linux-v6.6/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_cm.c359 } else if (sock_flag(sk, SOCK_LINGER) && !sk->sk_lingertime) { in chtls_close()
/Linux-v6.6/net/sctp/
Dsocket.c1521 (sock_flag(sk, SOCK_LINGER) && !sk->sk_lingertime)) { in sctp_close()
9468 newsk->sk_lingertime = sk->sk_lingertime; in sctp_copy_sock()