Home
last modified time | relevance | path

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

/linux-4.1.27/net/core/
Dstream.c55 int sk_stream_wait_connect(struct sock *sk, long *timeo_p) in sk_stream_wait_connect() argument
67 if (!*timeo_p) in sk_stream_wait_connect()
70 return sock_intr_errno(*timeo_p); in sk_stream_wait_connect()
74 done = sk_wait_event(sk, timeo_p, in sk_stream_wait_connect()
117 int sk_stream_wait_memory(struct sock *sk, long *timeo_p) in sk_stream_wait_memory() argument
121 long current_timeo = *timeo_p; in sk_stream_wait_memory()
134 if (!*timeo_p) in sk_stream_wait_memory()
152 current_timeo = *timeo_p; in sk_stream_wait_memory()
158 *timeo_p = current_timeo; in sk_stream_wait_memory()
171 err = sock_intr_errno(*timeo_p); in sk_stream_wait_memory()
Ddatagram.c86 static int wait_for_more_packets(struct sock *sk, int *err, long *timeo_p, in wait_for_more_packets() argument
119 *timeo_p = schedule_timeout(*timeo_p); in wait_for_more_packets()
124 error = sock_intr_errno(*timeo_p); in wait_for_more_packets()
Dsock.c382 static int sock_set_timeout(long *timeo_p, char __user *optval, int optlen) in sock_set_timeout() argument
396 *timeo_p = 0; in sock_set_timeout()
404 *timeo_p = MAX_SCHEDULE_TIMEOUT; in sock_set_timeout()
408 *timeo_p = tv.tv_sec*HZ + (tv.tv_usec+(1000000/HZ-1))/(1000000/HZ); in sock_set_timeout()
/linux-4.1.27/net/tipc/
Dsocket.c109 static int tipc_wait_for_sndmsg(struct socket *sock, long *timeo_p);
799 static int tipc_wait_for_sndmsg(struct socket *sock, long *timeo_p) in tipc_wait_for_sndmsg() argument
812 if (!*timeo_p) in tipc_wait_for_sndmsg()
815 return sock_intr_errno(*timeo_p); in tipc_wait_for_sndmsg()
818 done = sk_wait_event(sk, timeo_p, !tsk->link_cong); in tipc_wait_for_sndmsg()
951 static int tipc_wait_for_sndpkt(struct socket *sock, long *timeo_p) in tipc_wait_for_sndpkt() argument
966 if (!*timeo_p) in tipc_wait_for_sndpkt()
969 return sock_intr_errno(*timeo_p); in tipc_wait_for_sndpkt()
972 done = sk_wait_event(sk, timeo_p, in tipc_wait_for_sndpkt()
1806 static int tipc_wait_for_connect(struct socket *sock, long *timeo_p) in tipc_wait_for_connect() argument
[all …]
/linux-4.1.27/net/sctp/
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);
6702 static int sctp_wait_for_packet(struct sock *sk, int *err, long *timeo_p) in sctp_wait_for_packet() argument
6740 *timeo_p = schedule_timeout(*timeo_p); in sctp_wait_for_packet()
6748 error = sock_intr_errno(*timeo_p); in sctp_wait_for_packet()
6933 static int sctp_wait_for_sndbuf(struct sctp_association *asoc, long *timeo_p, in sctp_wait_for_sndbuf() argument
6938 long current_timeo = *timeo_p; in sctp_wait_for_sndbuf()
6942 *timeo_p, msg_len); in sctp_wait_for_sndbuf()
6951 if (!*timeo_p) in sctp_wait_for_sndbuf()
[all …]
/linux-4.1.27/include/net/
Dsock.h908 int sk_stream_wait_connect(struct sock *sk, long *timeo_p);
909 int sk_stream_wait_memory(struct sock *sk, long *timeo_p);
910 void sk_stream_wait_close(struct sock *sk, long timeo_p);