Searched refs:timeo_p (Results 1 – 5 of 5) sorted by relevance
/net/core/ |
D | stream.c | 54 int sk_stream_wait_connect(struct sock *sk, long *timeo_p) in sk_stream_wait_connect() argument 66 if (!*timeo_p) in sk_stream_wait_connect() 69 return sock_intr_errno(*timeo_p); in sk_stream_wait_connect() 73 done = sk_wait_event(sk, timeo_p, in sk_stream_wait_connect() 116 int sk_stream_wait_memory(struct sock *sk, long *timeo_p) in sk_stream_wait_memory() argument 120 long current_timeo = *timeo_p; in sk_stream_wait_memory() 121 bool noblock = (*timeo_p ? false : true); in sk_stream_wait_memory() 134 if (!*timeo_p) { in sk_stream_wait_memory() 155 current_timeo = *timeo_p; in sk_stream_wait_memory() 161 *timeo_p = current_timeo; in sk_stream_wait_memory() [all …]
|
D | datagram.c | 86 int __skb_wait_for_more_packets(struct sock *sk, int *err, long *timeo_p, in __skb_wait_for_more_packets() argument 119 *timeo_p = schedule_timeout(*timeo_p); in __skb_wait_for_more_packets() 124 error = sock_intr_errno(*timeo_p); in __skb_wait_for_more_packets()
|
D | sock.c | 341 static int sock_set_timeout(long *timeo_p, char __user *optval, int optlen) in sock_set_timeout() argument 355 *timeo_p = 0; in sock_set_timeout() 363 *timeo_p = MAX_SCHEDULE_TIMEOUT; in sock_set_timeout() 367 *timeo_p = tv.tv_sec*HZ + (tv.tv_usec+(1000000/HZ-1))/(1000000/HZ); in sock_set_timeout()
|
/net/tipc/ |
D | socket.c | 115 static int tipc_wait_for_sndmsg(struct socket *sock, long *timeo_p); 792 static int tipc_wait_for_sndmsg(struct socket *sock, long *timeo_p) in tipc_wait_for_sndmsg() argument 805 if (!*timeo_p) in tipc_wait_for_sndmsg() 808 return sock_intr_errno(*timeo_p); in tipc_wait_for_sndmsg() 811 done = sk_wait_event(sk, timeo_p, !tsk->link_cong); in tipc_wait_for_sndmsg() 946 static int tipc_wait_for_sndpkt(struct socket *sock, long *timeo_p) in tipc_wait_for_sndpkt() argument 961 if (!*timeo_p) in tipc_wait_for_sndpkt() 964 return sock_intr_errno(*timeo_p); in tipc_wait_for_sndpkt() 967 done = sk_wait_event(sk, timeo_p, in tipc_wait_for_sndpkt() 1845 static int tipc_wait_for_connect(struct socket *sock, long *timeo_p) in tipc_wait_for_connect() argument [all …]
|
/net/sctp/ |
D | socket.c | 85 static int sctp_wait_for_sndbuf(struct sctp_association *asoc, 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); 7224 static int sctp_wait_for_packet(struct sock *sk, int *err, long *timeo_p) in sctp_wait_for_packet() argument 7262 *timeo_p = schedule_timeout(*timeo_p); in sctp_wait_for_packet() 7270 error = sock_intr_errno(*timeo_p); in sctp_wait_for_packet() 7457 static int sctp_wait_for_sndbuf(struct sctp_association *asoc, long *timeo_p, in sctp_wait_for_sndbuf() argument 7461 long current_timeo = *timeo_p; in sctp_wait_for_sndbuf() 7466 *timeo_p, msg_len); in sctp_wait_for_sndbuf() 7477 if (!*timeo_p) in sctp_wait_for_sndbuf() [all …]
|