Searched refs:sk_lingertime (Results 1 – 18 of 18) sorted by relevance
/openbmc/linux/net/smc/ |
H A D | smc_close.c | 206 sk->sk_lingertime : SMC_MAX_STREAM_WAIT_TIMEOUT; in smc_close_active() 457 sk->sk_lingertime : SMC_MAX_STREAM_WAIT_TIMEOUT; in smc_close_shutdown_write()
|
H A D | af_smc.c | 1828 if (!sk->sk_lingertime) in smc_close_non_accepted() 1830 WRITE_ONCE(sk->sk_lingertime, SMC_MAX_STREAM_WAIT_TIMEOUT); in smc_close_non_accepted()
|
/openbmc/linux/net/bluetooth/ |
H A D | sco.c | 1232 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) && READ_ONCE(sk->sk_lingertime) && in sco_sock_release() 1259 err = bt_sock_wait_state(sk, BT_CLOSED, sk->sk_lingertime); in sco_sock_release()
|
H A D | iso.c | 1543 if (sock_flag(sk, SOCK_LINGER) && sk->sk_lingertime && in iso_sock_shutdown() 1545 err = bt_sock_wait_state(sk, BT_CLOSED, sk->sk_lingertime); in iso_sock_shutdown() 1566 if (sock_flag(sk, SOCK_LINGER) && READ_ONCE(sk->sk_lingertime) && in iso_sock_release() 1569 err = bt_sock_wait_state(sk, BT_CLOSED, sk->sk_lingertime); in iso_sock_release()
|
H A D | l2cap_sock.c | 1379 if (sock_flag(sk, SOCK_LINGER) && sk->sk_lingertime && in l2cap_sock_shutdown() 1382 sk->sk_lingertime); in l2cap_sock_shutdown()
|
/openbmc/linux/net/mptcp/ |
H A D | sockopt.c | 278 ssk->sk_lingertime = sk->sk_lingertime; in mptcp_setsockopt_sol_socket_linger() 1471 ssk->sk_lingertime = sk->sk_lingertime; in sync_socket_options()
|
H A D | protocol.c | 2428 ssk->sk_lingertime = 0; in __mptcp_close_ssk()
|
/openbmc/linux/net/bluetooth/rfcomm/ |
H A D | sock.c | 902 if (sock_flag(sk, SOCK_LINGER) && sk->sk_lingertime && in rfcomm_sock_shutdown() 904 err = bt_sock_wait_state(sk, BT_CLOSED, sk->sk_lingertime); in rfcomm_sock_shutdown()
|
/openbmc/linux/net/core/ |
H A D | sock.c | 803 WRITE_ONCE(sk->sk_lingertime, 0); in sock_no_linger() 1242 WRITE_ONCE(sk->sk_lingertime, MAX_SCHEDULE_TIMEOUT); in sk_setsockopt() 1244 WRITE_ONCE(sk->sk_lingertime, t_sec * HZ); in sk_setsockopt() 1698 v.ling.l_linger = READ_ONCE(sk->sk_lingertime) / HZ; in sk_getsockopt()
|
/openbmc/linux/net/sched/ |
H A D | em_meta.c | 505 dst->value = READ_ONCE(sk->sk_lingertime) / HZ; in META_COLLECTOR()
|
/openbmc/linux/net/dccp/ |
H A D | proto.c | 1032 } else if (sock_flag(sk, SOCK_LINGER) && !sk->sk_lingertime) { in dccp_close()
|
/openbmc/linux/net/iucv/ |
H A D | af_iucv.c | 404 if (sock_flag(sk, SOCK_LINGER) && sk->sk_lingertime) in iucv_sock_close() 405 timeo = sk->sk_lingertime; in iucv_sock_close()
|
/openbmc/linux/net/vmw_vsock/ |
H A D | virtio_transport_common.c | 1069 virtio_transport_wait_close(sk, sk->sk_lingertime); in virtio_transport_close()
|
/openbmc/linux/net/ipv4/ |
H A D | af_inet.c | 435 timeout = sk->sk_lingertime; in inet_release()
|
H A D | tcp.c | 2816 } else if (sock_flag(sk, SOCK_LINGER) && !sk->sk_lingertime) { in __tcp_close()
|
/openbmc/linux/include/net/ |
H A D | sock.h | 488 unsigned long sk_lingertime; member
|
/openbmc/linux/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
H A D | chtls_cm.c | 359 } else if (sock_flag(sk, SOCK_LINGER) && !sk->sk_lingertime) { in chtls_close()
|
/openbmc/linux/net/sctp/ |
H A D | socket.c | 1521 (sock_flag(sk, SOCK_LINGER) && !sk->sk_lingertime)) { in sctp_close() 9480 newsk->sk_lingertime = sk->sk_lingertime; in sctp_copy_sock()
|