Searched refs:current_timeo (Results 1 – 4 of 4) sorted by relevance
122 long current_timeo = *timeo_p; in sk_stream_wait_memory() local127 current_timeo = vm_wait = (prandom_u32() % (HZ / 5)) + 2; in sk_stream_wait_memory()149 sk_wait_event(sk, ¤t_timeo, sk->sk_err || in sk_stream_wait_memory()156 vm_wait -= current_timeo; in sk_stream_wait_memory()157 current_timeo = *timeo_p; in sk_stream_wait_memory()158 if (current_timeo != MAX_SCHEDULE_TIMEOUT && in sk_stream_wait_memory()159 (current_timeo -= vm_wait) < 0) in sk_stream_wait_memory()160 current_timeo = 0; in sk_stream_wait_memory()163 *timeo_p = current_timeo; in sk_stream_wait_memory()
927 long current_timeo; in csk_wait_memory() local931 current_timeo = *timeo_p; in csk_wait_memory()935 current_timeo = (prandom_u32() % (HZ / 5)) + 2; in csk_wait_memory()958 sk_wait_event(sk, ¤t_timeo, sk->sk_err || in csk_wait_memory()964 vm_wait -= current_timeo; in csk_wait_memory()965 current_timeo = *timeo_p; in csk_wait_memory()966 if (current_timeo != MAX_SCHEDULE_TIMEOUT) { in csk_wait_memory()967 current_timeo -= vm_wait; in csk_wait_memory()968 if (current_timeo < 0) in csk_wait_memory()969 current_timeo = 0; in csk_wait_memory()[all …]
367 long current_timeo; in wait_for_states() local370 current_timeo = 200; in wait_for_states()385 if (!current_timeo) { in wait_for_states()390 err = sock_intr_errno(current_timeo); in wait_for_states()396 current_timeo = schedule_timeout(current_timeo); in wait_for_states()
8526 long current_timeo = *timeo_p; in sctp_wait_for_sndbuf() local8555 current_timeo = schedule_timeout(current_timeo); in sctp_wait_for_sndbuf()8560 *timeo_p = current_timeo; in sctp_wait_for_sndbuf()8640 long current_timeo = *timeo_p; in sctp_wait_for_connect() local8668 current_timeo = schedule_timeout(current_timeo); in sctp_wait_for_connect()8671 *timeo_p = current_timeo; in sctp_wait_for_connect()