Home
last modified time | relevance | path

Searched refs:tout (Results 1 – 15 of 15) sorted by relevance

/linux/fs/xfs/
H A Dxfs_trans_ail.c543 long tout; in xfsaild_push() local
628 tout = 50; in xfsaild_push()
641 tout = 20; in xfsaild_push()
647 tout = 0; in xfsaild_push()
650 return tout; in xfsaild_push()
658 long tout = 0; /* milliseconds */ in xfsaild() local
670 if (tout && tout <= 20) in xfsaild()
711 tout = 0; in xfsaild()
716 if (tout) in xfsaild()
717 schedule_timeout(msecs_to_jiffies(tout)); in xfsaild()
[all …]
/linux/drivers/watchdog/
H A Ddw_wdt.c425 struct dw_wdt_timeout tout, *dst; in dw_wdt_handle_tops() local
436 tout.top_val = val; in dw_wdt_handle_tops()
437 tout.sec = tops[val] / dw_wdt->rate; in dw_wdt_handle_tops()
440 tout.msec = msec - ((u64)tout.sec * MSEC_PER_SEC); in dw_wdt_handle_tops()
448 if (tout.sec > dst->sec || (tout.sec == dst->sec && in dw_wdt_handle_tops()
449 tout.msec >= dst->msec)) in dw_wdt_handle_tops()
452 swap(*dst, tout); in dw_wdt_handle_tops()
455 dw_wdt->timeouts[val] = tout; in dw_wdt_handle_tops()
H A Dstm32_iwdg.c100 u32 tout, ptot, presc, iwdg_rlr, iwdg_ewcr, iwdg_pr, iwdg_sr; in stm32_iwdg_start() local
108 tout = clamp_t(unsigned int, wdd->timeout, in stm32_iwdg_start()
110 ptot = clamp_t(unsigned int, tout - wdd->pretimeout, in stm32_iwdg_start()
111 wdd->min_timeout, tout); in stm32_iwdg_start()
113 presc = DIV_ROUND_UP(tout * wdt->rate, RLR_MAX + 1); in stm32_iwdg_start()
118 iwdg_rlr = ((tout * wdt->rate) / presc) - 1; in stm32_iwdg_start()
/linux/net/netfilter/
H A Dxt_IDLETIMER.c223 ktime_t tout; in idletimer_tg_create_v1() local
227 tout = ktime_set(info->timeout, 0); in idletimer_tg_create_v1()
228 alarm_start_relative(&info->timer->alarm, tout); in idletimer_tg_create_v1()
274 ktime_t tout = ktime_set(info->timeout, 0); in idletimer_tg_target_v1() local
275 alarm_start_relative(&info->timer->alarm, tout); in idletimer_tg_target_v1()
381 ktime_t tout = alarm_expires_remaining(&info->timer->alarm); in idletimer_tg_checkentry_v1() local
382 struct timespec64 ktimespec = ktime_to_timespec64(tout); in idletimer_tg_checkentry_v1()
387 alarm_start_relative(&info->timer->alarm, tout); in idletimer_tg_checkentry_v1()
/linux/drivers/media/pci/intel/ipu6/
H A Dipu6-buttress.c227 int tout; in ipu6_buttress_ipc_send_bulk() local
251 tout = wait_for_completion_timeout(&ipc->send_complete, in ipu6_buttress_ipc_send_bulk()
253 if (!tout) { in ipu6_buttress_ipc_send_bulk()
271 tout = wait_for_completion_timeout(&ipc->recv_complete, in ipu6_buttress_ipc_send_bulk()
273 if (!tout) { in ipu6_buttress_ipc_send_bulk()
/linux/tools/testing/vsock/
H A Dvsock_test.c1609 time_t tout; in test_stream_leak_acceptq_server()
1612 tout = current_nsec() + ACCEPTQ_LEAK_RACE_TIMEOUT * NSEC_PER_SEC; in test_stream_leak_acceptq_server()
1619 } while (current_nsec() < tout); in test_stream_msgzcopy_leak_errq_client()
2006 time_t tout; in test_stream_transport_change_client()
2035 tout = current_nsec() + TRANSPORT_CHANGE_TIMEOUT * NSEC_PER_SEC; in test_stream_transport_change_client()
2092 } while (current_nsec() < tout);
1588 time_t tout; test_stream_leak_acceptq_client() local
1985 time_t tout; test_stream_transport_change_client() local
/linux/net/mptcp/
H A Dprotocol.c506 static void __mptcp_set_timeout(struct sock *sk, long tout) in __mptcp_set_timeout() argument
508 mptcp_sk(sk)->timer_ival = tout > 0 ? tout : TCP_RTO_MIN; in __mptcp_set_timeout()
522 long tout = 0; in mptcp_set_timeout() local
525 tout = max(tout, mptcp_timeout_from_subflow(subflow)); in mptcp_set_timeout()
526 __mptcp_set_timeout(sk, tout); in mptcp_set_timeout()
984 unsigned long tout; in mptcp_reset_rtx_timer() local
990 tout = mptcp_sk(sk)->timer_ival; in mptcp_reset_rtx_timer()
991 sk_reset_timer(sk, &sk->mptcp_retransmit_timer, jiffies + tout); in mptcp_reset_rtx_timer()
1500 long tout = 0; in mptcp_subflow_get_send() local
1516 tout = max(tout, mptcp_timeout_from_subflow(subflow)); in mptcp_subflow_get_send()
[all …]
H A Dprotocol.h937 static inline void mptcp_set_close_tout(struct sock *sk, unsigned long tout) in mptcp_set_close_tout() argument
940 inet_csk(sk)->icsk_mtup.probe_timestamp = tout ? : 1; in mptcp_set_close_tout()
/linux/sound/core/
H A Dpcm_native.c2168 long tout; in snd_pcm_drain() local
2207 tout = MAX_SCHEDULE_TIMEOUT; in snd_pcm_drain()
2209 tout = 100; in snd_pcm_drain()
2212 tout = max(t, tout); in snd_pcm_drain()
2214 tout = msecs_to_jiffies(tout); in snd_pcm_drain()
2216 tout = schedule_timeout(tout); in snd_pcm_drain()
2232 if (tout == 0) { in snd_pcm_drain()
H A Dpcm_lib.c1957 long wait_time, tout; in wait_for_avail() local
1998 tout = schedule_timeout(wait_time); in wait_for_avail()
2023 if (!tout) { in wait_for_avail()
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_vfpf.c145 int tout = 100, interval = 100; /* wait for 10 seconds */ in bnx2x_send_msg2pf() local
176 while ((tout >= 0) && (!*done)) { in bnx2x_send_msg2pf()
178 tout -= 1; in bnx2x_send_msg2pf()
197 int tout = 10, interval = 100; /* Wait for 1 sec */ in bnx2x_get_vf_id() local
209 } while (tout-- > 0); in bnx2x_get_vf_id()
H A Dbnx2x_cmn.h1235 int tout = 5000; /* Wait for 5 secs tops */ in bnx2x_wait_sp_comp() local
1237 while (tout--) { in bnx2x_wait_sp_comp()
H A Dbnx2x_main.c9230 int tout = 50; in bnx2x_func_wait_started() local
9260 BNX2X_F_STATE_STARTED && tout--) in bnx2x_func_wait_started()
11959 int tout = 5000; in bnx2x_get_hwinfo() local
11967 while (tout && REG_RD(bp, IGU_REG_RESET_MEMORIES)) { in bnx2x_get_hwinfo()
11968 tout--; in bnx2x_get_hwinfo()
/linux/tools/power/cpupower/po/
H A Dfr.po520 "On ne peut indiquer plus d'un paramètre --cpu, tout comme l'on ne peut\n"
634 " pas, ou bien n'est tout simplement pas chargé.\n"
932 "On ne peut indiquer plus d'un paramètre --cpu, tout comme l'on ne peut\n"
/linux/tools/power/x86/turbostat/
H A Dturbostat.c6676 struct timeval tout; in do_sleep() local
6689 tout = interval_tv; in do_sleep()
6690 retval = select(1, &readfds, NULL, NULL, &tout); in do_sleep()
6704 rest.tv_sec = (tout.tv_sec + tout.tv_usec / 1000000); in do_sleep()
6705 rest.tv_nsec = (tout.tv_usec % 1000000) * 1000; in do_sleep()