Searched refs:sk_lingertime (Results 1 – 11 of 11) sorted by relevance
/linux-4.1.27/net/bluetooth/ |
D | sco.c | 974 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()
|
D | l2cap_sock.c | 1122 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/ |
D | sock.c | 920 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/ |
D | sock.c | 820 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/ |
D | em_meta.c | 476 dst->value = skb->sk->sk_lingertime / HZ; in META_COLLECTOR()
|
/linux-4.1.27/net/dccp/ |
D | proto.c | 1018 } else if (sock_flag(sk, SOCK_LINGER) && !sk->sk_lingertime) { in dccp_close()
|
/linux-4.1.27/net/iucv/ |
D | af_iucv.c | 497 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/ |
D | af_inet.c | 416 timeout = sk->sk_lingertime; in inet_release()
|
D | tcp.c | 2036 } else if (sock_flag(sk, SOCK_LINGER) && !sk->sk_lingertime) { in tcp_close()
|
/linux-4.1.27/include/net/ |
D | sock.h | 402 unsigned long sk_lingertime; member
|
/linux-4.1.27/net/sctp/ |
D | socket.c | 1512 (sock_flag(sk, SOCK_LINGER) && !sk->sk_lingertime)) { in sctp_close() 7196 newsk->sk_lingertime = sk->sk_lingertime; in sctp_copy_sock()
|