Home
last modified time | relevance | path

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

/linux-6.1.9/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.c1777 if (!sk->sk_lingertime) in smc_close_non_accepted()
1779 sk->sk_lingertime = SMC_MAX_STREAM_WAIT_TIMEOUT; in smc_close_non_accepted()
/linux-6.1.9/net/mptcp/
Dsockopt.c278 ssk->sk_lingertime = sk->sk_lingertime; in mptcp_setsockopt_sol_socket_linger()
1272 ssk->sk_lingertime = sk->sk_lingertime; in sync_socket_options()
Dprotocol.c2346 ssk->sk_lingertime = 0; in __mptcp_close_ssk()
/linux-6.1.9/net/bluetooth/
Dsco.c1232 if (sock_flag(sk, SOCK_LINGER) && sk->sk_lingertime && in sco_sock_shutdown()
1235 sk->sk_lingertime); in sco_sock_shutdown()
1256 if (sock_flag(sk, SOCK_LINGER) && sk->sk_lingertime && in sco_sock_release()
1259 err = bt_sock_wait_state(sk, BT_CLOSED, sk->sk_lingertime); in sco_sock_release()
Diso.c1365 if (sock_flag(sk, SOCK_LINGER) && sk->sk_lingertime && in iso_sock_shutdown()
1367 err = bt_sock_wait_state(sk, BT_CLOSED, sk->sk_lingertime); in iso_sock_shutdown()
1388 if (sock_flag(sk, SOCK_LINGER) && sk->sk_lingertime && in iso_sock_release()
1391 err = bt_sock_wait_state(sk, BT_CLOSED, sk->sk_lingertime); in iso_sock_release()
Dl2cap_sock.c1387 if (sock_flag(sk, SOCK_LINGER) && sk->sk_lingertime && in l2cap_sock_shutdown()
1390 sk->sk_lingertime); in l2cap_sock_shutdown()
/linux-6.1.9/net/bluetooth/rfcomm/
Dsock.c915 if (sock_flag(sk, SOCK_LINGER) && sk->sk_lingertime && in rfcomm_sock_shutdown()
917 err = bt_sock_wait_state(sk, BT_CLOSED, sk->sk_lingertime); in rfcomm_sock_shutdown()
/linux-6.1.9/net/core/
Dsock.c794 sk->sk_lingertime = 0; in sock_no_linger()
1224 sk->sk_lingertime = MAX_SCHEDULE_TIMEOUT; in sk_setsockopt()
1227 sk->sk_lingertime = (unsigned int)ling.l_linger * HZ; in sk_setsockopt()
1679 v.ling.l_linger = sk->sk_lingertime / HZ; in sk_getsockopt()
/linux-6.1.9/net/sched/
Dem_meta.c505 dst->value = sk->sk_lingertime / HZ; in META_COLLECTOR()
/linux-6.1.9/net/dccp/
Dproto.c1013 } else if (sock_flag(sk, SOCK_LINGER) && !sk->sk_lingertime) { in dccp_close()
/linux-6.1.9/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-6.1.9/net/vmw_vsock/
Dvirtio_transport_common.c953 virtio_transport_wait_close(sk, sk->sk_lingertime); in virtio_transport_close()
/linux-6.1.9/net/ipv4/
Daf_inet.c427 timeout = sk->sk_lingertime; in inet_release()
Dtcp.c2910 } else if (sock_flag(sk, SOCK_LINGER) && !sk->sk_lingertime) { in __tcp_close()
/linux-6.1.9/include/net/
Dsock.h483 unsigned long sk_lingertime; member
/linux-6.1.9/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_cm.c359 } else if (sock_flag(sk, SOCK_LINGER) && !sk->sk_lingertime) { in chtls_close()
/linux-6.1.9/net/sctp/
Dsocket.c1520 (sock_flag(sk, SOCK_LINGER) && !sk->sk_lingertime)) { in sctp_close()
9436 newsk->sk_lingertime = sk->sk_lingertime; in sctp_copy_sock()