Searched refs:sk_lingertime (Results 1 – 11 of 11) sorted by relevance
/linux-4.4.14/net/bluetooth/ |
D | sco.c | 987 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()
|
D | l2cap_sock.c | 1168 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/ |
D | sock.c | 924 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/ |
D | sock.c | 833 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/ |
D | em_meta.c | 504 dst->value = sk->sk_lingertime / HZ; in META_COLLECTOR()
|
/linux-4.4.14/net/dccp/ |
D | proto.c | 1017 } else if (sock_flag(sk, SOCK_LINGER) && !sk->sk_lingertime) { in dccp_close()
|
/linux-4.4.14/net/iucv/ |
D | af_iucv.c | 496 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/ |
D | af_inet.c | 414 timeout = sk->sk_lingertime; in inet_release()
|
D | tcp.c | 2069 } else if (sock_flag(sk, SOCK_LINGER) && !sk->sk_lingertime) { in tcp_close()
|
/linux-4.4.14/include/net/ |
D | sock.h | 419 unsigned long sk_lingertime; member
|
/linux-4.4.14/net/sctp/ |
D | socket.c | 1515 (sock_flag(sk, SOCK_LINGER) && !sk->sk_lingertime)) { in sctp_close() 7187 newsk->sk_lingertime = sk->sk_lingertime; in sctp_copy_sock()
|