• Home
  • Raw
  • Download

Lines Matching refs:timeo

309 static long caif_stream_data_wait(struct sock *sk, long timeo)  in caif_stream_data_wait()  argument
323 !timeo) in caif_stream_data_wait()
328 timeo = schedule_timeout(timeo); in caif_stream_data_wait()
339 return timeo; in caif_stream_data_wait()
354 long timeo; in caif_stream_recvmsg() local
370 timeo = sock_rcvtimeo(sk, flags&MSG_DONTWAIT); in caif_stream_recvmsg()
406 if (!timeo) in caif_stream_recvmsg()
411 timeo = caif_stream_data_wait(sk, timeo); in caif_stream_recvmsg()
414 err = sock_intr_errno(timeo); in caif_stream_recvmsg()
465 int wait_writeable, long timeo, int *err) in caif_wait_for_flow_on() argument
475 if (!timeo) in caif_wait_for_flow_on()
490 timeo = schedule_timeout(timeo); in caif_wait_for_flow_on()
493 return timeo; in caif_wait_for_flow_on()
501 int noblock, long timeo) in transmit_skb() argument
527 long timeo; in caif_seqpkt_sendmsg() local
547 timeo = sock_sndtimeo(sk, noblock); in caif_seqpkt_sendmsg()
548 timeo = caif_wait_for_flow_on(container_of(sk, struct caifsock, sk), in caif_seqpkt_sendmsg()
549 1, timeo, &ret); in caif_seqpkt_sendmsg()
578 ret = transmit_skb(skb, cf_sk, noblock, timeo); in caif_seqpkt_sendmsg()
602 long timeo; in caif_stream_sendmsg() local
611 timeo = sock_sndtimeo(sk, msg->msg_flags & MSG_DONTWAIT); in caif_stream_sendmsg()
612 timeo = caif_wait_for_flow_on(cf_sk, 1, timeo, &err); in caif_stream_sendmsg()
655 msg->msg_flags&MSG_DONTWAIT, timeo); in caif_stream_sendmsg()
750 long timeo; in caif_connect() local
867 timeo = sock_sndtimeo(sk, flags & O_NONBLOCK); in caif_connect()
871 timeo = wait_event_interruptible_timeout(*sk_sleep(sk), in caif_connect()
873 timeo); in caif_connect()
875 if (timeo < 0) in caif_connect()
879 if (timeo == 0 && sk->sk_state != CAIF_CONNECTED) in caif_connect()