Home
last modified time | relevance | path

Searched refs:current_timeo (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/net/core/
H A 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, READ_ONCE(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()
/kernel/linux/linux-6.6/net/core/
H A Dstream.c122 long current_timeo = *timeo_p; in sk_stream_wait_memory() local
126 current_timeo = vm_wait = get_random_u32_below(HZ / 5) + 2; in sk_stream_wait_memory()
145 ret = sk_wait_event(sk, &current_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()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/chtls/
H A Dchtls_io.c915 long current_timeo; in csk_wait_memory() local
919 current_timeo = *timeo_p; in csk_wait_memory()
922 current_timeo = (prandom_u32() % (HZ / 5)) + 2; in csk_wait_memory()
945 sk_wait_event(sk, &current_timeo, sk->sk_err || in csk_wait_memory()
951 vm_wait -= current_timeo; in csk_wait_memory()
952 current_timeo = *timeo_p; in csk_wait_memory()
953 if (current_timeo != MAX_SCHEDULE_TIMEOUT) { in csk_wait_memory()
954 current_timeo -= vm_wait; in csk_wait_memory()
955 if (current_timeo < 0) in csk_wait_memory()
956 current_timeo in csk_wait_memory()
[all...]
H A Dchtls_cm.c406 long current_timeo; in wait_for_states() local
409 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()
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/inline_crypto/chtls/
H A Dchtls_io.c915 long current_timeo; in csk_wait_memory() local
919 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, &current_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 in csk_wait_memory()
[all...]
H A Dchtls_cm.c406 long current_timeo; in wait_for_states() local
409 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()
/kernel/linux/linux-5.10/net/sctp/
H A Dsocket.c8959 long current_timeo = *timeo_p; in sctp_wait_for_sndbuf() local
8991 current_timeo = schedule_timeout(current_timeo); in sctp_wait_for_sndbuf()
8996 *timeo_p = current_timeo; in sctp_wait_for_sndbuf()
9071 long current_timeo = *timeo_p; in sctp_wait_for_connect() local
9099 current_timeo = schedule_timeout(current_timeo); in sctp_wait_for_connect()
9102 *timeo_p = current_timeo; in sctp_wait_for_connect()
/kernel/linux/linux-6.6/net/sctp/
H A Dsocket.c9204 long current_timeo = *timeo_p; in sctp_wait_for_sndbuf() local
9234 current_timeo = schedule_timeout(current_timeo); in sctp_wait_for_sndbuf()
9239 *timeo_p = current_timeo; in sctp_wait_for_sndbuf()
9316 long current_timeo = *timeo_p; in sctp_wait_for_connect() local
9344 current_timeo = schedule_timeout(current_timeo); in sctp_wait_for_connect()
9347 *timeo_p = current_timeo; in sctp_wait_for_connect()

Completed in 29 milliseconds