Lines Matching defs:timeout

53 #define CONN_TIMEOUT_DEFAULT    8000    /* default connect timeout = 8s */
390 static int tipc_sk_sock_err(struct socket *sock, long *timeout)
404 if (!*timeout)
407 return sock_intr_errno(*timeout);
542 long timeout = msecs_to_jiffies(CONN_TIMEOUT_DEFAULT);
547 tipc_wait_for_cond(sock, &timeout, (!tsk->cong_link_cnt &&
815 * @timeout: timeout to wait for wakeup
821 struct msghdr *msg, size_t dlen, long timeout)
837 rc = tipc_wait_for_cond(sock, &timeout, !tsk->cong_link_cnt);
930 * @timeout: timeout to wait for wakeup
936 int dlen, long timeout)
953 rc = tipc_wait_for_cond(sock, &timeout,
974 * @timeout: timeout to wait for wakeup
980 int dlen, long timeout)
1033 rc = tipc_wait_for_cond(sock, &timeout,
1059 * @timeout: timeout to wait for wakeup
1065 int dlen, long timeout)
1081 rc = tipc_wait_for_cond(sock, &timeout,
1133 * @timeout: timeout to wait for wakeup
1139 int dlen, long timeout)
1164 return tipc_send_group_unicast(sock, m, dlen, timeout);
1168 return tipc_send_group_bcast(sock, m, dlen, timeout);
1403 long timeout = sock_sndtimeo(sk, m->msg_flags & MSG_DONTWAIT);
1426 return tipc_send_group_bcast(sock, m, dlen, timeout);
1428 return tipc_send_group_anycast(sock, m, dlen, timeout);
1430 return tipc_send_group_unicast(sock, m, dlen, timeout);
1432 return tipc_send_group_mcast(sock, m, dlen, timeout);
1458 return tipc_sendmcast(sock, seq, m, dlen, timeout);
1474 rc = tipc_wait_for_cond(sock, &timeout,
1515 if (dlen && timeout) {
1516 timeout = msecs_to_jiffies(timeout);
1517 tipc_wait_for_connect(sock, &timeout);
1551 long timeout = sock_sndtimeo(sk, m->msg_flags & MSG_DONTWAIT);
1577 rc = tipc_wait_for_cond(sock, &timeout,
1896 long timeout;
1907 timeout = sock_rcvtimeo(sk, flags & MSG_DONTWAIT);
1911 rc = tipc_wait_for_rcvmsg(sock, &timeout);
2023 long timeout;
2036 timeout = sock_rcvtimeo(sk, flags & MSG_DONTWAIT);
2040 rc = tipc_wait_for_rcvmsg(sock, &timeout);
2573 long timeout = (flags & O_NONBLOCK) ? 0 : tsk->conn_timeout;
2617 if (!timeout)
2631 if (!timeout) {
2636 timeout = msecs_to_jiffies(timeout);
2637 /* Wait until an 'ACK' or 'RST' arrives, or a timeout occurs */
2638 res = tipc_wait_for_connect(sock, &timeout);