Home
last modified time | relevance | path

Searched refs:SOCK_LINGER (Results 1 – 18 of 18) sorted by relevance

/linux-6.6.21/net/mptcp/
Dsockopt.c278 sock_reset_flag(ssk, SOCK_LINGER); in mptcp_setsockopt_sol_socket_linger()
281 sock_set_flag(ssk, SOCK_LINGER); in mptcp_setsockopt_sol_socket_linger()
1430 if (sock_flag(sk, SOCK_LINGER)) { in sync_socket_options()
1432 sock_set_flag(ssk, SOCK_LINGER); in sync_socket_options()
1434 sock_reset_flag(ssk, SOCK_LINGER); in sync_socket_options()
Dprotocol.c2422 sock_set_flag(ssk, SOCK_LINGER); in __mptcp_close_ssk()
/linux-6.6.21/net/smc/
Dsmc_close.c205 0 : sock_flag(sk, SOCK_LINGER) ? in smc_close_active()
456 0 : sock_flag(sk, SOCK_LINGER) ? in smc_close_shutdown_write()
Daf_smc.c445 (1UL << SOCK_LINGER) | \
514 (1UL << SOCK_LINGER) | \
/linux-6.6.21/net/bluetooth/
Dsco.c1224 if (sock_flag(sk, SOCK_LINGER) && sk->sk_lingertime && in sco_sock_shutdown()
1248 if (sock_flag(sk, SOCK_LINGER) && READ_ONCE(sk->sk_lingertime) && in sco_sock_release()
Diso.c1544 if (sock_flag(sk, SOCK_LINGER) && sk->sk_lingertime && in iso_sock_shutdown()
1567 if (sock_flag(sk, SOCK_LINGER) && READ_ONCE(sk->sk_lingertime) && in iso_sock_release()
Dl2cap_sock.c1369 if (sock_flag(sk, SOCK_LINGER) && sk->sk_lingertime && in l2cap_sock_shutdown()
/linux-6.6.21/net/core/
Dsock.c803 sock_set_flag(sk, SOCK_LINGER); in sock_no_linger()
1236 sock_reset_flag(sk, SOCK_LINGER); in sk_setsockopt()
1244 sock_set_flag(sk, SOCK_LINGER); in sk_setsockopt()
1696 v.ling.l_onoff = sock_flag(sk, SOCK_LINGER); in sk_getsockopt()
/linux-6.6.21/net/bluetooth/rfcomm/
Dsock.c908 if (sock_flag(sk, SOCK_LINGER) && sk->sk_lingertime && in rfcomm_sock_shutdown()
/linux-6.6.21/net/dccp/
Dproto.c1032 } else if (sock_flag(sk, SOCK_LINGER) && !sk->sk_lingertime) { in dccp_close()
/linux-6.6.21/net/vmw_vsock/
Dvirtio_transport_common.c1067 if (sock_flag(sk, SOCK_LINGER) && !(current->flags & PF_EXITING)) in virtio_transport_close()
/linux-6.6.21/net/sunrpc/
Dxprtsock.c2344 sock_reset_flag(sk, SOCK_LINGER); in xs_tcp_finish_connecting()
2495 sock_reset_flag(sk, SOCK_LINGER); in xs_tcp_tls_finish_connecting()
/linux-6.6.21/net/ipv4/
Daf_inet.c433 if (sock_flag(sk, SOCK_LINGER) && in inet_release()
Dtcp.c2809 } else if (sock_flag(sk, SOCK_LINGER) && !sk->sk_lingertime) { in __tcp_close()
/linux-6.6.21/net/iucv/
Daf_iucv.c404 if (sock_flag(sk, SOCK_LINGER) && sk->sk_lingertime) in iucv_sock_close()
/linux-6.6.21/include/net/
Dsock.h935 SOCK_LINGER, enumerator
/linux-6.6.21/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_cm.c359 } else if (sock_flag(sk, SOCK_LINGER) && !sk->sk_lingertime) { in chtls_close()
/linux-6.6.21/net/sctp/
Dsocket.c1521 (sock_flag(sk, SOCK_LINGER) && !sk->sk_lingertime)) { in sctp_close()