Lines Matching refs:timeo
79 static int sctp_wait_for_accept(struct sock *sk, long timeo);
80 static void sctp_wait_for_close(struct sock *sk, long timeo);
1177 long timeo;
1246 timeo = sock_sndtimeo(sk, flags & O_NONBLOCK);
1247 return sctp_wait_for_connect(asoc, &timeo);
1801 long timeo;
1830 timeo = sock_sndtimeo(sk, msg->msg_flags & MSG_DONTWAIT);
1831 err = sctp_wait_for_sndbuf(asoc, &timeo, msg_len);
1846 timeo = sock_sndtimeo(sk, 0);
1847 err = sctp_wait_for_connect(asoc, &timeo);
1884 timeo = sock_sndtimeo(sk, msg->msg_flags & MSG_DONTWAIT);
1885 sctp_wait_for_connect(asoc, &timeo);
4856 long timeo;
4874 timeo = sock_rcvtimeo(sk, flags & O_NONBLOCK);
4876 error = sctp_wait_for_accept(sk, timeo);
9021 long timeo;
9023 timeo = sock_rcvtimeo(sk, flags & MSG_DONTWAIT);
9025 pr_debug("%s: timeo:%ld, max:%ld\n", __func__, timeo,
9058 if (!timeo)
9060 } while (sctp_wait_for_packet(sk, err, &timeo) == 0);
9210 pr_debug("%s: asoc:%p, timeo:%ld, msg_len:%zu\n", __func__, asoc,
9321 pr_debug("%s: asoc:%p, timeo:%ld\n", __func__, asoc, *timeo_p);
9376 static int sctp_wait_for_accept(struct sock *sk, long timeo)
9391 timeo = schedule_timeout(timeo);
9403 err = sock_intr_errno(timeo);
9408 if (!timeo)