Home
last modified time | relevance | path

Searched refs:timeout (Results 201 - 225 of 8095) sorted by relevance

12345678910>>...324

/foundation/multimedia/audio_framework/services/audio_service/common/src/
H A Dfutex_tool.cpp36 // FUTEX_WAIT using relative timeout value.
37 void TimeoutToRelativeTime(int64_t timeout, struct timespec &realtime) in TimeoutToRelativeTime() argument
39 int64_t timeoutNanoSec = timeout % SEC_TO_NANOSEC; in TimeoutToRelativeTime()
40 int64_t timeoutSec = timeout / SEC_TO_NANOSEC; in TimeoutToRelativeTime()
46 FutexCode FutexTool::FutexWait(std::atomic<uint32_t> *futexPtr, int64_t timeout) in FutexWait() argument
56 if (timeout > 0) { in FutexWait()
57 TimeoutToRelativeTime(timeout, waitTime); in FutexWait()
75 res = syscall(__NR_futex, futexPtr, FUTEX_WAIT, IS_NOT_READY, (timeout <= 0 ? NULL : &waitTime), NULL, 0); in FutexWait()
80 AUDIO_WARNING_LOG("wait:%{public}" PRId64"ns timeout, result:%{public}ld errno[%{public}d]:%{public}s", in FutexWait()
81 timeout, re in FutexWait()
[all...]
/foundation/multimodalinput/input/util/socket/test/
H A Duds_socket_test.cpp99 int32_t timeout = -1; in HWTEST_F() local
102 int32_t retResult = socObj.EpollWait(*events, MAX_EVENT_SIZE, timeout); in HWTEST_F()
109 int32_t timeout = 1001; in HWTEST_F() local
112 int32_t retResult = socObj.EpollWait(*events, MAX_EVENT_SIZE, timeout); in HWTEST_F()
119 int32_t timeout = -1001; in HWTEST_F() local
122 int32_t retResult = socObj.EpollWait(*events, MAX_EVENT_SIZE, timeout); in HWTEST_F()
129 int32_t timeout = -1001; in HWTEST_F() local
132 int32_t retResult = socObj.EpollWait(*events, MAX_EVENT_SIZE, timeout); in HWTEST_F()
/kernel/linux/linux-5.10/include/linux/
H A Dtty_ldisc.h155 extern int ldsem_down_read(struct ld_semaphore *sem, long timeout);
157 extern int ldsem_down_write(struct ld_semaphore *sem, long timeout);
164 long timeout);
166 long timeout);
168 # define ldsem_down_read_nested(sem, subclass, timeout) \
169 ldsem_down_read(sem, timeout)
170 # define ldsem_down_write_nested(sem, subclass, timeout) \
171 ldsem_down_write(sem, timeout)
/kernel/linux/linux-5.10/drivers/watchdog/
H A Debc-c384_wdt.c21 * The timeout value in minutes must fit in a single byte when sent to the
22 * watchdog timer; the maximum timeout possible is 15300 (255 * 60) seconds.
35 static unsigned timeout; variable
36 module_param(timeout, uint, 0);
37 MODULE_PARM_DESC(timeout, "Watchdog timeout in seconds (default="
42 unsigned t = wdev->timeout; in ebc_c384_wdt_start()
65 wdev->timeout = roundup(t, 60); in ebc_c384_wdt_set_timeout()
70 wdev->timeout = t; in ebc_c384_wdt_set_timeout()
106 wdd->timeout in ebc_c384_wdt_probe()
[all...]
H A Dni903x_wdt.c44 static unsigned int timeout; variable
45 module_param(timeout, uint, 0);
46 MODULE_PARM_DESC(timeout,
47 "Watchdog timeout in seconds. (default="
65 unsigned int timeout) in ni903x_wdd_set_timeout()
68 u32 counter = timeout * (1000000000 / NIWD_PERIOD_NS); in ni903x_wdd_set_timeout()
74 wdd->timeout = timeout; in ni903x_wdd_set_timeout()
116 ni903x_wdd_set_timeout(wdd, wdd->timeout); in ni903x_wdd_start()
207 wdd->timeout in ni903x_acpi_add()
64 ni903x_wdd_set_timeout(struct watchdog_device *wdd, unsigned int timeout) ni903x_wdd_set_timeout() argument
[all...]
H A Dalim1535_wdt.c23 #define WATCHDOG_TIMEOUT 60 /* 60 sec default timeout */
29 static u32 ali_timeout_bits; /* stores the computed timeout */
33 static int timeout = WATCHDOG_TIMEOUT; variable
34 module_param(timeout, int, 0);
35 MODULE_PARM_DESC(timeout,
36 "Watchdog timeout in seconds. (0 < timeout < 18000, default="
101 * Computes the timeout values needed
117 timeout = t; in ali_settimer()
225 return put_user(timeout, in ali_ioctl()
[all...]
H A Drave-sp-wdt.c31 * @max_timeout: Largest possible watchdog timeout setting
32 * @min_timeout: Smallest possible watchdog timeout setting
79 [4] = on ? wdd->timeout : 0, in rave_sp_wdt_legacy_configure()
91 [3] = (u8)wdd->timeout, in rave_sp_wdt_rdu_configure()
92 [4] = (u8)(wdd->timeout >> 8), in rave_sp_wdt_rdu_configure()
107 * - Its timeout duration
110 * the value of 'wdd->timeout'.
196 unsigned int timeout) in rave_sp_wdt_set_timeout()
198 wdd->timeout = timeout; in rave_sp_wdt_set_timeout()
195 rave_sp_wdt_set_timeout(struct watchdog_device *wdd, unsigned int timeout) rave_sp_wdt_set_timeout() argument
259 __le16 timeout = 0; rave_sp_wdt_probe() local
[all...]
H A Dvia_wdt.c53 /* User space timeout in seconds */
56 static int timeout = WDT_TIMEOUT; variable
57 module_param(timeout, int, 0);
58 MODULE_PARM_DESC(timeout, "Watchdog timeout in seconds, between 1 and 1023 "
103 /* calculate when the next userspace timeout will be */ in wdt_ping()
104 next_heartbeat = jiffies + wdd->timeout * HZ; in wdt_ping()
112 writel(wdd->timeout, wdt_mem + VIA_WDT_COUNT); in wdt_start()
131 wdd->timeout = new_timeout; in wdt_set_timeout()
205 if (timeout < in wdt_probe()
[all...]
H A Dbcm47xx_wdt.c31 static int timeout = WDT_DEFAULT_TIME; variable
34 module_param(timeout, int, 0);
35 MODULE_PARM_DESC(timeout, "Watchdog time in seconds. (default="
52 wdt->timer_set_ms(wdt, wdd->timeout * 1000); in bcm47xx_wdt_hard_keepalive()
78 pr_warn("timeout value must be 1<=x<=%d, using %d\n", in bcm47xx_wdt_hard_set_timeout()
83 wdd->timeout = new_time; in bcm47xx_wdt_hard_set_timeout()
109 u32 next_tick = min(wdt->wdd.timeout * 1000, wdt->max_timer_ms); in bcm47xx_wdt_soft_timer_tick()
123 atomic_set(&wdt->soft_ticks, wdd->timeout); in bcm47xx_wdt_soft_keepalive()
152 pr_warn("timeout value must be 1<=x<=%d, using %d\n", in bcm47xx_wdt_soft_set_timeout()
157 wdd->timeout in bcm47xx_wdt_soft_set_timeout()
[all...]
/kernel/linux/linux-6.6/drivers/watchdog/
H A Debc-c384_wdt.c21 * The timeout value in minutes must fit in a single byte when sent to the
22 * watchdog timer; the maximum timeout possible is 15300 (255 * 60) seconds.
35 static unsigned timeout; variable
36 module_param(timeout, uint, 0);
37 MODULE_PARM_DESC(timeout, "Watchdog timeout in seconds (default="
42 unsigned t = wdev->timeout; in ebc_c384_wdt_start()
65 wdev->timeout = roundup(t, 60); in ebc_c384_wdt_set_timeout()
70 wdev->timeout = t; in ebc_c384_wdt_set_timeout()
106 wdd->timeout in ebc_c384_wdt_probe()
[all...]
H A Dalim1535_wdt.c23 #define WATCHDOG_TIMEOUT 60 /* 60 sec default timeout */
29 static u32 ali_timeout_bits; /* stores the computed timeout */
33 static int timeout = WATCHDOG_TIMEOUT; variable
34 module_param(timeout, int, 0);
35 MODULE_PARM_DESC(timeout,
36 "Watchdog timeout in seconds. (0 < timeout < 18000, default="
101 * Computes the timeout values needed
117 timeout = t; in ali_settimer()
225 return put_user(timeout, in ali_ioctl()
[all...]
H A Dbcm47xx_wdt.c31 static int timeout = WDT_DEFAULT_TIME; variable
34 module_param(timeout, int, 0);
35 MODULE_PARM_DESC(timeout, "Watchdog time in seconds. (default="
52 wdt->timer_set_ms(wdt, wdd->timeout * 1000); in bcm47xx_wdt_hard_keepalive()
78 pr_warn("timeout value must be 1<=x<=%d, using %d\n", in bcm47xx_wdt_hard_set_timeout()
83 wdd->timeout = new_time; in bcm47xx_wdt_hard_set_timeout()
109 u32 next_tick = min(wdt->wdd.timeout * 1000, wdt->max_timer_ms); in bcm47xx_wdt_soft_timer_tick()
123 atomic_set(&wdt->soft_ticks, wdd->timeout); in bcm47xx_wdt_soft_keepalive()
152 pr_warn("timeout value must be 1<=x<=%d, using %d\n", in bcm47xx_wdt_soft_set_timeout()
157 wdd->timeout in bcm47xx_wdt_soft_set_timeout()
[all...]
H A Dni903x_wdt.c44 static unsigned int timeout; variable
45 module_param(timeout, uint, 0);
46 MODULE_PARM_DESC(timeout,
47 "Watchdog timeout in seconds. (default="
65 unsigned int timeout) in ni903x_wdd_set_timeout()
68 u32 counter = timeout * (1000000000 / NIWD_PERIOD_NS); in ni903x_wdd_set_timeout()
74 wdd->timeout = timeout; in ni903x_wdd_set_timeout()
116 ni903x_wdd_set_timeout(wdd, wdd->timeout); in ni903x_wdd_start()
207 wdd->timeout in ni903x_acpi_add()
64 ni903x_wdd_set_timeout(struct watchdog_device *wdd, unsigned int timeout) ni903x_wdd_set_timeout() argument
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Dtty_ldisc.h39 int ldsem_down_read(struct ld_semaphore *sem, long timeout);
41 int ldsem_down_write(struct ld_semaphore *sem, long timeout);
48 long timeout);
50 long timeout);
52 # define ldsem_down_read_nested(sem, subclass, timeout) \
53 ldsem_down_read(sem, timeout)
54 # define ldsem_down_write_nested(sem, subclass, timeout) \
55 ldsem_down_write(sem, timeout)
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/
H A Dintel_de.h52 u32 mask, u32 value, unsigned int timeout) in intel_de_wait_for_register()
54 return intel_wait_for_register(&i915->uncore, reg, mask, value, timeout); in intel_de_wait_for_register()
59 u32 mask, u32 value, unsigned int timeout) in intel_de_wait_for_register_fw()
61 return intel_wait_for_register_fw(&i915->uncore, reg, mask, value, timeout); in intel_de_wait_for_register_fw()
76 u32 mask, unsigned int timeout) in intel_de_wait_for_set()
78 return intel_de_wait_for_register(i915, reg, mask, mask, timeout); in intel_de_wait_for_set()
83 u32 mask, unsigned int timeout) in intel_de_wait_for_clear()
85 return intel_de_wait_for_register(i915, reg, mask, 0, timeout); in intel_de_wait_for_clear()
51 intel_de_wait_for_register(struct drm_i915_private *i915, i915_reg_t reg, u32 mask, u32 value, unsigned int timeout) intel_de_wait_for_register() argument
58 intel_de_wait_for_register_fw(struct drm_i915_private *i915, i915_reg_t reg, u32 mask, u32 value, unsigned int timeout) intel_de_wait_for_register_fw() argument
75 intel_de_wait_for_set(struct drm_i915_private *i915, i915_reg_t reg, u32 mask, unsigned int timeout) intel_de_wait_for_set() argument
82 intel_de_wait_for_clear(struct drm_i915_private *i915, i915_reg_t reg, u32 mask, unsigned int timeout) intel_de_wait_for_clear() argument
/kernel/linux/linux-6.6/tools/perf/bench/
H A Dfutex.h35 * @timeout: typically an absolute struct timespec (except where noted
49 futex_syscall(volatile u_int32_t *uaddr, int op, u_int32_t val, struct timespec *timeout, in futex_syscall() argument
52 return syscall(SYS_futex, uaddr, op | opflags, val, timeout, uaddr2, val3); in futex_syscall()
63 * futex_wait() - block on uaddr with optional timeout
64 * @timeout: relative timeout
67 futex_wait(u_int32_t *uaddr, u_int32_t val, struct timespec *timeout, int opflags) in futex_wait() argument
69 return futex_syscall(uaddr, FUTEX_WAIT, val, timeout, NULL, 0, opflags); in futex_wait()
86 futex_lock_pi(u_int32_t *uaddr, struct timespec *timeout, int opflags) in futex_lock_pi() argument
88 return futex_syscall(uaddr, FUTEX_LOCK_PI, 0, timeout, NUL in futex_lock_pi()
122 futex_wait_requeue_pi(u_int32_t *uaddr, u_int32_t val, u_int32_t *uaddr2, struct timespec *timeout, int opflags) futex_wait_requeue_pi() argument
[all...]
/third_party/curl/docs/examples/
H A Dmulti-legacy.c80 struct timeval timeout; in main() local
95 /* set a suitable timeout to play around with */ in main()
96 timeout.tv_sec = 1; in main()
97 timeout.tv_usec = 0; in main()
101 timeout.tv_sec = curl_timeo / 1000; in main()
102 if(timeout.tv_sec > 1) in main()
103 timeout.tv_sec = 1; in main()
105 timeout.tv_usec = (int)(curl_timeo % 1000) * 1000; in main()
133 /* Note that on some platforms 'timeout' may be modified by select(). in main()
135 rc = select(maxfd + 1, &fdread, &fdwrite, &fdexcep, &timeout); in main()
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/time/
H A Dclock_test.cc50 // once between now and (now + timeout)? If requested (and supported),
53 absl::Duration upper_bound, absl::Duration timeout, in SleepForBounded()
55 const absl::Time deadline = absl::Now() + timeout; in SleepForBounded()
87 absl::Duration timeout, in AssertSleepForBounded()
92 if (SleepForBounded(d, lower_bound, upper_bound, timeout, alarm_policy, in AssertSleepForBounded()
99 << (attempts == 1 ? "" : "s") << " over " << timeout in AssertSleepForBounded()
109 const absl::Duration timeout = 48 * d; in TEST() local
110 EXPECT_TRUE(AssertSleepForBounded(d, early, late, timeout, in TEST()
113 EXPECT_TRUE(AssertSleepForBounded(d, early, late, timeout, in TEST()
52 SleepForBounded(absl::Duration d, absl::Duration lower_bound, absl::Duration upper_bound, absl::Duration timeout, AlarmPolicy alarm_policy, int* attempts) SleepForBounded() argument
84 AssertSleepForBounded(absl::Duration d, absl::Duration early, absl::Duration late, absl::Duration timeout, AlarmPolicy alarm_policy) AssertSleepForBounded() argument
/kernel/linux/linux-5.10/drivers/soc/actions/
H A Dowl-sps-helper.c21 int timeout; in owl_sps_set_pg() local
35 for (timeout = 5000; timeout > 0; timeout -= 50) { in owl_sps_set_pg()
41 if (timeout <= 0) in owl_sps_set_pg()
/kernel/linux/linux-6.6/drivers/pmdomain/actions/
H A Dowl-sps-helper.c21 int timeout; in owl_sps_set_pg() local
35 for (timeout = 5000; timeout > 0; timeout -= 50) { in owl_sps_set_pg()
41 if (timeout <= 0) in owl_sps_set_pg()
/third_party/node/test/known_issues/
H A Dtest-vm-timeout-escape-queuemicrotask.js4 // Promises, nextTick, and queueMicrotask allow code to escape the timeout
16 const timeout = common.platformTimeout(100);
25 `escaped ${timeout}ms timeout at ${span}ms`);
38 { timeout, microtaskMode: 'afterScriptRun' },
42 message: `Script execution timed out after ${timeout}ms`,
/third_party/ltp/testcases/kernel/syscalls/epoll_pwait/
H A Depoll_pwait_var.h17 maxevents, int timeout, const sigset_t *sigmask) in do_epoll_pwait()
20 return epoll_pwait(epfd, events, maxevents, timeout, sigmask); in do_epoll_pwait()
24 if (timeout < 0) { in do_epoll_pwait()
27 ts.tv_sec = timeout / MSEC_PER_SEC; in do_epoll_pwait()
28 ts.tv_nsec = NSEC_PER_MSEC * (timeout % MSEC_PER_SEC); in do_epoll_pwait()
16 do_epoll_pwait(int epfd, struct epoll_event *events, int maxevents, int timeout, const sigset_t *sigmask) do_epoll_pwait() argument
/kernel/linux/linux-5.10/drivers/fpga/
H A Daltera-freeze-bridge.c38 * Poll status until status bit is set or we have a timeout.
41 u32 timeout, u32 req_ack) in altera_freeze_br_req_ack()
77 } while (timeout--); in altera_freeze_br_req_ack()
80 dev_err(dev, "%s timeout waiting for 0x%x\n", in altera_freeze_br_req_ack()
87 u32 timeout) in altera_freeze_br_do_freeze()
110 ret = altera_freeze_br_req_ack(priv, timeout, in altera_freeze_br_do_freeze()
122 u32 timeout) in altera_freeze_br_do_unfreeze()
147 ret = altera_freeze_br_req_ack(priv, timeout, in altera_freeze_br_do_unfreeze()
168 u32 timeout = 0; in altera_freeze_br_enable_set() local
173 timeout in altera_freeze_br_enable_set()
40 altera_freeze_br_req_ack(struct altera_freeze_br_data *priv, u32 timeout, u32 req_ack) altera_freeze_br_req_ack() argument
86 altera_freeze_br_do_freeze(struct altera_freeze_br_data *priv, u32 timeout) altera_freeze_br_do_freeze() argument
121 altera_freeze_br_do_unfreeze(struct altera_freeze_br_data *priv, u32 timeout) altera_freeze_br_do_unfreeze() argument
[all...]
/kernel/linux/linux-5.10/arch/arm/mach-exynos/
H A Dplatsmp.c215 unsigned int timeout = 16; in exynos_core_restart() local
221 while (timeout && !pmu_raw_readl(S5P_PMU_SPARE2)) { in exynos_core_restart()
222 timeout--; in exynos_core_restart()
225 if (timeout == 0) { in exynos_core_restart()
321 unsigned long timeout; in exynos_boot_secondary() local
344 timeout = 10; in exynos_boot_secondary()
349 if (timeout == 0) in exynos_boot_secondary()
351 timeout--; in exynos_boot_secondary()
355 if (timeout == 0) { in exynos_boot_secondary()
370 timeout in exynos_boot_secondary()
[all...]
/kernel/linux/linux-6.6/arch/arm/mach-exynos/
H A Dplatsmp.c213 unsigned int timeout = 16; in exynos_core_restart() local
219 while (timeout && !pmu_raw_readl(S5P_PMU_SPARE2)) { in exynos_core_restart()
220 timeout--; in exynos_core_restart()
223 if (timeout == 0) { in exynos_core_restart()
319 unsigned long timeout; in exynos_boot_secondary() local
342 timeout = 10; in exynos_boot_secondary()
347 if (timeout == 0) in exynos_boot_secondary()
349 timeout--; in exynos_boot_secondary()
353 if (timeout == 0) { in exynos_boot_secondary()
368 timeout in exynos_boot_secondary()
[all...]

Completed in 13 milliseconds

12345678910>>...324