Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
178 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.c364 static int sock_set_timeout(long *timeo_p, sockptr_t optval, int optlen, in sock_set_timeout() argument
400 *timeo_p = 0; in sock_set_timeout()
408 *timeo_p = MAX_SCHEDULE_TIMEOUT; in sock_set_timeout()
412 *timeo_p = tv.tv_sec * HZ + DIV_ROUND_UP((unsigned long)tv.tv_usec, USEC_PER_SEC / HZ); in sock_set_timeout()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_io.c911 struct sock *sk, long *timeo_p) in csk_wait_memory() argument
919 current_timeo = *timeo_p; in csk_wait_memory()
920 noblock = (*timeo_p ? false : true); in csk_wait_memory()
932 if (!*timeo_p) { in csk_wait_memory()
952 current_timeo = *timeo_p; in csk_wait_memory()
960 *timeo_p = current_timeo; in csk_wait_memory()
972 err = sock_intr_errno(*timeo_p); in csk_wait_memory()
/kernel/linux/linux-5.10/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);
8680 static int sctp_wait_for_packet(struct sock *sk, int *err, long *timeo_p) in sctp_wait_for_packet() argument
8718 *timeo_p = schedule_timeout(*timeo_p); in sctp_wait_for_packet()
8726 error = sock_intr_errno(*timeo_p); in sctp_wait_for_packet()
8930 static int sctp_wait_for_sndbuf(struct sctp_association *asoc, long *timeo_p, in sctp_wait_for_sndbuf() argument
8934 long current_timeo = *timeo_p; in sctp_wait_for_sndbuf()
8939 *timeo_p, msg_len); in sctp_wait_for_sndbuf()
8950 if (!*timeo_p) in sctp_wait_for_sndbuf()
[all …]
/kernel/linux/linux-5.10/include/net/
Dsock.h1094 int sk_stream_wait_connect(struct sock *sk, long *timeo_p);
1095 int sk_stream_wait_memory(struct sock *sk, long *timeo_p);
1096 void sk_stream_wait_close(struct sock *sk, long timeo_p);
/kernel/linux/linux-5.10/net/tipc/
Dsocket.c151 static int tipc_wait_for_connect(struct socket *sock, long *timeo_p);
2521 static int tipc_wait_for_connect(struct socket *sock, long *timeo_p) in tipc_wait_for_connect() argument
2531 if (!*timeo_p) in tipc_wait_for_connect()
2534 return sock_intr_errno(*timeo_p); in tipc_wait_for_connect()
2539 done = sk_wait_event(sk, timeo_p, tipc_sk_connected(sk), in tipc_wait_for_connect()
/kernel/linux/linux-5.10/include/linux/
Dskbuff.h3516 int *err, long *timeo_p,