Home
last modified time | relevance | path

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

/linux-4.1.27/net/bluetooth/
Dsco.c974 if (sock_flag(sk, SOCK_LINGER) && sk->sk_lingertime && in sco_sock_shutdown()
977 sk->sk_lingertime); in sco_sock_shutdown()
995 if (sock_flag(sk, SOCK_LINGER) && sk->sk_lingertime && in sco_sock_release()
998 err = bt_sock_wait_state(sk, BT_CLOSED, sk->sk_lingertime); in sco_sock_release()
Dl2cap_sock.c1122 if (sock_flag(sk, SOCK_LINGER) && sk->sk_lingertime && in l2cap_sock_shutdown()
1125 sk->sk_lingertime); in l2cap_sock_shutdown()
/linux-4.1.27/net/bluetooth/rfcomm/
Dsock.c920 if (sock_flag(sk, SOCK_LINGER) && sk->sk_lingertime && in rfcomm_sock_shutdown()
922 err = bt_sock_wait_state(sk, BT_CLOSED, sk->sk_lingertime); in rfcomm_sock_shutdown()
/linux-4.1.27/net/core/
Dsock.c820 sk->sk_lingertime = MAX_SCHEDULE_TIMEOUT; in sock_setsockopt()
823 sk->sk_lingertime = (unsigned int)ling.l_linger * HZ; in sock_setsockopt()
1099 v.ling.l_linger = sk->sk_lingertime / HZ; in sock_getsockopt()
/linux-4.1.27/net/sched/
Dem_meta.c476 dst->value = skb->sk->sk_lingertime / HZ; in META_COLLECTOR()
/linux-4.1.27/net/dccp/
Dproto.c1018 } else if (sock_flag(sk, SOCK_LINGER) && !sk->sk_lingertime) { in dccp_close()
/linux-4.1.27/net/iucv/
Daf_iucv.c497 if (sock_flag(sk, SOCK_LINGER) && sk->sk_lingertime) in iucv_sock_close()
498 timeo = sk->sk_lingertime; in iucv_sock_close()
/linux-4.1.27/net/ipv4/
Daf_inet.c416 timeout = sk->sk_lingertime; in inet_release()
Dtcp.c2036 } else if (sock_flag(sk, SOCK_LINGER) && !sk->sk_lingertime) { in tcp_close()
/linux-4.1.27/include/net/
Dsock.h402 unsigned long sk_lingertime; member
/linux-4.1.27/net/sctp/
Dsocket.c1512 (sock_flag(sk, SOCK_LINGER) && !sk->sk_lingertime)) { in sctp_close()
7196 newsk->sk_lingertime = sk->sk_lingertime; in sctp_copy_sock()