Home
last modified time | relevance | path

Searched refs:current_timeo (Results 1 – 2 of 2) sorted by relevance

/linux/net/core/
H A Dstream.c126 long current_timeo = *timeo_p; in sk_stream_wait_memory() local
130 current_timeo = vm_wait = get_random_u32_below(HZ / 5) + 2; in sk_stream_wait_memory()
149 ret = sk_wait_event(sk, &current_timeo, READ_ONCE(sk->sk_err) || in sk_stream_wait_memory()
158 vm_wait -= current_timeo; in sk_stream_wait_memory()
159 current_timeo = *timeo_p; in sk_stream_wait_memory()
160 if (current_timeo != MAX_SCHEDULE_TIMEOUT && in sk_stream_wait_memory()
161 (current_timeo -= vm_wait) < 0) in sk_stream_wait_memory()
162 current_timeo = 0; in sk_stream_wait_memory()
165 *timeo_p = current_timeo; in sk_stream_wait_memory()
/linux/net/sctp/
H A Dsocket.c9250 long current_timeo = *timeo_p; in sctp_wait_for_sndbuf() local
9282 current_timeo = schedule_timeout(current_timeo); in sctp_wait_for_sndbuf()
9287 *timeo_p = current_timeo; in sctp_wait_for_sndbuf()
9366 long current_timeo = *timeo_p; in sctp_wait_for_connect() local
9394 current_timeo = schedule_timeout(current_timeo); in sctp_wait_for_connect()
9397 *timeo_p = current_timeo; in sctp_wait_for_connect()