Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/smc/
Dsmc_close.c202 sk->sk_lingertime : SMC_MAX_STREAM_WAIT_TIMEOUT; in smc_close_active()
450 sk->sk_lingertime : SMC_MAX_STREAM_WAIT_TIMEOUT; in smc_close_shutdown_write()
Daf_smc.c1254 if (!sk->sk_lingertime) in smc_close_non_accepted()
1256 sk->sk_lingertime = SMC_MAX_STREAM_WAIT_TIMEOUT; in smc_close_non_accepted()
/kernel/linux/linux-5.10/net/bluetooth/
Dsco.c1061 if (sock_flag(sk, SOCK_LINGER) && sk->sk_lingertime && in sco_sock_shutdown()
1064 sk->sk_lingertime); in sco_sock_shutdown()
1085 if (sock_flag(sk, SOCK_LINGER) && sk->sk_lingertime && in sco_sock_release()
1088 err = bt_sock_wait_state(sk, BT_CLOSED, sk->sk_lingertime); in sco_sock_release()
Dl2cap_sock.c1386 if (sock_flag(sk, SOCK_LINGER) && sk->sk_lingertime && in l2cap_sock_shutdown()
1389 sk->sk_lingertime); in l2cap_sock_shutdown()
/kernel/linux/linux-5.10/net/bluetooth/rfcomm/
Dsock.c907 if (sock_flag(sk, SOCK_LINGER) && sk->sk_lingertime && in rfcomm_sock_shutdown()
909 err = bt_sock_wait_state(sk, BT_CLOSED, sk->sk_lingertime); in rfcomm_sock_shutdown()
/kernel/linux/linux-5.10/net/core/
Dsock.c725 sk->sk_lingertime = 0; in sock_no_linger()
973 sk->sk_lingertime = MAX_SCHEDULE_TIMEOUT; in sock_setsockopt()
976 sk->sk_lingertime = (unsigned int)ling.l_linger * HZ; in sock_setsockopt()
1386 v.ling.l_linger = sk->sk_lingertime / HZ; in sock_getsockopt()
/kernel/linux/linux-5.10/net/sched/
Dem_meta.c502 dst->value = sk->sk_lingertime / HZ; in META_COLLECTOR()
/kernel/linux/linux-5.10/net/dccp/
Dproto.c1019 } else if (sock_flag(sk, SOCK_LINGER) && !sk->sk_lingertime) { in dccp_close()
/kernel/linux/linux-5.10/net/vmw_vsock/
Dvirtio_transport_common.c832 virtio_transport_wait_close(sk, sk->sk_lingertime); in virtio_transport_close()
/kernel/linux/linux-5.10/net/iucv/
Daf_iucv.c428 if (sock_flag(sk, SOCK_LINGER) && sk->sk_lingertime) in iucv_sock_close()
429 timeo = sk->sk_lingertime; in iucv_sock_close()
/kernel/linux/linux-5.10/net/ipv4/
Daf_inet.c433 timeout = sk->sk_lingertime; in inet_release()
Dtcp.c2563 } else if (sock_flag(sk, SOCK_LINGER) && !sk->sk_lingertime) { in tcp_close()
/kernel/linux/linux-5.10/include/net/
Dsock.h479 unsigned long sk_lingertime; member
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_cm.c359 } else if (sock_flag(sk, SOCK_LINGER) && !sk->sk_lingertime) { in chtls_close()
/kernel/linux/linux-5.10/net/sctp/
Dsocket.c1519 (sock_flag(sk, SOCK_LINGER) && !sk->sk_lingertime)) { in sctp_close()
9200 newsk->sk_lingertime = sk->sk_lingertime; in sctp_copy_sock()