Lines Matching refs:timeo
312 static long caif_stream_data_wait(struct sock *sk, long timeo)
326 !timeo)
331 timeo = schedule_timeout(timeo);
342 return timeo;
358 long timeo;
374 timeo = sock_rcvtimeo(sk, flags&MSG_DONTWAIT);
410 if (!timeo)
415 timeo = caif_stream_data_wait(sk, timeo);
418 err = sock_intr_errno(timeo);
469 int wait_writeable, long timeo, int *err)
479 if (!timeo)
494 timeo = schedule_timeout(timeo);
497 return timeo;
505 int noblock, long timeo)
531 long timeo;
550 timeo = sock_sndtimeo(sk, noblock);
551 timeo = caif_wait_for_flow_on(container_of(sk, struct caifsock, sk),
552 1, timeo, &ret);
581 ret = transmit_skb(skb, cf_sk, noblock, timeo);
605 long timeo;
614 timeo = sock_sndtimeo(sk, msg->msg_flags & MSG_DONTWAIT);
615 timeo = caif_wait_for_flow_on(cf_sk, 1, timeo, &err);
658 msg->msg_flags&MSG_DONTWAIT, timeo);
753 long timeo;
866 timeo = sock_sndtimeo(sk, flags & O_NONBLOCK);
870 timeo = wait_event_interruptible_timeout(*sk_sleep(sk),
872 timeo);
874 if (timeo < 0)
878 if (timeo == 0 && sk->sk_state != CAIF_CONNECTED)