Home
last modified time | relevance | path

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

/Linux-v5.10/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.c1226 if (!sk->sk_lingertime) in smc_close_non_accepted()
1228 sk->sk_lingertime = SMC_MAX_STREAM_WAIT_TIMEOUT; in smc_close_non_accepted()
/Linux-v5.10/net/bluetooth/
Dsco.c1037 if (sock_flag(sk, SOCK_LINGER) && sk->sk_lingertime && in sco_sock_shutdown()
1040 sk->sk_lingertime); in sco_sock_shutdown()
1061 if (sock_flag(sk, SOCK_LINGER) && sk->sk_lingertime && in sco_sock_release()
1064 err = bt_sock_wait_state(sk, BT_CLOSED, sk->sk_lingertime); in sco_sock_release()
Dl2cap_sock.c1349 if (sock_flag(sk, SOCK_LINGER) && sk->sk_lingertime && in l2cap_sock_shutdown()
1352 sk->sk_lingertime); in l2cap_sock_shutdown()
/Linux-v5.10/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.10/net/core/
Dsock.c725 sk->sk_lingertime = 0; in sock_no_linger()
965 sk->sk_lingertime = MAX_SCHEDULE_TIMEOUT; in sock_setsockopt()
968 sk->sk_lingertime = (unsigned int)ling.l_linger * HZ; in sock_setsockopt()
1368 v.ling.l_linger = sk->sk_lingertime / HZ; in sock_getsockopt()
/Linux-v5.10/net/sched/
Dem_meta.c502 dst->value = sk->sk_lingertime / HZ; in META_COLLECTOR()
/Linux-v5.10/net/dccp/
Dproto.c1019 } else if (sock_flag(sk, SOCK_LINGER) && !sk->sk_lingertime) { in dccp_close()
/Linux-v5.10/net/vmw_vsock/
Dvirtio_transport_common.c815 virtio_transport_wait_close(sk, sk->sk_lingertime); in virtio_transport_close()
/Linux-v5.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()
/Linux-v5.10/net/ipv4/
Daf_inet.c430 timeout = sk->sk_lingertime; in inet_release()
Dtcp.c2459 } else if (sock_flag(sk, SOCK_LINGER) && !sk->sk_lingertime) { in tcp_close()
/Linux-v5.10/include/net/
Dsock.h474 unsigned long sk_lingertime; member
/Linux-v5.10/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_cm.c356 } else if (sock_flag(sk, SOCK_LINGER) && !sk->sk_lingertime) { in chtls_close()
/Linux-v5.10/net/sctp/
Dsocket.c1505 (sock_flag(sk, SOCK_LINGER) && !sk->sk_lingertime)) { in sctp_close()
9188 newsk->sk_lingertime = sk->sk_lingertime; in sctp_copy_sock()