Home
last modified time | relevance | path

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

/Linux-v4.19/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()
123 bool noblock = (*timeo_p ? false : true); in sk_stream_wait_memory()
136 if (!*timeo_p) { in sk_stream_wait_memory()
157 current_timeo = *timeo_p; in sk_stream_wait_memory()
163 *timeo_p = current_timeo; in sk_stream_wait_memory()
[all …]
Ddatagram.c85 int __skb_wait_for_more_packets(struct sock *sk, int *err, long *timeo_p, in __skb_wait_for_more_packets() argument
118 *timeo_p = schedule_timeout(*timeo_p); in __skb_wait_for_more_packets()
123 error = sock_intr_errno(*timeo_p); in __skb_wait_for_more_packets()
Dsock.c338 static int sock_set_timeout(long *timeo_p, char __user *optval, int optlen) in sock_set_timeout() argument
352 *timeo_p = 0; in sock_set_timeout()
360 *timeo_p = MAX_SCHEDULE_TIMEOUT; in sock_set_timeout()
364 *timeo_p = tv.tv_sec * HZ + DIV_ROUND_UP(tv.tv_usec, USEC_PER_SEC / HZ); in sock_set_timeout()
/Linux-v4.19/drivers/crypto/chelsio/chtls/
Dchtls_io.c923 struct sock *sk, long *timeo_p) in csk_wait_memory() argument
931 current_timeo = *timeo_p; in csk_wait_memory()
932 noblock = (*timeo_p ? false : true); in csk_wait_memory()
945 if (!*timeo_p) { in csk_wait_memory()
965 current_timeo = *timeo_p; in csk_wait_memory()
973 *timeo_p = current_timeo; in csk_wait_memory()
985 err = sock_intr_errno(*timeo_p); in csk_wait_memory()
/Linux-v4.19/net/sctp/
Dsocket.c88 static int sctp_wait_for_sndbuf(struct sctp_association *asoc, long *timeo_p,
90 static int sctp_wait_for_packet(struct sock *sk, int *err, long *timeo_p);
91 static int sctp_wait_for_connect(struct sctp_association *, long *timeo_p);
8266 static int sctp_wait_for_packet(struct sock *sk, int *err, long *timeo_p) in sctp_wait_for_packet() argument
8304 *timeo_p = schedule_timeout(*timeo_p); in sctp_wait_for_packet()
8312 error = sock_intr_errno(*timeo_p); in sctp_wait_for_packet()
8522 static int sctp_wait_for_sndbuf(struct sctp_association *asoc, long *timeo_p, in sctp_wait_for_sndbuf() argument
8526 long current_timeo = *timeo_p; in sctp_wait_for_sndbuf()
8531 *timeo_p, msg_len); in sctp_wait_for_sndbuf()
8542 if (!*timeo_p) in sctp_wait_for_sndbuf()
[all …]
/Linux-v4.19/include/net/
Dsock.h1005 int sk_stream_wait_connect(struct sock *sk, long *timeo_p);
1006 int sk_stream_wait_memory(struct sock *sk, long *timeo_p);
1007 void sk_stream_wait_close(struct sock *sk, long timeo_p);
/Linux-v4.19/net/tipc/
Dsocket.c2275 static int tipc_wait_for_connect(struct socket *sock, long *timeo_p) in tipc_wait_for_connect() argument
2285 if (!*timeo_p) in tipc_wait_for_connect()
2288 return sock_intr_errno(*timeo_p); in tipc_wait_for_connect()
2291 done = sk_wait_event(sk, timeo_p, in tipc_wait_for_connect()
/Linux-v4.19/include/linux/
Dskbuff.h3244 int __skb_wait_for_more_packets(struct sock *sk, int *err, long *timeo_p,