Home
last modified time | relevance | path

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

/linux/net/smc/
A Dsmc_close.c206 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()
A Daf_smc.c1834 if (!sk->sk_lingertime) in smc_close_non_accepted()
1836 WRITE_ONCE(sk->sk_lingertime, SMC_MAX_STREAM_WAIT_TIMEOUT); in smc_close_non_accepted()
/linux/net/bluetooth/
A Dsco.c1233 if (sock_flag(sk, SOCK_LINGER) && sk->sk_lingertime && in sco_sock_shutdown()
1236 sk->sk_lingertime); in sco_sock_shutdown()
1257 if (sock_flag(sk, SOCK_LINGER) && READ_ONCE(sk->sk_lingertime) && in sco_sock_release()
1260 err = bt_sock_wait_state(sk, BT_CLOSED, sk->sk_lingertime); in sco_sock_release()
A Diso.c1680 if (sock_flag(sk, SOCK_LINGER) && sk->sk_lingertime && in iso_sock_shutdown()
1682 err = bt_sock_wait_state(sk, BT_CLOSED, sk->sk_lingertime); in iso_sock_shutdown()
1703 if (sock_flag(sk, SOCK_LINGER) && READ_ONCE(sk->sk_lingertime) && in iso_sock_release()
1706 err = bt_sock_wait_state(sk, BT_CLOSED, sk->sk_lingertime); in iso_sock_release()
A Dl2cap_sock.c1380 if (sock_flag(sk, SOCK_LINGER) && sk->sk_lingertime && in l2cap_sock_shutdown()
1383 sk->sk_lingertime); in l2cap_sock_shutdown()
/linux/net/mptcp/
A Dsockopt.c278 ssk->sk_lingertime = sk->sk_lingertime; in mptcp_setsockopt_sol_socket_linger()
1508 ssk->sk_lingertime = sk->sk_lingertime; in sync_socket_options()
A Dprotocol.c2471 ssk->sk_lingertime = 0; in __mptcp_close_ssk()
/linux/net/bluetooth/rfcomm/
A Dsock.c902 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()
/linux/net/sched/
A Dem_meta.c505 dst->value = READ_ONCE(sk->sk_lingertime) / HZ; in META_COLLECTOR()
/linux/net/core/
A Dsock.c800 WRITE_ONCE(sk->sk_lingertime, 0); in sock_no_linger()
1394 WRITE_ONCE(sk->sk_lingertime, MAX_SCHEDULE_TIMEOUT); in sk_setsockopt()
1396 WRITE_ONCE(sk->sk_lingertime, t_sec * HZ); in sk_setsockopt()
1776 v.ling.l_linger = READ_ONCE(sk->sk_lingertime) / HZ; in sk_getsockopt()
/linux/net/dccp/
A Dproto.c1032 } else if (sock_flag(sk, SOCK_LINGER) && !sk->sk_lingertime) { in dccp_close()
/linux/net/iucv/
A Daf_iucv.c404 if (sock_flag(sk, SOCK_LINGER) && sk->sk_lingertime) in iucv_sock_close()
405 timeo = sk->sk_lingertime; in iucv_sock_close()
/linux/net/vmw_vsock/
A Dvirtio_transport_common.c1269 virtio_transport_wait_close(sk, sk->sk_lingertime); in virtio_transport_close()
/linux/net/ipv4/
A Daf_inet.c436 timeout = sk->sk_lingertime; in inet_release()
A Dtcp.c3095 } else if (sock_flag(sk, SOCK_LINGER) && !sk->sk_lingertime) { in __tcp_close()
/linux/include/net/
A Dsock.h505 unsigned long sk_lingertime; member
/linux/drivers/net/ethernet/chelsio/inline_crypto/chtls/
A Dchtls_cm.c359 } else if (sock_flag(sk, SOCK_LINGER) && !sk->sk_lingertime) { in chtls_close()
/linux/net/sctp/
A Dsocket.c1522 (sock_flag(sk, SOCK_LINGER) && !sk->sk_lingertime)) { in sctp_close()
9487 newsk->sk_lingertime = sk->sk_lingertime; in sctp_copy_sock()

Completed in 98 milliseconds