Searched refs:sk_lingertime (Results 1 – 15 of 15) sorted by relevance
| /Linux-v5.10/net/smc/ |
| D | smc_close.c | 201 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()
|
| D | af_smc.c | 1226 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/ |
| D | sco.c | 1037 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()
|
| D | l2cap_sock.c | 1349 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/ |
| D | sock.c | 933 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/ |
| D | sock.c | 725 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/ |
| D | em_meta.c | 502 dst->value = sk->sk_lingertime / HZ; in META_COLLECTOR()
|
| /Linux-v5.10/net/dccp/ |
| D | proto.c | 1019 } else if (sock_flag(sk, SOCK_LINGER) && !sk->sk_lingertime) { in dccp_close()
|
| /Linux-v5.10/net/vmw_vsock/ |
| D | virtio_transport_common.c | 815 virtio_transport_wait_close(sk, sk->sk_lingertime); in virtio_transport_close()
|
| /Linux-v5.10/net/iucv/ |
| D | af_iucv.c | 428 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/ |
| D | af_inet.c | 430 timeout = sk->sk_lingertime; in inet_release()
|
| D | tcp.c | 2459 } else if (sock_flag(sk, SOCK_LINGER) && !sk->sk_lingertime) { in tcp_close()
|
| /Linux-v5.10/include/net/ |
| D | sock.h | 474 unsigned long sk_lingertime; member
|
| /Linux-v5.10/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
| D | chtls_cm.c | 356 } else if (sock_flag(sk, SOCK_LINGER) && !sk->sk_lingertime) { in chtls_close()
|
| /Linux-v5.10/net/sctp/ |
| D | socket.c | 1505 (sock_flag(sk, SOCK_LINGER) && !sk->sk_lingertime)) { in sctp_close() 9188 newsk->sk_lingertime = sk->sk_lingertime; in sctp_copy_sock()
|