Home
last modified time | relevance | path

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

/Linux-v5.4/net/core/
Dstream.c122 long current_timeo = *timeo_p; in sk_stream_wait_memory() local
126 current_timeo = vm_wait = (prandom_u32() % (HZ / 5)) + 2; in sk_stream_wait_memory()
145 sk_wait_event(sk, &current_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()
/Linux-v5.4/drivers/crypto/chelsio/chtls/
Dchtls_io.c923 long current_timeo; in csk_wait_memory() local
927 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, &current_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 …]
Dchtls_cm.c365 long current_timeo; in wait_for_states() local
368 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()
/Linux-v5.4/net/sctp/
Dsocket.c9028 long current_timeo = *timeo_p; in sctp_wait_for_sndbuf() local
9060 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() local
9168 current_timeo = schedule_timeout(current_timeo); in sctp_wait_for_connect()
9171 *timeo_p = current_timeo; in sctp_wait_for_connect()