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 = (prandom_u32() % (HZ / 5)) + 2; in sk_stream_wait_memory()145 sk_wait_event(sk, ¤t_timeo, sk->sk_err || in sk_stream_wait_memory()152 vm_wait -= current_timeo; in sk_stream_wait_memory()153 current_timeo = *timeo_p; in sk_stream_wait_memory()154 if (current_timeo != MAX_SCHEDULE_TIMEOUT && in sk_stream_wait_memory()155 (current_timeo -= vm_wait) < 0) in sk_stream_wait_memory()156 current_timeo = 0; in sk_stream_wait_memory()159 *timeo_p = current_timeo; in sk_stream_wait_memory()
923 long current_timeo; in csk_wait_memory() local927 current_timeo = *timeo_p; in csk_wait_memory()930 current_timeo = (prandom_u32() % (HZ / 5)) + 2; in csk_wait_memory()953 sk_wait_event(sk, ¤t_timeo, sk->sk_err || in csk_wait_memory()959 vm_wait -= current_timeo; in csk_wait_memory()960 current_timeo = *timeo_p; in csk_wait_memory()961 if (current_timeo != MAX_SCHEDULE_TIMEOUT) { in csk_wait_memory()962 current_timeo -= vm_wait; in csk_wait_memory()963 if (current_timeo < 0) in csk_wait_memory()964 current_timeo = 0; in csk_wait_memory()[all …]
365 long current_timeo; in wait_for_states() local368 current_timeo = 200; in wait_for_states()383 if (!current_timeo) { in wait_for_states()388 err = sock_intr_errno(current_timeo); in wait_for_states()394 current_timeo = schedule_timeout(current_timeo); in wait_for_states()
9028 long current_timeo = *timeo_p; in sctp_wait_for_sndbuf() local9060 current_timeo = schedule_timeout(current_timeo); in sctp_wait_for_sndbuf()9065 *timeo_p = current_timeo; in sctp_wait_for_sndbuf()9140 long current_timeo = *timeo_p; in sctp_wait_for_connect() local9168 current_timeo = schedule_timeout(current_timeo); in sctp_wait_for_connect()9171 *timeo_p = current_timeo; in sctp_wait_for_connect()