Home
last modified time | relevance | path

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

/Linux-v5.15/net/mptcp/
Dsockopt.c276 ssk->sk_lingertime = sk->sk_lingertime; in mptcp_setsockopt_sol_socket_linger()
737 ssk->sk_lingertime = sk->sk_lingertime; in sync_socket_options()
/Linux-v5.15/net/smc/
Dsmc_close.c201 sk->sk_lingertime : SMC_MAX_STREAM_WAIT_TIMEOUT; in smc_close_active()
440 sk->sk_lingertime : SMC_MAX_STREAM_WAIT_TIMEOUT; in smc_close_shutdown_write()
Daf_smc.c1264 if (!sk->sk_lingertime) in smc_close_non_accepted()
1266 sk->sk_lingertime = SMC_MAX_STREAM_WAIT_TIMEOUT; in smc_close_non_accepted()
/Linux-v5.15/net/bluetooth/
Dsco.c1058 if (sock_flag(sk, SOCK_LINGER) && sk->sk_lingertime && in sco_sock_shutdown()
1061 sk->sk_lingertime); in sco_sock_shutdown()
1082 if (sock_flag(sk, SOCK_LINGER) && sk->sk_lingertime && in sco_sock_release()
1085 err = bt_sock_wait_state(sk, BT_CLOSED, sk->sk_lingertime); in sco_sock_release()
Dl2cap_sock.c1357 if (sock_flag(sk, SOCK_LINGER) && sk->sk_lingertime && in l2cap_sock_shutdown()
1360 sk->sk_lingertime); in l2cap_sock_shutdown()
/Linux-v5.15/net/bluetooth/rfcomm/
Dsock.c933 if (sock_flag(sk, SOCK_LINGER) && sk->sk_lingertime && in rfcomm_sock_shutdown()
935 err = bt_sock_wait_state(sk, BT_CLOSED, sk->sk_lingertime); in rfcomm_sock_shutdown()
/Linux-v5.15/net/core/
Dsock.c752 sk->sk_lingertime = 0; in sock_no_linger()
1098 sk->sk_lingertime = MAX_SCHEDULE_TIMEOUT; in sock_setsockopt()
1101 sk->sk_lingertime = (unsigned int)ling.l_linger * HZ; in sock_setsockopt()
1508 v.ling.l_linger = sk->sk_lingertime / HZ; in sock_getsockopt()
/Linux-v5.15/net/sched/
Dem_meta.c502 dst->value = sk->sk_lingertime / HZ; in META_COLLECTOR()
/Linux-v5.15/net/dccp/
Dproto.c1019 } else if (sock_flag(sk, SOCK_LINGER) && !sk->sk_lingertime) { in dccp_close()
/Linux-v5.15/net/iucv/
Daf_iucv.c405 if (sock_flag(sk, SOCK_LINGER) && sk->sk_lingertime) in iucv_sock_close()
406 timeo = sk->sk_lingertime; in iucv_sock_close()
/Linux-v5.15/net/vmw_vsock/
Dvirtio_transport_common.c956 virtio_transport_wait_close(sk, sk->sk_lingertime); in virtio_transport_close()
/Linux-v5.15/net/ipv4/
Daf_inet.c430 timeout = sk->sk_lingertime; in inet_release()
Dtcp.c2754 } else if (sock_flag(sk, SOCK_LINGER) && !sk->sk_lingertime) { in __tcp_close()
/Linux-v5.15/include/net/
Dsock.h480 unsigned long sk_lingertime; member
/Linux-v5.15/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_cm.c359 } else if (sock_flag(sk, SOCK_LINGER) && !sk->sk_lingertime) { in chtls_close()
/Linux-v5.15/net/sctp/
Dsocket.c1519 (sock_flag(sk, SOCK_LINGER) && !sk->sk_lingertime)) { in sctp_close()
9433 newsk->sk_lingertime = sk->sk_lingertime; in sctp_copy_sock()