Searched refs:SOCK_LINGER (Results 1 – 18 of 18) sorted by relevance
| /linux-6.15/net/smc/ |
| H A D | smc_close.c | 205 0 : sock_flag(sk, SOCK_LINGER) ? in smc_close_active() 456 0 : sock_flag(sk, SOCK_LINGER) ? in smc_close_shutdown_write()
|
| H A D | af_smc.c | 459 (1UL << SOCK_LINGER) | \ 510 (1UL << SOCK_LINGER) | \
|
| /linux-6.15/net/mptcp/ |
| H A D | sockopt.c | 276 sock_reset_flag(ssk, SOCK_LINGER); in mptcp_setsockopt_sol_socket_linger() 279 sock_set_flag(ssk, SOCK_LINGER); in mptcp_setsockopt_sol_socket_linger() 1535 if (sock_flag(sk, SOCK_LINGER)) { in sync_socket_options() 1537 sock_set_flag(ssk, SOCK_LINGER); in sync_socket_options() 1539 sock_reset_flag(ssk, SOCK_LINGER); in sync_socket_options()
|
| H A D | protocol.c | 2373 sock_set_flag(ssk, SOCK_LINGER); in __mptcp_close_ssk()
|
| /linux-6.15/net/bluetooth/ |
| H A D | sco.c | 1301 if (sock_flag(sk, SOCK_LINGER) && sk->sk_lingertime && in sco_sock_shutdown() 1325 if (sock_flag(sk, SOCK_LINGER) && READ_ONCE(sk->sk_lingertime) && in sco_sock_release()
|
| H A D | iso.c | 1827 if (sock_flag(sk, SOCK_LINGER) && sk->sk_lingertime && in iso_sock_shutdown() 1850 if (sock_flag(sk, SOCK_LINGER) && READ_ONCE(sk->sk_lingertime) && in iso_sock_release()
|
| H A D | l2cap_sock.c | 1394 if (sock_flag(sk, SOCK_LINGER) && sk->sk_lingertime && in l2cap_sock_shutdown()
|
| /linux-6.15/net/core/ |
| H A D | sock.c | 806 sock_set_flag(sk, SOCK_LINGER); in sock_no_linger() 1407 sock_reset_flag(sk, SOCK_LINGER); in sk_setsockopt() 1415 sock_set_flag(sk, SOCK_LINGER); in sk_setsockopt() 1797 v.ling.l_onoff = sock_flag(sk, SOCK_LINGER); in sk_getsockopt()
|
| /linux-6.15/net/bluetooth/rfcomm/ |
| H A D | sock.c | 903 if (sock_flag(sk, SOCK_LINGER) && sk->sk_lingertime && in rfcomm_sock_shutdown()
|
| /linux-6.15/net/dccp/ |
| H A D | proto.c | 1032 } else if (sock_flag(sk, SOCK_LINGER) && !sk->sk_lingertime) { in dccp_close()
|
| /linux-6.15/net/vmw_vsock/ |
| H A D | virtio_transport_common.c | 1281 if (sock_flag(sk, SOCK_LINGER) && !(current->flags & PF_EXITING)) in virtio_transport_close()
|
| /linux-6.15/net/sunrpc/ |
| H A D | xprtsock.c | 2368 sock_reset_flag(sk, SOCK_LINGER); in xs_tcp_finish_connecting() 2527 sock_reset_flag(sk, SOCK_LINGER); in xs_tcp_tls_finish_connecting()
|
| /linux-6.15/net/ipv4/ |
| H A D | af_inet.c | 432 if (sock_flag(sk, SOCK_LINGER) && in inet_release()
|
| H A D | tcp.c | 3122 } else if (sock_flag(sk, SOCK_LINGER) && !sk->sk_lingertime) { in __tcp_close()
|
| /linux-6.15/net/iucv/ |
| H A D | af_iucv.c | 405 if (sock_flag(sk, SOCK_LINGER) && sk->sk_lingertime) in iucv_sock_close()
|
| /linux-6.15/include/net/ |
| H A D | sock.h | 938 SOCK_LINGER, enumerator
|
| /linux-6.15/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()
|
| /linux-6.15/net/sctp/ |
| H A D | socket.c | 1523 (sock_flag(sk, SOCK_LINGER) && !sk->sk_lingertime)) { in sctp_close()
|