Lines Matching refs:timeout
404 static int tipc_sk_sock_err(struct socket *sock, long *timeout) in tipc_sk_sock_err() argument
418 if (!*timeout) in tipc_sk_sock_err()
421 return sock_intr_errno(*timeout); in tipc_sk_sock_err()
556 long timeout = msecs_to_jiffies(CONN_TIMEOUT_DEFAULT); in __tipc_shutdown() local
561 tipc_wait_for_cond(sock, &timeout, (!tsk->cong_link_cnt && in __tipc_shutdown()
845 struct msghdr *msg, size_t dlen, long timeout) in tipc_sendmcast() argument
860 rc = tipc_wait_for_cond(sock, &timeout, !tsk->cong_link_cnt); in tipc_sendmcast()
959 int dlen, long timeout) in tipc_send_group_unicast() argument
976 rc = tipc_wait_for_cond(sock, &timeout, in tipc_send_group_unicast()
1003 int dlen, long timeout) in tipc_send_group_anycast() argument
1053 rc = tipc_wait_for_cond(sock, &timeout, in tipc_send_group_anycast()
1085 int dlen, long timeout) in tipc_send_group_bcast() argument
1101 rc = tipc_wait_for_cond(sock, &timeout, in tipc_send_group_bcast()
1159 int dlen, long timeout) in tipc_send_group_mcast() argument
1180 return tipc_send_group_unicast(sock, m, dlen, timeout); in tipc_send_group_mcast()
1184 return tipc_send_group_bcast(sock, m, dlen, timeout); in tipc_send_group_mcast()
1416 long timeout = sock_sndtimeo(sk, m->msg_flags & MSG_DONTWAIT); in __tipc_sendmsg() local
1437 return tipc_send_group_bcast(sock, m, dlen, timeout); in __tipc_sendmsg()
1439 return tipc_send_group_anycast(sock, m, dlen, timeout); in __tipc_sendmsg()
1441 return tipc_send_group_unicast(sock, m, dlen, timeout); in __tipc_sendmsg()
1443 return tipc_send_group_mcast(sock, m, dlen, timeout); in __tipc_sendmsg()
1470 return tipc_sendmcast(sock, ua, m, dlen, timeout); in __tipc_sendmsg()
1483 rc = tipc_wait_for_cond(sock, &timeout, in __tipc_sendmsg()
1525 if (dlen && timeout) { in __tipc_sendmsg()
1526 timeout = msecs_to_jiffies(timeout); in __tipc_sendmsg()
1527 tipc_wait_for_connect(sock, &timeout); in __tipc_sendmsg()
1561 long timeout = sock_sndtimeo(sk, m->msg_flags & MSG_DONTWAIT); in __tipc_sendstream() local
1587 rc = tipc_wait_for_cond(sock, &timeout, in __tipc_sendstream()
1898 long timeout; in tipc_recvmsg() local
1909 timeout = sock_rcvtimeo(sk, flags & MSG_DONTWAIT); in tipc_recvmsg()
1913 rc = tipc_wait_for_rcvmsg(sock, &timeout); in tipc_recvmsg()
2026 long timeout; in tipc_recvstream() local
2039 timeout = sock_rcvtimeo(sk, flags & MSG_DONTWAIT); in tipc_recvstream()
2043 rc = tipc_wait_for_rcvmsg(sock, &timeout); in tipc_recvstream()
2580 long timeout = (flags & O_NONBLOCK) ? 0 : tsk->conn_timeout; in tipc_connect() local
2625 if (!timeout) in tipc_connect()
2639 if (!timeout) { in tipc_connect()
2644 timeout = msecs_to_jiffies(timeout); in tipc_connect()
2646 res = tipc_wait_for_connect(sock, &timeout); in tipc_connect()