Home
last modified time | relevance | path

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

/openbmc/linux/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()
/openbmc/linux/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 = 0; 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()
/openbmc/linux/net/sctp/
H A Dsocket.c9215 long current_timeo = *timeo_p; in sctp_wait_for_sndbuf() local
9245 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() local
9355 current_timeo = schedule_timeout(current_timeo); in sctp_wait_for_connect()
9358 *timeo_p = current_timeo; in sctp_wait_for_connect()