Home
last modified time | relevance | path

Searched refs:timeo_p (Results 1 – 5 of 5) sorted by relevance

/net/core/
Dstream.c56 int sk_stream_wait_connect(struct sock *sk, long *timeo_p) in sk_stream_wait_connect() argument
68 if (!*timeo_p) in sk_stream_wait_connect()
71 return sock_intr_errno(*timeo_p); in sk_stream_wait_connect()
75 done = sk_wait_event(sk, timeo_p, in sk_stream_wait_connect()
118 int sk_stream_wait_memory(struct sock *sk, long *timeo_p) in sk_stream_wait_memory() argument
122 long current_timeo = *timeo_p; in sk_stream_wait_memory()
135 if (!*timeo_p) in sk_stream_wait_memory()
153 current_timeo = *timeo_p; in sk_stream_wait_memory()
159 *timeo_p = current_timeo; in sk_stream_wait_memory()
179 err = sock_intr_errno(*timeo_p); in sk_stream_wait_memory()
Ddatagram.c89 int *err, long *timeo_p, in __skb_wait_for_more_packets() argument
122 *timeo_p = schedule_timeout(*timeo_p); in __skb_wait_for_more_packets()
127 error = sock_intr_errno(*timeo_p); in __skb_wait_for_more_packets()
Dsock.c365 static int sock_set_timeout(long *timeo_p, sockptr_t optval, int optlen, in sock_set_timeout() argument
401 *timeo_p = 0; in sock_set_timeout()
409 *timeo_p = MAX_SCHEDULE_TIMEOUT; in sock_set_timeout()
413 *timeo_p = tv.tv_sec * HZ + DIV_ROUND_UP((unsigned long)tv.tv_usec, USEC_PER_SEC / HZ); in sock_set_timeout()
/net/sctp/
Dsocket.c73 static int sctp_wait_for_sndbuf(struct sctp_association *asoc, long *timeo_p,
75 static int sctp_wait_for_packet(struct sock *sk, int *err, long *timeo_p);
76 static int sctp_wait_for_connect(struct sctp_association *, long *timeo_p);
8694 static int sctp_wait_for_packet(struct sock *sk, int *err, long *timeo_p) in sctp_wait_for_packet() argument
8732 *timeo_p = schedule_timeout(*timeo_p); in sctp_wait_for_packet()
8740 error = sock_intr_errno(*timeo_p); in sctp_wait_for_packet()
8944 static int sctp_wait_for_sndbuf(struct sctp_association *asoc, long *timeo_p, in sctp_wait_for_sndbuf() argument
8948 long current_timeo = *timeo_p; in sctp_wait_for_sndbuf()
8953 *timeo_p, msg_len); in sctp_wait_for_sndbuf()
8964 if (!*timeo_p) in sctp_wait_for_sndbuf()
[all …]
/net/tipc/
Dsocket.c151 static int tipc_wait_for_connect(struct socket *sock, long *timeo_p);
2522 static int tipc_wait_for_connect(struct socket *sock, long *timeo_p) in tipc_wait_for_connect() argument
2532 if (!*timeo_p) in tipc_wait_for_connect()
2535 return sock_intr_errno(*timeo_p); in tipc_wait_for_connect()
2540 done = sk_wait_event(sk, timeo_p, tipc_sk_connected(sk), in tipc_wait_for_connect()