Lines Matching defs:timeo
95 static int sctp_wait_for_accept(struct sock *sk, long timeo);
96 static void sctp_wait_for_close(struct sock *sk, long timeo);
977 long timeo;
1136 timeo = sock_sndtimeo(sk, f_flags & O_NONBLOCK);
1138 err = sctp_wait_for_connect(asoc, &timeo);
1443 long timeo;
1738 timeo = sock_sndtimeo(sk, msg->msg_flags & MSG_DONTWAIT);
1740 err = sctp_wait_for_sndbuf(asoc, &timeo, msg_len);
3484 long timeo;
3502 timeo = sock_rcvtimeo(sk, flags & O_NONBLOCK);
3504 error = sctp_wait_for_accept(sk, timeo);
5922 long timeo;
5924 timeo = sock_rcvtimeo(sk, noblock);
5926 SCTP_DEBUG_PRINTK("Timeout: timeo: %ld, MAX: %ld.\n",
5927 timeo, MAX_SCHEDULE_TIMEOUT);
5960 if (!timeo)
5962 } while (sctp_wait_for_packet(sk, err, &timeo) == 0);
6057 SCTP_DEBUG_PRINTK("wait_for_sndbuf: asoc=%p, timeo=%ld, msg_len=%zu\n",
6164 SCTP_DEBUG_PRINTK("%s: asoc=%p, timeo=%ld\n", __func__, asoc,
6220 static int sctp_wait_for_accept(struct sock *sk, long timeo)
6235 timeo = schedule_timeout(timeo);
6247 err = sock_intr_errno(timeo);
6252 if (!timeo)