Lines Matching refs:timeo
1185 static long unix_wait_for_peer(struct sock *other, long timeo) in unix_wait_for_peer() argument
1200 timeo = schedule_timeout(timeo); in unix_wait_for_peer()
1203 return timeo; in unix_wait_for_peer()
1219 long timeo; in unix_stream_connect() local
1230 timeo = sock_sndtimeo(sk, flags & O_NONBLOCK); in unix_stream_connect()
1273 if (!timeo) in unix_stream_connect()
1276 timeo = unix_wait_for_peer(other, timeo); in unix_stream_connect()
1278 err = sock_intr_errno(timeo); in unix_stream_connect()
1653 long timeo; in unix_dgram_sendmsg() local
1716 timeo = sock_sndtimeo(sk, msg->msg_flags & MSG_DONTWAIT); in unix_dgram_sendmsg()
1790 if (timeo) { in unix_dgram_sendmsg()
1791 timeo = unix_wait_for_peer(other, timeo); in unix_dgram_sendmsg()
1793 err = sock_intr_errno(timeo); in unix_dgram_sendmsg()
2209 static long unix_stream_data_wait(struct sock *sk, long timeo, in unix_stream_data_wait() argument
2226 !timeo) in unix_stream_data_wait()
2231 timeo = freezable_schedule_timeout(timeo); in unix_stream_data_wait()
2242 return timeo; in unix_stream_data_wait()
2273 long timeo; in unix_stream_read_generic() local
2289 timeo = sock_rcvtimeo(sk, noblock); in unix_stream_read_generic()
2332 if (!timeo) { in unix_stream_read_generic()
2339 timeo = unix_stream_data_wait(sk, timeo, last, in unix_stream_read_generic()
2343 err = sock_intr_errno(timeo); in unix_stream_read_generic()