/openbmc/linux/drivers/watchdog/ |
H A D | softdog.c | 137 hrtimer_start(&softdog_ticktock, ktime_set(w->timeout, 0), in softdog_ping() 143 ktime_set(w->timeout - w->pretimeout, 0), in softdog_ping() 179 .timeout = TIMER_MARGIN, 208 soft_noboot, softdog_dev.timeout, soft_panic, nowayout); in softdog_init()
|
H A D | watchdog_dev.c | 80 unsigned int t = wdd->timeout * 1000; in watchdog_need_worker() 369 unsigned int timeout) in watchdog_set_timeout() argument 376 if (watchdog_timeout_invalid(wdd, timeout)) in watchdog_set_timeout() 380 err = wdd->ops->set_timeout(wdd, timeout); in watchdog_set_timeout() 383 wdd->timeout = timeout; in watchdog_set_timeout() 385 if (wdd->pretimeout >= wdd->timeout) in watchdog_set_timeout() 402 unsigned int timeout) in watchdog_set_pretimeout() argument 415 wdd->pretimeout = timeout; in watchdog_set_pretimeout() 522 static DEVICE_ATTR_RO(timeout); 821 if (wdd->timeout == 0) { in watchdog_ioctl() [all …]
|
/openbmc/linux/tools/testing/selftests/mm/ |
H A D | mrelease_test.c | 23 int timeout = 10; /* 10sec timeout to get killed */ in alloc_noexit() local 44 while (getppid() == ppid && timeout > 0) { in alloc_noexit() 46 timeout--; in alloc_noexit() 51 return (timeout > 0) ? KSFT_PASS : KSFT_FAIL; in alloc_noexit()
|
/openbmc/linux/Documentation/devicetree/bindings/watchdog/ |
H A D | mediatek,mtk-wdt.yaml | 13 The watchdog supports a pre-timeout interrupt that fires 14 timeout-sec/2 before the expiry. 51 - description: Watchdog pre-timeout (bark) interrupt 85 timeout-sec = <10>;
|
H A D | nuvoton,npcm-wdt.txt | 4 The watchdog supports a pre-timeout interrupt that fires 10ms before the 21 - timeout-sec : Contains the watchdog timeout in seconds
|
/openbmc/openbmc-tools/reboot/ |
H A D | petitboot.exp | 3 set timeout 300 9 timeout { exit 1 }
|
/openbmc/openpower-debug-collector/watchdog/ |
H A D | watchdog_main.hpp | 19 void triggerHostbootDump(const uint32_t timeout); 27 void handleSbeBootError(struct pdbg_target* procTarget, const uint32_t timeout);
|
/openbmc/linux/net/vmw_vsock/ |
H A D | af_vsock.c | 1357 long timeout; in vsock_connect() local 1451 timeout)) in vsock_connect() 1459 timeout = schedule_timeout(timeout); in vsock_connect() 1502 long timeout; in vsock_accept() local 1529 timeout = schedule_timeout(timeout); in vsock_accept() 1787 long timeout; in vsock_connectible_sendmsg() local 1860 timeout = wait_woken(&wait, TASK_INTERRUPTIBLE, timeout); in vsock_connectible_sendmsg() 1961 if (timeout == 0) { in vsock_connectible_wait_data() 1973 timeout = schedule_timeout(timeout); in vsock_connectible_wait_data() 2008 long timeout; in __vsock_stream_recvmsg() local [all …]
|
/openbmc/linux/drivers/mmc/host/ |
H A D | mmc_spi.c | 178 } while (time_is_after_jiffies(start + timeout)); in mmc_spi_skip() 190 return mmc_spi_skip(host, timeout, 1, 0xff); in mmc_spi_readtoken() 598 unsigned long timeout) in mmc_spi_writeblock() argument 671 return mmc_spi_wait_unbusy(host, timeout); in mmc_spi_writeblock() 692 unsigned long timeout) in mmc_spi_readblock() argument 708 status = mmc_spi_readtoken(host, timeout); in mmc_spi_readblock() 786 unsigned long timeout; in mmc_spi_data_do() local 796 timeout = data->timeout_ns / 1000 + in mmc_spi_data_do() 798 timeout = usecs_to_jiffies((unsigned int)timeout) + 1; in mmc_spi_data_do() 824 status = mmc_spi_readblock(host, t, timeout); in mmc_spi_data_do() [all …]
|
/openbmc/linux/drivers/infiniband/hw/mlx4/ |
H A D | cm.c | 54 struct delayed_work timeout; member 60 struct delayed_work timeout; member 180 struct id_map_entry *ent = container_of(delay, struct id_map_entry, timeout); in id_map_ent_timeout() 246 INIT_DELAYED_WORK(&ent->timeout, id_map_ent_timeout); in id_map_alloc() 292 queue_delayed_work(cm_wq, &id->timeout, CM_CLEANUP_CACHE_TIMEOUT); in schedule_delayed() 295 mod_delayed_work(cm_wq, &id->timeout, CM_CLEANUP_CACHE_TIMEOUT); in schedule_delayed() 374 mod_delayed_work(cm_wq, &item->timeout, CM_CLEANUP_CACHE_TIMEOUT); in alloc_rej_tmout() 383 INIT_DELAYED_WORK(&item->timeout, rej_tmout_timeout); in alloc_rej_tmout() 397 queue_delayed_work(cm_wq, &item->timeout, CM_CLEANUP_CACHE_TIMEOUT); in alloc_rej_tmout() 504 mod_delayed_work(cm_wq, &item->timeout, 0); in rej_tmout_xa_cleanup() [all …]
|
/openbmc/linux/arch/um/drivers/ |
H A D | ubd.h | 14 extern int ubd_read_poll(int timeout); 15 extern int ubd_write_poll(int timeout);
|
/openbmc/linux/drivers/net/ethernet/intel/ixgbevf/ |
H A D | mbx.c | 16 int countdown = mbx->timeout; in ixgbevf_poll_for_msg() 38 int countdown = mbx->timeout; in ixgbevf_poll_for_ack() 204 int countdown = mbx->timeout; in ixgbevf_obtain_mbx_lock_vf() 207 if (!mbx->timeout) in ixgbevf_obtain_mbx_lock_vf() 417 mbx->timeout = IXGBE_VF_MBX_INIT_TIMEOUT; in ixgbevf_init_mbx_params_vf() 444 if (!mbx->ops.read || !mbx->ops.check_for_msg || !mbx->timeout) in ixgbevf_poll_mbx() 478 !mbx->timeout) in ixgbevf_write_mbx()
|
/openbmc/linux/drivers/net/ethernet/intel/igbvf/ |
H A D | vf.c | 107 u32 timeout = E1000_VF_INIT_TIMEOUT; in e1000_reset_hw_vf() local 118 while (!mbx->ops.check_for_rst(hw) && timeout) { in e1000_reset_hw_vf() 119 timeout--; in e1000_reset_hw_vf() 123 if (timeout) { in e1000_reset_hw_vf() 125 mbx->timeout = E1000_VF_MBX_INIT_TIMEOUT; in e1000_reset_hw_vf() 392 if (!mbx->ops.check_for_rst(hw) || !mbx->timeout) in e1000_check_for_link_vf() 417 if (!mbx->timeout) { in e1000_check_for_link_vf()
|
/openbmc/linux/io_uring/ |
H A D | cancel.c | 264 ktime_t timeout = KTIME_MAX; in io_sync_cancel() local 300 if (sc.timeout.tv_sec != -1UL || sc.timeout.tv_nsec != -1UL) { in io_sync_cancel() 302 .tv_sec = sc.timeout.tv_sec, in io_sync_cancel() 303 .tv_nsec = sc.timeout.tv_nsec in io_sync_cancel() 306 timeout = ktime_add_ns(timespec64_to_ktime(ts), ktime_get_ns()); in io_sync_cancel() 327 ret = schedule_hrtimeout(&timeout, HRTIMER_MODE_ABS); in io_sync_cancel()
|
/openbmc/linux/drivers/media/rc/ |
H A D | redrat3.c | 383 rawir.timeout = true; in redrat3_process_ir_data() 384 rawir.duration = rr3->rc->timeout; in redrat3_process_ir_data() 478 return timeout; in redrat3_get_timeout() 494 return timeout; in redrat3_get_timeout() 502 __be32 *timeout; in redrat3_set_timeout() local 505 timeout = kmalloc(sizeof(*timeout), GFP_KERNEL); in redrat3_set_timeout() 506 if (!timeout) in redrat3_set_timeout() 512 RR3_IR_IO_SIG_TIMEOUT, 0, timeout, sizeof(*timeout), in redrat3_set_timeout() 515 be32_to_cpu(*timeout), ret); in redrat3_set_timeout() 517 if (ret == sizeof(*timeout)) in redrat3_set_timeout() [all …]
|
/openbmc/openbmc/meta-openpower/recipes-phosphor/debug/ |
H A D | openpower-debug-collector_git.bb | 2 DESCRIPTION = "Application to log error during host checkstop and watchdog timeout" 24 # of host checkstop, host watchdog and host watchdog-timeout respectively. 28 ${@bb.utils.contains('MACHINE_FEATURES', 'phal', '', 'watchdog-timeout', d)} \
|
/openbmc/linux/tools/testing/selftests/timens/ |
H A D | gettime_perf.c | 51 const int timeout = 3; in test() local 55 for (tp = start; start.tv_sec + timeout > tp.tv_sec || in test() 56 (start.tv_sec + timeout == tp.tv_sec && in test()
|
/openbmc/openbmc-test-automation/lib/ |
H A D | os_utils_keywords.py | 32 timeout = time.time() + int(retry_seconds) 38 BuiltIn().log(timeout) 49 elif time.time() > timeout > 0:
|
/openbmc/openbmc/meta-openembedded/meta-python/recipes-extended/python-blivet/python3-blivet/ |
H A D | 0011-invoking-dd-with-infinite-timeout.patch | 4 Subject: [PATCH] invoking dd with infinite timeout 6 This large timeout is needed when running on machines with 25 + util.run_program(cmd, timeout=-1)
|
/openbmc/u-boot/drivers/ddr/marvell/axp/ |
H A D | ddr3_sdram.c | 50 int timeout; in xor_waiton_eng() local 52 timeout = 0; in xor_waiton_eng() 55 if (timeout > XOR_TIMEOUT) in xor_waiton_eng() 56 goto timeout; in xor_waiton_eng() 58 timeout++; in xor_waiton_eng() 61 timeout = 0; in xor_waiton_eng() 63 if (timeout > XOR_TIMEOUT) in xor_waiton_eng() 64 goto timeout; in xor_waiton_eng() 66 timeout++; in xor_waiton_eng() 73 timeout: in xor_waiton_eng()
|
/openbmc/linux/arch/sparc/include/asm/ |
H A D | floppy_64.h | 455 int timeout = 1000; in sun_pci_fd_out_byte() local 457 while (!((status = inb(MSR)) & 0x80) && --timeout) in sun_pci_fd_out_byte() 470 int timeout = 1000; in sun_pci_fd_sensei() local 472 while (!((status = inb(MSR)) & 0x80) && --timeout) in sun_pci_fd_sensei() 475 if (!timeout) in sun_pci_fd_sensei() 491 int timeout = 10000; in sun_pci_fd_reset() local 500 } while ((mask != 0x0f) && --timeout); in sun_pci_fd_reset() 506 int timeout = 1000; in sun_pci_fd_test_drive() local 520 } while (((status & 0xc0) == 0x80) && --timeout); in sun_pci_fd_test_drive() 522 if (!timeout) in sun_pci_fd_test_drive()
|
/openbmc/linux/drivers/scsi/ |
H A D | sr_ioctl.c | 49 cgc.timeout = IOCTL_TIMEOUT; in sr_read_tochdr() 82 cgc.timeout = IOCTL_TIMEOUT; in sr_read_tocentry() 156 cgc.timeout = IOCTL_TIMEOUT; in sr_fake_playtrkind() 169 cgc.timeout = IOCTL_TIMEOUT; in sr_play_trkind() 210 cgc->buflen, cgc->timeout, IOCTL_RETRIES, in sr_do_ioctl() 281 cgc.timeout = IOCTL_TIMEOUT; in sr_tray_move() 410 cgc.timeout = IOCTL_TIMEOUT; in sr_get_mcn() 446 cgc.timeout = IOCTL_TIMEOUT; in sr_select_speed() 521 cgc.timeout = IOCTL_TIMEOUT; in sr_read_cd() 564 cgc.timeout = IOCTL_TIMEOUT; in sr_read_sector()
|
/openbmc/linux/net/netfilter/ |
H A D | nf_conntrack_expect.c | 55 WARN_ON(timer_pending(&exp->timeout)); in nf_ct_unlink_expect_report() 121 if (del_timer(&exp->timeout)) { in nf_ct_remove_expect() 217 } else if (del_timer(&exp->timeout)) { in nf_ct_find_expectation() 400 exp->timeout.expires = jiffies + in nf_ct_expect_insert() 401 helper->expect_policy[exp->class].timeout * HZ; in nf_ct_expect_insert() 403 add_timer(&exp->timeout); in nf_ct_expect_insert() 523 if (iter(exp, data) && del_timer(&exp->timeout)) { in nf_ct_expect_iterate_destroy() 553 if (iter(exp, data) && del_timer(&exp->timeout)) { in nf_ct_expect_iterate_net() 635 if (expect->timeout.function) in exp_seq_show() 636 seq_printf(s, "%ld ", timer_pending(&expect->timeout) in exp_seq_show() [all …]
|
/openbmc/u-boot/drivers/ddr/fsl/ |
H A D | arm_ddr_gen3.c | 37 int timeout; in fsl_ddr_set_memctl_regs() local 224 timeout = ((total_gb_size_per_controller << (6 - bus_width)) * 100 / in fsl_ddr_set_memctl_regs() 228 debug("Need to wait up to %d * 10ms\n", timeout); in fsl_ddr_set_memctl_regs() 232 (timeout >= 0)) { in fsl_ddr_set_memctl_regs() 234 timeout--; in fsl_ddr_set_memctl_regs() 237 if (timeout <= 0) in fsl_ddr_set_memctl_regs()
|
/openbmc/linux/arch/arm/mach-meson/ |
H A D | platsmp.c | 136 unsigned long timeout; in meson_smp_finalize_secondary_boot() local 138 timeout = jiffies + (10 * HZ); in meson_smp_finalize_secondary_boot() 140 if (!time_before(jiffies, timeout)) { in meson_smp_finalize_secondary_boot() 313 unsigned long timeout; in meson8_smp_cpu_kill() local 315 timeout = jiffies + (50 * HZ); in meson8_smp_cpu_kill() 323 } while (time_before(jiffies, timeout)); in meson8_smp_cpu_kill()
|