Home
last modified time | relevance | path

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

/linux-4.4.14/net/bluetooth/
Dsco.c987 if (sock_flag(sk, SOCK_LINGER) && sk->sk_lingertime && in sco_sock_shutdown()
990 sk->sk_lingertime); in sco_sock_shutdown()
1011 if (sock_flag(sk, SOCK_LINGER) && sk->sk_lingertime && in sco_sock_release()
1014 err = bt_sock_wait_state(sk, BT_CLOSED, sk->sk_lingertime); in sco_sock_release()
Dl2cap_sock.c1168 if (sock_flag(sk, SOCK_LINGER) && sk->sk_lingertime && in l2cap_sock_shutdown()
1171 sk->sk_lingertime); in l2cap_sock_shutdown()
/linux-4.4.14/net/bluetooth/rfcomm/
Dsock.c924 if (sock_flag(sk, SOCK_LINGER) && sk->sk_lingertime && in rfcomm_sock_shutdown()
926 err = bt_sock_wait_state(sk, BT_CLOSED, sk->sk_lingertime); in rfcomm_sock_shutdown()
/linux-4.4.14/net/core/
Dsock.c833 sk->sk_lingertime = MAX_SCHEDULE_TIMEOUT; in sock_setsockopt()
836 sk->sk_lingertime = (unsigned int)ling.l_linger * HZ; in sock_setsockopt()
1116 v.ling.l_linger = sk->sk_lingertime / HZ; in sock_getsockopt()
/linux-4.4.14/net/sched/
Dem_meta.c504 dst->value = sk->sk_lingertime / HZ; in META_COLLECTOR()
/linux-4.4.14/net/dccp/
Dproto.c1017 } else if (sock_flag(sk, SOCK_LINGER) && !sk->sk_lingertime) { in dccp_close()
/linux-4.4.14/net/iucv/
Daf_iucv.c496 if (sock_flag(sk, SOCK_LINGER) && sk->sk_lingertime) in iucv_sock_close()
497 timeo = sk->sk_lingertime; in iucv_sock_close()
/linux-4.4.14/net/ipv4/
Daf_inet.c414 timeout = sk->sk_lingertime; in inet_release()
Dtcp.c2069 } else if (sock_flag(sk, SOCK_LINGER) && !sk->sk_lingertime) { in tcp_close()
/linux-4.4.14/include/net/
Dsock.h419 unsigned long sk_lingertime; member
/linux-4.4.14/net/sctp/
Dsocket.c1515 (sock_flag(sk, SOCK_LINGER) && !sk->sk_lingertime)) { in sctp_close()
7187 newsk->sk_lingertime = sk->sk_lingertime; in sctp_copy_sock()