Searched defs:timeo_p (Results 1 - 5 of 5) sorted by relevance

/net/core/
H A Dstream.c51 * @timeo_p: for how long to wait
55 int sk_stream_wait_connect(struct sock *sk, long *timeo_p) argument
67 if (!*timeo_p)
70 return sock_intr_errno(*timeo_p);
74 done = sk_wait_event(sk, timeo_p,
115 * @timeo_p: for how long
117 int sk_stream_wait_memory(struct sock *sk, long *timeo_p) argument
121 long current_timeo = *timeo_p;
134 if (!*timeo_p)
152 current_timeo = *timeo_p;
[all...]
H A Ddatagram.c85 static int wait_for_more_packets(struct sock *sk, int *err, long *timeo_p, argument
118 *timeo_p = schedule_timeout(*timeo_p);
123 error = sock_intr_errno(*timeo_p);
H A Dsock.c383 static int sock_set_timeout(long *timeo_p, char __user *optval, int optlen) argument
397 *timeo_p = 0;
405 *timeo_p = MAX_SCHEDULE_TIMEOUT;
409 *timeo_p = tv.tv_sec*HZ + (tv.tv_usec+(1000000/HZ-1))/(1000000/HZ);
/net/tipc/
H A Dsocket.c105 static int tipc_wait_for_sndmsg(struct socket *sock, long *timeo_p);
854 static int tipc_wait_for_sndmsg(struct socket *sock, long *timeo_p) argument
867 if (!*timeo_p)
870 return sock_intr_errno(*timeo_p);
873 done = sk_wait_event(sk, timeo_p, !tsk->link_cong);
1006 static int tipc_wait_for_sndpkt(struct socket *sock, long *timeo_p) argument
1021 if (!*timeo_p)
1024 return sock_intr_errno(*timeo_p);
1027 done = sk_wait_event(sk, timeo_p,
1802 static int tipc_wait_for_connect(struct socket *sock, long *timeo_p) argument
[all...]
/net/sctp/
H A Dsocket.c85 static int sctp_wait_for_sndbuf(struct sctp_association *, long *timeo_p,
87 static int sctp_wait_for_packet(struct sock *sk, int *err, long *timeo_p);
88 static int sctp_wait_for_connect(struct sctp_association *, long *timeo_p);
6684 static int sctp_wait_for_packet(struct sock *sk, int *err, long *timeo_p) argument
6722 *timeo_p = schedule_timeout(*timeo_p);
6730 error = sock_intr_errno(*timeo_p);
6919 static int sctp_wait_for_sndbuf(struct sctp_association *asoc, long *timeo_p, argument
6924 long current_timeo = *timeo_p;
6928 *timeo_p, msg_le
7027 sctp_wait_for_connect(struct sctp_association *asoc, long *timeo_p) argument
[all...]

Completed in 85 milliseconds