Searched refs:current_timeo (Results 1 – 4 of 4) sorted by relevance
122 long current_timeo = *timeo_p; in sk_stream_wait_memory() local126 current_timeo = vm_wait = get_random_u32_below(HZ / 5) + 2; in sk_stream_wait_memory()145 ret = sk_wait_event(sk, ¤t_timeo, READ_ONCE(sk->sk_err) || in sk_stream_wait_memory()154 vm_wait -= current_timeo; in sk_stream_wait_memory()155 current_timeo = *timeo_p; in sk_stream_wait_memory()156 if (current_timeo != MAX_SCHEDULE_TIMEOUT && in sk_stream_wait_memory()157 (current_timeo -= vm_wait) < 0) in sk_stream_wait_memory()158 current_timeo = 0; in sk_stream_wait_memory()161 *timeo_p = current_timeo; in sk_stream_wait_memory()
915 long current_timeo; in csk_wait_memory() local919 current_timeo = *timeo_p; in csk_wait_memory()922 current_timeo = get_random_u32_below(HZ / 5) + 2; in csk_wait_memory()945 ret = sk_wait_event(sk, ¤t_timeo, sk->sk_err || in csk_wait_memory()954 vm_wait -= current_timeo; in csk_wait_memory()955 current_timeo = *timeo_p; in csk_wait_memory()956 if (current_timeo != MAX_SCHEDULE_TIMEOUT) { in csk_wait_memory()957 current_timeo -= vm_wait; in csk_wait_memory()958 if (current_timeo < 0) in csk_wait_memory()959 current_timeo = 0; in csk_wait_memory()[all …]
406 long current_timeo; in wait_for_states() local409 current_timeo = 200; in wait_for_states()424 if (!current_timeo) { in wait_for_states()429 err = sock_intr_errno(current_timeo); in wait_for_states()435 current_timeo = schedule_timeout(current_timeo); in wait_for_states()
9215 long current_timeo = *timeo_p; in sctp_wait_for_sndbuf() local9245 current_timeo = schedule_timeout(current_timeo); in sctp_wait_for_sndbuf()9250 *timeo_p = current_timeo; in sctp_wait_for_sndbuf()9327 long current_timeo = *timeo_p; in sctp_wait_for_connect() local9355 current_timeo = schedule_timeout(current_timeo); in sctp_wait_for_connect()9358 *timeo_p = current_timeo; in sctp_wait_for_connect()