/third_party/node/deps/openssl/openssl/include/openssl/ |
H A D | http.h | 49 int timeout, int keep_alive); 71 int timeout, BIO *bio_err, const char *prog); 76 size_t max_resp_len, int timeout, int keep_alive); 83 size_t max_resp_len, int timeout); 93 size_t max_resp_len, int timeout, int keep_alive);
|
/third_party/python/Lib/multiprocessing/ |
H A D | popen_spawn_win32.py | 102 def wait(self, timeout=None): 104 if timeout is None: 107 msecs = max(0, int(timeout * 1000 + 0.5)) 119 return self.wait(timeout=0) 126 if self.wait(timeout=1.0) is None:
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/ |
H A D | EGLReusableSync.cpp | 39 EGLTime timeout, in clientWait() 55 if (timeout == 0) in clientWait() 62 NanoSeconds duration = (timeout == EGL_FOREVER) ? NanoSeconds::max() : NanoSeconds(timeout); in clientWait() 73 case std::cv_status::timeout: // Timed-out. in clientWait() 36 clientWait(const egl::Display *display, const gl::Context *context, EGLint flags, EGLTime timeout, EGLint *outResult) clientWait() argument
|
/third_party/openssl/include/openssl/ |
H A D | http.h | 49 int timeout, int keep_alive); 71 int timeout, BIO *bio_err, const char *prog); 76 size_t max_resp_len, int timeout, int keep_alive); 83 size_t max_resp_len, int timeout); 93 size_t max_resp_len, int timeout, int keep_alive);
|
/kernel/linux/linux-5.10/drivers/dma-buf/ |
H A D | dma-fence.c | 75 * up by timeout and gpu hang recovery code. Minimally that code must prevent 83 * time means. Some hang recovery code uses a fixed timeout, others a mix 85 * Drivers should not try to second guess timeout handling of fences from 175 * and timeout, gpu reset and gpu hang recovery code. Plus for integration 393 * or until timeout elapses 396 * @timeout: timeout value in jiffies, or MAX_SCHEDULE_TIMEOUT 399 * remaining timeout in jiffies on success. Other error values may be 410 dma_fence_wait_timeout(struct dma_fence *fence, bool intr, signed long timeout) in dma_fence_wait_timeout() argument 414 if (WARN_ON(timeout < in dma_fence_wait_timeout() 674 dma_fence_default_wait(struct dma_fence *fence, bool intr, signed long timeout) dma_fence_default_wait() argument 764 dma_fence_wait_any_timeout(struct dma_fence **fences, uint32_t count, bool intr, signed long timeout, uint32_t *idx) dma_fence_wait_any_timeout() argument [all...] |
/kernel/linux/linux-5.10/arch/powerpc/platforms/powermac/ |
H A D | nvram.c | 283 unsigned long timeout; in sm_erase_bank() local 291 timeout = 0; in sm_erase_bank() 293 if (++timeout > 1000000) { in sm_erase_bank() 294 printk(KERN_ERR "nvram: Sharp/Micron flash erase timeout !\n"); in sm_erase_bank() 314 unsigned long timeout; in sm_write_bank() local 324 timeout = 0; in sm_write_bank() 326 if (++timeout > 1000000) { in sm_write_bank() 327 printk(KERN_ERR "nvram: Sharp/Micron flash write timeout !\n"); in sm_write_bank() 348 unsigned long timeout; in amd_erase_bank() local 371 timeout in amd_erase_bank() 394 unsigned long timeout; amd_write_bank() local [all...] |
/kernel/linux/linux-5.10/arch/alpha/kernel/ |
H A D | smp.c | 172 /* Wait until hwrpb->txrdy is clear for cpu. Return -1 on timeout. */ 176 unsigned long timeout; in wait_for_txrdy() local 181 timeout = jiffies + 10*HZ; in wait_for_txrdy() 182 while (time_before(jiffies, timeout)) { in wait_for_txrdy() 211 goto timeout; in send_secondary_console_msg() 224 goto timeout; in send_secondary_console_msg() 227 timeout: in send_secondary_console_msg() 293 unsigned long timeout; in secondary_cpu_start() local 341 timeout = jiffies + 10*HZ; in secondary_cpu_start() 342 while (time_before(jiffies, timeout)) { in secondary_cpu_start() 362 unsigned long timeout; smp_boot_one_cpu() local [all...] |
/kernel/linux/linux-5.10/drivers/char/ |
H A D | dsp56k.c | 48 #define TIMEOUT 10 /* Host port timeout in number of tries */ 60 #define handshake(count, maxio, timeout, ENABLE, f) \ 66 for (t = 0; t < timeout && !ENABLE; t++) \ 100 long maxio, timeout; member 201 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_RECEIVE, in dsp56k_read() 211 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_RECEIVE, in dsp56k_read() 218 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_RECEIVE, in dsp56k_read() 230 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_RECEIVE, in dsp56k_read() 263 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_TRANSMIT, in dsp56k_write() 273 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_TRANSMI in dsp56k_write() [all...] |
/kernel/linux/linux-6.6/arch/alpha/kernel/ |
H A D | smp.c | 172 /* Wait until hwrpb->txrdy is clear for cpu. Return -1 on timeout. */ 176 unsigned long timeout; in wait_for_txrdy() local 181 timeout = jiffies + 10*HZ; in wait_for_txrdy() 182 while (time_before(jiffies, timeout)) { in wait_for_txrdy() 211 goto timeout; in send_secondary_console_msg() 224 goto timeout; in send_secondary_console_msg() 227 timeout: in send_secondary_console_msg() 293 unsigned long timeout; in secondary_cpu_start() local 341 timeout = jiffies + 10*HZ; in secondary_cpu_start() 342 while (time_before(jiffies, timeout)) { in secondary_cpu_start() 362 unsigned long timeout; smp_boot_one_cpu() local [all...] |
/kernel/linux/linux-6.6/arch/powerpc/platforms/powermac/ |
H A D | nvram.c | 283 unsigned long timeout; in sm_erase_bank() local 291 timeout = 0; in sm_erase_bank() 293 if (++timeout > 1000000) { in sm_erase_bank() 294 printk(KERN_ERR "nvram: Sharp/Micron flash erase timeout !\n"); in sm_erase_bank() 314 unsigned long timeout; in sm_write_bank() local 324 timeout = 0; in sm_write_bank() 326 if (++timeout > 1000000) { in sm_write_bank() 327 printk(KERN_ERR "nvram: Sharp/Micron flash write timeout !\n"); in sm_write_bank() 348 unsigned long timeout; in amd_erase_bank() local 371 timeout in amd_erase_bank() 394 unsigned long timeout; amd_write_bank() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/ |
H A D | i915_sw_fence.c | 661 struct i915_sw_fence *timeout = NULL, *not = NULL; in test_dma_fence() local 671 timeout = wrap_dma_fence(dma, delay); in test_dma_fence() 672 if (IS_ERR(timeout)) { in test_dma_fence() 673 err = PTR_ERR(timeout); in test_dma_fence() 684 if (i915_sw_fence_done(timeout) || i915_sw_fence_done(not)) { in test_dma_fence() 689 /* We round the timeout for the fence up to the next second */ in test_dma_fence() 700 if (i915_sw_fence_done(timeout) || i915_sw_fence_done(not)) { in test_dma_fence() 705 if (!wait_event_timeout(timeout->wait, in test_dma_fence() 706 i915_sw_fence_done(timeout), in test_dma_fence() 713 pr_err("No timeout fenc in test_dma_fence() [all...] |
/kernel/linux/linux-5.10/drivers/rtc/ |
H A D | rtc-snvs.c | 68 unsigned int timeout = 100; in rtc_read_lp_counter() local 79 } while (((diff < 0) || (diff > MAX_RTC_READ_DIFF_CYCLES)) && --timeout); in rtc_read_lp_counter() 80 if (!timeout) in rtc_read_lp_counter() 92 unsigned int timeout = 100; in rtc_read_lp_counter_lsb() local 99 } while (((diff < 0) || (diff > MAX_RTC_READ_DIFF_CYCLES)) && --timeout); in rtc_read_lp_counter_lsb() 100 if (!timeout) { in rtc_read_lp_counter_lsb() 113 unsigned int timeout = 1000; in rtc_write_sync_lp() local 126 } while (elapsed < 3 && --timeout); in rtc_write_sync_lp() 127 if (!timeout) { in rtc_write_sync_lp() 136 int timeout in snvs_rtc_enable() local [all...] |
/kernel/linux/linux-5.10/drivers/tty/ |
H A D | tty_ldisc.c | 313 __tty_ldisc_lock(struct tty_struct *tty, unsigned long timeout) in __tty_ldisc_lock() argument 315 return ldsem_down_write(&tty->ldisc_sem, timeout); in __tty_ldisc_lock() 319 __tty_ldisc_lock_nested(struct tty_struct *tty, unsigned long timeout) in __tty_ldisc_lock_nested() argument 322 LDISC_SEM_OTHER, timeout); in __tty_ldisc_lock_nested() 330 int tty_ldisc_lock(struct tty_struct *tty, unsigned long timeout) in tty_ldisc_lock() argument 339 ret = __tty_ldisc_lock(tty, timeout); in tty_ldisc_lock() 356 unsigned long timeout) in tty_ldisc_lock_pair_timeout() 361 ret = __tty_ldisc_lock(tty, timeout); in tty_ldisc_lock_pair_timeout() 363 ret = __tty_ldisc_lock_nested(tty2, timeout); in tty_ldisc_lock_pair_timeout() 371 ret = __tty_ldisc_lock(tty2, timeout); in tty_ldisc_lock_pair_timeout() 355 tty_ldisc_lock_pair_timeout(struct tty_struct *tty, struct tty_struct *tty2, unsigned long timeout) tty_ldisc_lock_pair_timeout() argument [all...] |
/kernel/linux/linux-5.10/net/smc/ |
H A D | smc_close.c | 49 static void smc_close_stream_wait(struct smc_sock *smc, long timeout) in smc_close_stream_wait() argument 54 if (!timeout) in smc_close_stream_wait() 62 while (!signal_pending(current) && timeout) { in smc_close_stream_wait() 65 rc = sk_wait_event(sk, &timeout, in smc_close_stream_wait() 197 long timeout; in smc_close_active() local 201 timeout = current->flags & PF_EXITING ? in smc_close_active() 225 smc_close_stream_wait(smc, timeout); in smc_close_active() 259 smc_close_stream_wait(smc, timeout); in smc_close_active() 446 long timeout; in smc_close_shutdown_write() local 449 timeout in smc_close_shutdown_write() [all...] |
/kernel/linux/linux-5.10/net/netfilter/ |
H A D | xt_IDLETIMER.c | 173 msecs_to_jiffies(info->timeout * 1000) + jiffies); in idletimer_tg_create() 229 tout = ktime_set(info->timeout, 0); in idletimer_tg_create_v1() 234 msecs_to_jiffies(info->timeout * 1000) + jiffies); in idletimer_tg_create_v1() 255 pr_debug("resetting timer %s, timeout period %u\n", in idletimer_tg_target() 256 info->label, info->timeout); in idletimer_tg_target() 259 msecs_to_jiffies(info->timeout * 1000) + jiffies); in idletimer_tg_target() 272 pr_debug("resetting timer %s, timeout period %u\n", in idletimer_tg_target_v1() 273 info->label, info->timeout); in idletimer_tg_target_v1() 276 ktime_t tout = ktime_set(info->timeout, 0); in idletimer_tg_target_v1() 280 msecs_to_jiffies(info->timeout * 100 in idletimer_tg_target_v1() [all...] |
/kernel/linux/linux-5.10/tools/testing/kunit/ |
H A D | kunit_tool_test.py | 317 self.linux_source_mock.run_kernel.assert_called_once_with(build_dir='.kunit', timeout=300) 325 build_dir='.kunit', timeout=300) 363 timeout = 3453 364 kunit.main(['exec', '--timeout', str(timeout)], self.linux_source_mock) 365 self.linux_source_mock.run_kernel.assert_called_once_with(build_dir='.kunit', timeout=timeout) 369 timeout = 3453 370 kunit.main(['run', '--timeout', str(timeout)], sel [all...] |
/kernel/linux/linux-5.10/init/ |
H A D | do_mounts.c | 487 unsigned int timeout; in mount_nfs_root() local 499 timeout = NFSROOT_TIMEOUT_MIN; in mount_nfs_root() 509 ssleep(timeout); in mount_nfs_root() 510 timeout <<= 1; in mount_nfs_root() 511 if (timeout > NFSROOT_TIMEOUT_MAX) in mount_nfs_root() 512 timeout = NFSROOT_TIMEOUT_MAX; in mount_nfs_root() 529 unsigned int timeout; in mount_cifs_root() local 536 timeout = CIFSROOT_TIMEOUT_MIN; in mount_cifs_root() 545 ssleep(timeout); in mount_cifs_root() 546 timeout << in mount_cifs_root() [all...] |
/kernel/linux/linux-6.6/drivers/watchdog/ |
H A D | f71808e_wdt.c | 69 #define WATCHDOG_TIMEOUT 60 /* 1 minute default timeout */ 80 static int timeout = WATCHDOG_TIMEOUT; /* default timeout in seconds */ variable 81 module_param(timeout, int, 0); 82 MODULE_PARM_DESC(timeout, 83 "Watchdog timeout in seconds. 1<= timeout <=" 106 " given initial timeout. Zero (default) disables this feature."); 213 static int fintek_wdt_set_timeout(struct watchdog_device *wdd, unsigned int timeout) in fintek_wdt_set_timeout() argument 217 if (timeout > in fintek_wdt_set_timeout() [all...] |
H A D | wdat_wdt.c | 59 static int timeout = WDAT_DEFAULT_TIMEOUT; variable 60 module_param(timeout, int, 0); 61 MODULE_PARM_DESC(timeout, "Watchdog timeout in seconds (default=" 276 unsigned int timeout) in wdat_wdt_set_timeout() 282 periods = timeout * 1000 / wdat->period; in wdat_wdt_set_timeout() 285 wdd->timeout = timeout; in wdat_wdt_set_timeout() 451 * Set initial timeout so that userspace has time to configure the in wdat_wdt_probe() 455 if (watchdog_timeout_invalid(&wdat->wdd, timeout)) { in wdat_wdt_probe() 275 wdat_wdt_set_timeout(struct watchdog_device *wdd, unsigned int timeout) wdat_wdt_set_timeout() argument [all...] |
/kernel/linux/linux-6.6/drivers/tty/ |
H A D | tty_ldisc.c | 287 __tty_ldisc_lock(struct tty_struct *tty, unsigned long timeout) in __tty_ldisc_lock() argument 289 return ldsem_down_write(&tty->ldisc_sem, timeout); in __tty_ldisc_lock() 293 __tty_ldisc_lock_nested(struct tty_struct *tty, unsigned long timeout) in __tty_ldisc_lock_nested() argument 296 LDISC_SEM_OTHER, timeout); in __tty_ldisc_lock_nested() 304 int tty_ldisc_lock(struct tty_struct *tty, unsigned long timeout) in tty_ldisc_lock() argument 313 ret = __tty_ldisc_lock(tty, timeout); in tty_ldisc_lock() 330 unsigned long timeout) in tty_ldisc_lock_pair_timeout() 335 ret = __tty_ldisc_lock(tty, timeout); in tty_ldisc_lock_pair_timeout() 337 ret = __tty_ldisc_lock_nested(tty2, timeout); in tty_ldisc_lock_pair_timeout() 345 ret = __tty_ldisc_lock(tty2, timeout); in tty_ldisc_lock_pair_timeout() 329 tty_ldisc_lock_pair_timeout(struct tty_struct *tty, struct tty_struct *tty2, unsigned long timeout) tty_ldisc_lock_pair_timeout() argument [all...] |
/kernel/linux/linux-6.6/drivers/rtc/ |
H A D | rtc-snvs.c | 68 unsigned int timeout = 100; in rtc_read_lp_counter() local 79 } while (((diff < 0) || (diff > MAX_RTC_READ_DIFF_CYCLES)) && --timeout); in rtc_read_lp_counter() 80 if (!timeout) in rtc_read_lp_counter() 92 unsigned int timeout = 100; in rtc_read_lp_counter_lsb() local 99 } while (((diff < 0) || (diff > MAX_RTC_READ_DIFF_CYCLES)) && --timeout); in rtc_read_lp_counter_lsb() 100 if (!timeout) { in rtc_read_lp_counter_lsb() 113 unsigned int timeout = 1000; in rtc_write_sync_lp() local 126 } while (elapsed < 3 && --timeout); in rtc_write_sync_lp() 127 if (!timeout) { in rtc_write_sync_lp() 136 int timeout in snvs_rtc_enable() local [all...] |
/kernel/linux/linux-6.6/drivers/scsi/smartpqi/ |
H A D | smartpqi_sis.c | 94 unsigned long timeout; in sis_wait_for_ctrl_ready_with_timeout() local 97 timeout = (timeout_secs * HZ) + jiffies; in sis_wait_for_ctrl_ready_with_timeout() 112 if (time_after(jiffies, timeout)) { in sis_wait_for_ctrl_ready_with_timeout() 177 unsigned long timeout; in sis_send_sync_cmd() local 215 timeout = (SIS_CMD_COMPLETE_TIMEOUT_SECS * HZ) + jiffies; in sis_send_sync_cmd() 221 if (time_after(jiffies, timeout)) in sis_send_sync_cmd() 359 unsigned long timeout; in sis_wait_for_doorbell_bit_to_clear() local 361 timeout = (SIS_DOORBELL_BIT_CLEAR_TIMEOUT_SECS * HZ) + jiffies; in sis_wait_for_doorbell_bit_to_clear() 373 if (time_after(jiffies, timeout)) { in sis_wait_for_doorbell_bit_to_clear() 458 unsigned long timeout; in sis_wait_for_fw_triage_completion() local [all...] |
/kernel/linux/linux-6.6/drivers/char/ |
H A D | dsp56k.c | 48 #define TIMEOUT 10 /* Host port timeout in number of tries */ 60 #define handshake(count, maxio, timeout, ENABLE, f) \ 66 for (t = 0; t < timeout && !ENABLE; t++) \ 100 long maxio, timeout; member 203 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_RECEIVE, in dsp56k_read() 213 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_RECEIVE, in dsp56k_read() 220 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_RECEIVE, in dsp56k_read() 232 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_RECEIVE, in dsp56k_read() 265 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_TRANSMIT, in dsp56k_write() 275 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_TRANSMI in dsp56k_write() [all...] |
/kernel/linux/linux-6.6/drivers/dma-buf/ |
H A D | dma-fence.c | 76 * up by timeout and gpu hang recovery code. Minimally that code must prevent 84 * time means. Some hang recovery code uses a fixed timeout, others a mix 86 * Drivers should not try to second guess timeout handling of fences from 210 * and timeout, gpu reset and gpu hang recovery code. Plus for integration 484 * or until timeout elapses 487 * @timeout: timeout value in jiffies, or MAX_SCHEDULE_TIMEOUT 490 * remaining timeout in jiffies on success. Other error values may be 501 dma_fence_wait_timeout(struct dma_fence *fence, bool intr, signed long timeout) in dma_fence_wait_timeout() argument 505 if (WARN_ON(timeout < in dma_fence_wait_timeout() 761 dma_fence_default_wait(struct dma_fence *fence, bool intr, signed long timeout) dma_fence_default_wait() argument 848 dma_fence_wait_any_timeout(struct dma_fence **fences, uint32_t count, bool intr, signed long timeout, uint32_t *idx) dma_fence_wait_any_timeout() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/selftests/ |
H A D | i915_sw_fence.c | 671 struct i915_sw_fence *timeout = NULL, *not = NULL; in test_dma_fence() local 681 timeout = wrap_dma_fence(dma, delay); in test_dma_fence() 682 if (IS_ERR(timeout)) { in test_dma_fence() 683 err = PTR_ERR(timeout); in test_dma_fence() 694 if (i915_sw_fence_done(timeout) || i915_sw_fence_done(not)) { in test_dma_fence() 699 /* We round the timeout for the fence up to the next second */ in test_dma_fence() 710 if (i915_sw_fence_done(timeout) || i915_sw_fence_done(not)) { in test_dma_fence() 715 if (!wait_event_timeout(timeout->wait, in test_dma_fence() 716 i915_sw_fence_done(timeout), in test_dma_fence() 723 pr_err("No timeout fenc in test_dma_fence() [all...] |