/openbmc/openbmc/poky/bitbake/lib/bb/server/ |
H A D | xmlrpcclient.py | 18 def __init__(self, timeout): argument 19 self.timeout = timeout 33 self._connection = host, http.client.HTTPConnection(chost, timeout=self.timeout) 44 def _create_server(host, port, timeout = 60): argument 45 t = BBTransport(timeout) 49 def check_connection(remote, timeout): argument 57 server, _transport = _create_server(host, port, timeout)
|
/openbmc/linux/drivers/watchdog/ |
H A D | advantechwdt.c | 70 static int timeout = WATCHDOG_TIMEOUT; /* in seconds */ variable 71 module_param(timeout, int, 0); 72 MODULE_PARM_DESC(timeout, 89 outb_p(timeout, wdt_start); in advwdt_ping() 101 timeout = t; in advwdt_set_heartbeat() 182 return put_user(timeout, p); in advwdt_ioctl() 259 if (advwdt_set_heartbeat(timeout)) { in advwdt_probe() 261 pr_info("timeout value must be 1<=x<=63, using %d\n", timeout); in advwdt_probe() 271 timeout, nowayout); in advwdt_probe()
|
H A D | hpwdt.c | 73 int reload = SECS_TO_TICKS(min(wdd->timeout, wdd->max_hw_heartbeat_ms/1000)); in hpwdt_start() 108 int reload = SECS_TO_TICKS(min(wdd->timeout, wdd->max_hw_heartbeat_ms/1000)); in hpwdt_ping() 110 dev_dbg(wdd->parent, "ping watchdog 0x%08x:0x%08x\n", wdd->timeout, reload); in hpwdt_ping() 125 wdd->timeout = val; in hpwdt_settimeout() 146 if (val >= wdd->timeout) in hpwdt_set_pretimeout() 192 unsigned int val = max((unsigned int)kdumptimeout, hpwdt_dev.timeout); in hpwdt_pretimeout() 232 .timeout = DEFAULT_MARGIN, 346 if (pretimeout && hpwdt_dev.timeout <= PRETIMEOUT_SEC) { in hpwdt_init_one() 361 hpwdt_dev.timeout, nowayout); in hpwdt_init_one() 403 module_param_named(timeout, soft_margin, int, 0); [all …]
|
H A D | qcom-wdt.c | 76 unsigned int bark = wdd->timeout - wdd->pretimeout; in qcom_wdt_start() 81 writel(wdd->timeout * wdt->rate, wdt_addr(wdt, WDT_BITE_TIME)); in qcom_wdt_start() 103 unsigned int timeout) in qcom_wdt_set_timeout() argument 105 wdd->timeout = timeout; in qcom_wdt_set_timeout() 110 unsigned int timeout) in qcom_wdt_set_pretimeout() argument 112 wdd->pretimeout = timeout; in qcom_wdt_set_pretimeout() 120 u32 timeout; in qcom_wdt_restart() local 126 timeout = 128 * wdt->rate / 1000; in qcom_wdt_restart() 130 writel(timeout, wdt_addr(wdt, WDT_BARK_TIME)); in qcom_wdt_restart() 131 writel(timeout, wdt_addr(wdt, WDT_BITE_TIME)); in qcom_wdt_restart() [all …]
|
H A D | sc520_wdt.c | 89 static int timeout = WATCHDOG_TIMEOUT; variable 90 module_param(timeout, int, 0); 91 MODULE_PARM_DESC(timeout, 174 next_heartbeat = jiffies + (timeout * HZ); in wdt_startup() 201 next_heartbeat = jiffies + (timeout * HZ); in wdt_keepalive() 210 timeout = t; in wdt_set_heartbeat() 326 return put_user(timeout, p); in fop_ioctl() 386 if (wdt_set_heartbeat(timeout)) { in sc520_wdt_init() 413 timeout, nowayout); in sc520_wdt_init()
|
H A D | uniphier_wdt.c | 44 static unsigned int timeout = 0; variable 129 tmp_timeout = roundup_pow_of_two(w->timeout); in uniphier_watchdog_start() 149 if (tmp_timeout == w->timeout) in uniphier_watchdog_set_timeout() 158 w->timeout = tmp_timeout; in uniphier_watchdog_set_timeout() 205 wdev->wdt_dev.timeout = WDT_DEFAULT_TIMEOUT; in uniphier_wdt_probe() 208 watchdog_init_timeout(&wdev->wdt_dev, timeout, dev); in uniphier_wdt_probe() 224 wdev->wdt_dev.timeout, nowayout); in uniphier_wdt_probe() 245 module_param(timeout, uint, 0000); 246 MODULE_PARM_DESC(timeout,
|
H A D | rc32434_wdt.c | 57 static int timeout = WATCHDOG_TIMEOUT; variable 58 module_param(timeout, int, 0); 59 MODULE_PARM_DESC(timeout, "Watchdog timeout value, in seconds (default=" 79 timeout = new_timeout; in rc32434_wdt_set() 81 writel(SEC2WTCOMP(timeout), &wdt_reg->wtcompare); in rc32434_wdt_set() 107 rc32434_wdt_set(timeout); in rc32434_wdt_start() 235 return copy_to_user(argp, &timeout, sizeof(int)) ? -EFAULT : 0; in rc32434_wdt_ioctl() 283 if (rc32434_wdt_set(timeout)) { in rc32434_wdt_probe() 296 timeout); in rc32434_wdt_probe()
|
H A D | da9052_wdt.c | 50 unsigned int timeout) in da9052_wdt_set_timeout() argument 67 if (timeout) { in da9052_wdt_set_timeout() 76 if (da9052_wdt_maps[i].time == timeout) in da9052_wdt_set_timeout() 91 wdt_dev->timeout = timeout; in da9052_wdt_set_timeout() 100 return da9052_wdt_set_timeout(wdt_dev, wdt_dev->timeout); in da9052_wdt_start() 166 da9052_wdt->timeout = DA9052_DEF_TIMEOUT; in da9052_wdt_probe()
|
H A D | retu_wdt.c | 61 return retu_write(wdev->rdev, RETU_REG_WATCHDOG, wdog->timeout); in retu_wdt_start() 77 return retu_write(wdev->rdev, RETU_REG_WATCHDOG, wdog->timeout); in retu_wdt_ping() 81 unsigned int timeout) in retu_wdt_set_timeout() argument 85 wdog->timeout = timeout; in retu_wdt_set_timeout() 86 return retu_write(wdev->rdev, RETU_REG_WATCHDOG, wdog->timeout); in retu_wdt_set_timeout() 120 retu_wdt->timeout = RETU_WDT_MAX_TIMER; in retu_wdt_probe()
|
/openbmc/linux/drivers/net/ethernet/freescale/ |
H A D | fsl_pq_mdio.c | 102 unsigned int timeout; in fsl_pq_mdio_write() local 111 timeout = MII_TIMEOUT; in fsl_pq_mdio_write() 114 timeout--; in fsl_pq_mdio_write() 134 unsigned int timeout; in fsl_pq_mdio_read() local 145 timeout = MII_TIMEOUT; in fsl_pq_mdio_read() 149 timeout--; in fsl_pq_mdio_read() 152 if (!timeout) in fsl_pq_mdio_read() 167 unsigned int timeout; in fsl_pq_mdio_reset() local 178 timeout = MII_TIMEOUT; in fsl_pq_mdio_reset() 181 timeout--; in fsl_pq_mdio_reset() [all …]
|
/openbmc/openbmc/meta-ufispace/meta-ncplite/recipes-phosphor/state/phosphor-state-manager/ |
H A D | chassis-control | 9 timeout=30 11 echo "Wait for host shutdown in ${timeout}s" 12 while [ "${timeout}" -gt 0 ]; do 14 timeout=$((timeout-1))
|
/openbmc/qemu/pc-bios/s390-ccw/ |
H A D | menu.c | 32 static uint64_t timeout; variable 78 if (timeout) { in read_prompt() 79 time = get_clock() + timeout * TOD_CLOCK_MILLISECOND; in read_prompt() 82 timeout = 0; in read_prompt() 153 } else if (timeout > 0) { in boot_menu_prompt() 155 sclp_print(uitoa(timeout / 1000, tmp, sizeof(tmp))); in boot_menu_prompt() 208 timeout = zipl_timeout * 1000; in menu_get_zipl_boot_index() 261 timeout = boot_menu_timeout; in menu_set_parms()
|
/openbmc/linux/tools/testing/vsock/ |
H A D | timeout.c | 26 static volatile bool timeout; variable 34 timeout = true; in sigalrm() 49 if (timeout) { in timeout_check() 59 timeout = false; in timeout_end()
|
/openbmc/linux/drivers/accessibility/speakup/ |
H A D | speakup_keypc.c | 155 int timeout; in synth_immediate() local 162 timeout = 1000; in synth_immediate() 164 if (--timeout <= 0) in synth_immediate() 176 int timeout; in do_catch_up() local 215 timeout = 1000; in do_catch_up() 217 if (--timeout <= 0) in do_catch_up() 219 if (timeout <= 0) { in do_catch_up() 231 timeout = 1000; in do_catch_up() 248 timeout = 1000; in do_catch_up() 250 if (--timeout <= 0) in do_catch_up() [all …]
|
/openbmc/qemu/python/qemu/qmp/ |
H A D | legacy.py | 100 self, future: Awaitable[_T], timeout: Optional[float] = None 103 asyncio.wait_for(future, timeout=timeout) 158 def accept(self, timeout: Optional[float] = 15.0) -> QMPMessage: 172 self._sync(self._qmp.accept(), timeout) 242 timeout = None 244 timeout = wait 249 timeout 285 def settimeout(self, timeout: Optional[float]) -> None: 297 self._timeout = timeout
|
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/ |
H A D | python3-async-timeout_4.0.3.bb | 1 SUMMARY = "asyncio-compatible timeout context manager" 4 timeout logic around block of code or in cases when asyncio.wait_for() \ 6 timeout doesn't create a new task." 7 HOMEPAGE = "https://github.com/aio-libs/async-timeout" 13 PYPI_PACKAGE = "async-timeout"
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-fsi-devices-sbefifo | 1 What: /sys/bus/fsi/devices/XX.XX.00:06/sbefifoX/timeout 6 timeout; i.e. the SBE did not respond within the time allotted 7 by the driver. A value of 1 indicates that a timeout has 8 occurred and no transfers have completed since the timeout. A 9 value of 0 indicates that no timeout has occurred, or if one
|
/openbmc/linux/drivers/net/fjes/ |
H A D | fjes_trace.h | 19 TP_PROTO(union REG_CR *cr, union REG_CS *cs, int timeout, 21 TP_ARGS(cr, cs, timeout, ret), 30 __field(int, timeout) 41 __entry->timeout = timeout; 126 TP_ARGS(res_buf, timeout), 130 __field(int, timeout) 135 __entry->timeout = timeout; 138 __entry->length, __entry->code, __entry->timeout) 170 TP_ARGS(res_buf, timeout), 174 __field(int, timeout) [all …]
|
/openbmc/linux/include/linux/netfilter/ipset/ |
H A D | ip_set.h | 121 u32 timeout; member 272 u32 timeout; member 452 #define IPSET_GC_PERIOD(timeout) \ argument 453 ((timeout/3) ? min_t(u32, (timeout)/3, IPSET_GC_TIME) : 1) 465 ((opt)->ext.timeout != IPSET_NO_TIMEOUT ? (opt)->ext.timeout : (set)->timeout) 473 if (timeout > IPSET_MAX_TIMEOUT) in ip_set_timeout_uget() 474 timeout = IPSET_MAX_TIMEOUT; in ip_set_timeout_uget() 476 return timeout; in ip_set_timeout_uget() 491 *timeout = IPSET_ELEM_PERMANENT; in ip_set_timeout_set() 499 *timeout = t; in ip_set_timeout_set() [all …]
|
/openbmc/openbmc/meta-security/recipes-mac/smack/udp-smack-test/ |
H A D | udp_server.c | 45 struct timeval timeout; in main() local 46 timeout.tv_sec = 15; in main() 47 timeout.tv_usec = 0; in main() 69 if(setsockopt(sock, SOL_SOCKET, SO_RCVTIMEO, &timeout, sizeof(timeout)) < 0) in main()
|
/openbmc/openbmc/meta-openpower/recipes-phosphor/debug/ |
H A D | openpower-debug-collector-systemd-links.inc | 3 mkdir -p $D$systemd_system_unitdir/obmc-host-timeout@0.target.wants 14 …LINK="$D$systemd_system_unitdir/obmc-host-timeout@0.target.wants/openpower-debug-collector-watchdo… 19 …LINK="$D$systemd_system_unitdir/obmc-host-timeout@0.target.wants/openpower-debug-collector-watchdo… 20 TARGET="../openpower-debug-collector-watchdog-timeout@.service" 38 …LINK="$D$systemd_system_unitdir/obmc-host-timeout@0.target.wants/openpower-debug-collector-watchdo… 41 …LINK="$D$systemd_system_unitdir/obmc-host-timeout@0.target.wants/openpower-debug-collector-watchdo…
|
/openbmc/openbmc/meta-arm/meta-arm/lib/oeqa/controllers/ |
H A D | fvp.py | 24 def __init__(self, logger, target_ip, server_ip, timeout=300, user='root', argument 26 super().__init__(logger, target_ip, server_ip, timeout, user, port) 40 def transition(self, state, timeout=10*60): argument 49 self.transition(OEFVPTargetState.OFF, timeout) 57 self.transition(OEFVPTargetState.ON, timeout) 59 self.expect(OEFVPTarget.DEFAULT_CONSOLE, "login\\:", timeout=timeout) 78 def run(self, cmd, timeout=None): argument 81 return super().run(cmd, timeout)
|
/openbmc/linux/net/ipv4/ |
H A D | tcp_recovery.c | 98 u32 timeout; in tcp_rack_mark_lost() local 105 tcp_rack_detect_loss(sk, &timeout); in tcp_rack_mark_lost() 106 if (timeout) { in tcp_rack_mark_lost() 107 timeout = usecs_to_jiffies(timeout + TCP_TIMEOUT_MIN_US); in tcp_rack_mark_lost() 109 timeout, inet_csk(sk)->icsk_rto); in tcp_rack_mark_lost() 111 return !!timeout; in tcp_rack_mark_lost() 152 u32 timeout, prior_inflight; in tcp_rack_reo_timeout() local 156 tcp_rack_detect_loss(sk, &timeout); in tcp_rack_reo_timeout()
|
/openbmc/openbmc-build-scripts/scripts/ |
H A D | boot-qemu-test.exp | 10 set timeout "$env(QEMU_RUN_TIMER)*2" 16 timeout { send_user "\nFailed to boot\n"; exit 1 } 24 timeout { send_user "\nFailed, no login prompt\n"; exit 1 } 32 timeout { send_user "\nFailed, could not login\n"; exit 1 }
|
/openbmc/linux/fs/nfs/ |
H A D | nfs4renewd.c | 116 long timeout; in nfs4_schedule_state_renewal() local 119 timeout = (2 * clp->cl_lease_time) / 3 + (long)clp->cl_last_renewal in nfs4_schedule_state_renewal() 121 if (timeout < 5 * HZ) in nfs4_schedule_state_renewal() 122 timeout = 5 * HZ; in nfs4_schedule_state_renewal() 124 __func__, (timeout + HZ - 1) / HZ); in nfs4_schedule_state_renewal() 125 mod_delayed_work(system_wq, &clp->cl_renewd, timeout); in nfs4_schedule_state_renewal()
|