/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/ |
H A D | nv98_video.c | 96 uint32_t timeout; in nv98_create_decoder() local 250 timeout = 0; in nv98_create_decoder() 254 PUSH_DATA (push[0], timeout); in nv98_create_decoder() 258 PUSH_DATA (push[1], timeout); in nv98_create_decoder() 262 PUSH_DATA (push[2], timeout); in nv98_create_decoder()
|
/third_party/ltp/testcases/network/stress/ns-tools/ |
H A D | ns-icmpv6_sender.c | 67 double timeout; member 496 info_p->timeout = opt_d; in parse_options() 508 info_p->timeout = -1.0; in parse_options() 758 /* Check timeout: in send_packets() 759 If timeout value is negative only send one datagram */ in send_packets() 760 if (info_p->timeout) in send_packets() 761 if (info_p->timeout < difftime(time(NULL), start_time)) in send_packets()
|
/third_party/ltp/testcases/kernel/sched/pthreads/ |
H A D | pth_str03.c | 63 int timeout = 30; /* minutes */ variable 128 timeout = atoi(optarg); in parse_args() 129 if (timeout <= 0) in parse_args() 282 timer.tv_sec += (unsigned long)timeout *60; in synchronize_children() 496 timer.tv_sec += (unsigned long)timeout *60; in doit()
|
H A D | pth_str01.c | 44 int timeout = 30; /* minutes */ variable 109 timeout = atoi(optarg); in parse_args() 110 if (timeout <= 0) in parse_args() 276 timer.tv_sec += (unsigned long)timeout *60; in synchronize_children() 513 timer.tv_sec += (unsigned long)timeout *60; in doit()
|
/third_party/ltp/testcases/kernel/syscalls/recvmsg/ |
H A D | recvmsg01.c | 308 struct timeval timeout; in setup_valid_sock() local 318 timeout.tv_sec = 2; in setup_valid_sock() 319 timeout.tv_usec = 0; in setup_valid_sock() 320 n = select(sock + 1, &rdfds, 0, 0, &timeout); in setup_valid_sock() 323 tst_brk(TBROK, "no message ready in %d sec", (int)timeout.tv_sec); in setup_valid_sock()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
H A D | nvc0_video.c | 106 uint32_t timeout; in nvc0_create_decoder() local 274 timeout = 0; in nvc0_create_decoder() 278 PUSH_DATA (push[0], timeout); in nvc0_create_decoder() 282 PUSH_DATA (push[1], timeout); in nvc0_create_decoder() 286 PUSH_DATA (push[2], timeout); in nvc0_create_decoder()
|
/third_party/node/deps/openssl/openssl/apps/lib/ |
H A D | http_server.c | 287 int accept_get, int timeout) in http_server_get_asn1_req() 318 if (timeout > 0) { in http_server_get_asn1_req() 320 alarm(timeout); in http_server_get_asn1_req() 468 timeout = 0; in http_server_get_asn1_req() 489 if (timeout > 0) in http_server_get_asn1_req() 283 http_server_get_asn1_req(const ASN1_ITEM *it, ASN1_VALUE **preq, char **ppath, BIO **pcbio, BIO *acbio, int *found_keep_alive, const char *prog, const char *port, int accept_get, int timeout) http_server_get_asn1_req() argument
|
/third_party/openssl/apps/lib/ |
H A D | http_server.c | 287 int accept_get, int timeout) in http_server_get_asn1_req() 318 if (timeout > 0) { in http_server_get_asn1_req() 320 alarm(timeout); in http_server_get_asn1_req() 468 timeout = 0; in http_server_get_asn1_req() 489 if (timeout > 0) in http_server_get_asn1_req() 283 http_server_get_asn1_req(const ASN1_ITEM *it, ASN1_VALUE **preq, char **ppath, BIO **pcbio, BIO *acbio, int *found_keep_alive, const char *prog, const char *port, int accept_get, int timeout) http_server_get_asn1_req() argument
|
/third_party/python/Lib/test/ |
H A D | test_telnetlib.py | 68 telnet = telnetlib.Telnet(HOST, self.port, timeout=None) 75 telnet = telnetlib.Telnet(HOST, self.port, timeout=30) 81 telnet.open(HOST, self.port, timeout=30) 87 telnet = telnetlib.Telnet(HOST, self.port, timeout=30) 139 def select(self, timeout=None): 186 read_until(expected, timeout=None) 394 expect(expected, [timeout]) 395 Read until the expected string has been seen, or a timeout is 396 hit (default is no timeout); may block.
|
/third_party/typescript/tests/ts_extra_tests/tool/ |
H A D | testcfg.py | 81 out, err = process.communicate(timeout=5000)
236 out, err = process.communicate(timeout=5000)
259 out, err = process.communicate(timeout=5000)
286 out, err = process.communicate(timeout=5000)
305 out, err = process.communicate(timeout=5000)
|
/kernel/linux/linux-5.10/drivers/block/ |
H A D | ps3vram.c | 123 unsigned long timeout; in ps3vram_notifier_wait() local 125 for (timeout = 20; timeout; timeout--) { in ps3vram_notifier_wait() 131 timeout = jiffies + msecs_to_jiffies(timeout_ms); in ps3vram_notifier_wait() 137 } while (time_before(jiffies, timeout)); in ps3vram_notifier_wait() 154 unsigned long timeout = jiffies + msecs_to_jiffies(timeout_ms); in ps3vram_wait_ring() local 160 } while (time_before(jiffies, timeout)); in ps3vram_wait_ring() 162 dev_warn(&dev->core, "FIFO timeout (%08x/%08x/%08x)\n", in ps3vram_wait_ring() 270 dev_warn(&dev->core, "%s: Notifier timeout\ in ps3vram_upload() [all...] |
/kernel/linux/linux-5.10/drivers/acpi/apei/ |
H A D | erst.c | 194 u64 timeout = FIRMWARE_TIMEOUT; in erst_exec_stall_while_true() local 212 if (erst_timedout(&timeout, stall_time * NSEC_PER_USEC)) in erst_exec_stall_while_true() 624 u64 timeout = FIRMWARE_TIMEOUT; in __erst_write_to_storage() local 646 if (erst_timedout(&timeout, SPIN_UNIT)) in __erst_write_to_storage() 663 u64 timeout = FIRMWARE_TIMEOUT; in __erst_read_from_storage() local 689 if (erst_timedout(&timeout, SPIN_UNIT)) in __erst_read_from_storage() 706 u64 timeout = FIRMWARE_TIMEOUT; in __erst_clear_from_storage() local 728 if (erst_timedout(&timeout, SPIN_UNIT)) in __erst_clear_from_storage()
|
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/ |
H A D | nip_addrconf.c | 291 unsigned long timeout; in ninet_addr_add() local 309 timeout = addrconf_timeout_fixup(valid_lft_tmp, HZ); in ninet_addr_add() 310 if (addrconf_finite_timeout(timeout)) in ninet_addr_add() 311 valid_lft_tmp = timeout; in ninet_addr_add() 315 timeout = addrconf_timeout_fixup(preferred_lft, HZ); in ninet_addr_add() 316 if (addrconf_finite_timeout(timeout)) { in ninet_addr_add() 317 if (timeout == 0) in ninet_addr_add() 319 preferred_lft = timeout; in ninet_addr_add()
|
/kernel/linux/linux-5.10/drivers/pci/hotplug/ |
H A D | ibmphp_hpc.c | 32 // timeout values 186 debug("%s - Error : WPG timeout\n", __func__); in i2c_ctrl_read() 202 debug("ctrl_read - Exit Error:I2C timeout\n"); in i2c_ctrl_read() 297 debug("%s - Exit Error:WPG timeout\n", __func__); in i2c_ctrl_write() 314 debug("ctrl_read - Error : I2C timeout\n"); in i2c_ctrl_write() 651 int timeout; in ibmphp_hpc_writeslot() local 706 timeout = CMD_COMPLETE_TOUT_SEC; in ibmphp_hpc_writeslot() 720 if (timeout < 1) { in ibmphp_hpc_writeslot() 722 err("%s - Error command complete timeout\n", __func__); in ibmphp_hpc_writeslot() 725 timeout in ibmphp_hpc_writeslot() 1068 hpc_wait_ctlr_notworking(int timeout, struct controller *ctlr_ptr, void __iomem *wpg_bbar, u8 *pstatus) hpc_wait_ctlr_notworking() argument [all...] |
/kernel/linux/linux-5.10/net/wireless/ |
H A D | mlme.c | 831 unsigned long timeout, next_time = 0; in cfg80211_dfs_channels_update_work() local 868 timeout = c->dfs_state_entered + in cfg80211_dfs_channels_update_work() 871 if (time_after_eq(jiffies, timeout)) { in cfg80211_dfs_channels_update_work() 889 next_time = timeout - jiffies; in cfg80211_dfs_channels_update_work() 891 next_time = min(next_time, timeout - jiffies); in cfg80211_dfs_channels_update_work() 934 unsigned long timeout; in cfg80211_cac_event() local 946 timeout = wdev->cac_start_time + in cfg80211_cac_event() 948 WARN_ON(!time_after_eq(jiffies, timeout)); in cfg80211_cac_event()
|
/kernel/linux/linux-5.10/sound/aoa/soundbus/i2sbus/ |
H A D | pcm.c | 258 long timeout; in i2sbus_wait_for_stop() local 264 timeout = wait_for_completion_timeout(&done, HZ); in i2sbus_wait_for_stop() 267 if (timeout == 0) { in i2sbus_wait_for_stop() 268 /* timeout expired, stop dbdma forcefully */ in i2sbus_wait_for_stop() 273 timeout = 10; in i2sbus_wait_for_stop() 275 if (--timeout <= 0) in i2sbus_wait_for_stop() 631 int timeout, i; in handle_interrupt() local 669 timeout = 1000; in handle_interrupt() 674 if (--timeout <= 0) { in handle_interrupt()
|
/kernel/linux/linux-5.10/net/mptcp/ |
H A D | options.c | 368 unsigned long timeout; in schedule_3rdack_retransmission() local 370 /* reschedule with a timeout above RTT, as we must look only for drop */ in schedule_3rdack_retransmission() 372 timeout = usecs_to_jiffies(tp->srtt_us >> (3 - 1)); in schedule_3rdack_retransmission() 374 timeout = TCP_TIMEOUT_INIT; in schedule_3rdack_retransmission() 375 timeout += jiffies; in schedule_3rdack_retransmission() 379 icsk->icsk_ack.timeout = timeout; in schedule_3rdack_retransmission() 380 sk_reset_timer(sk, &icsk->icsk_delack_timer, timeout); in schedule_3rdack_retransmission() 388 icsk->icsk_ack.timeout = 0; in clear_3rdack_retransmission()
|
/kernel/linux/linux-5.10/drivers/rtc/ |
H A D | rtc-abx80x.c | 260 dev_alert(&client->dev, "watchdog timeout interrupt.\n"); in abx80x_handle_irq() 597 static inline u8 timeout_bits(unsigned int timeout) in timeout_bits() argument 599 return ((timeout << ABX8XX_WDT_BMB_SHIFT) & ABX8XX_WDT_BMB_MASK) | in timeout_bits() 604 unsigned int timeout) in __abx80x_wdog_set_timeout() 607 u8 val = ABX8XX_WDT_WDS | timeout_bits(timeout); in __abx80x_wdog_set_timeout() 610 * Writing any timeout to the WDT register resets the watchdog timer. in __abx80x_wdog_set_timeout() 625 wdog->timeout = new_timeout; in abx80x_wdog_set_timeout() 632 return __abx80x_wdog_set_timeout(wdog, wdog->timeout); in abx80x_wdog_ping() 637 return __abx80x_wdog_set_timeout(wdog, wdog->timeout); in abx80x_wdog_start() 665 priv->wdog.timeout in abx80x_setup_watchdog() 603 __abx80x_wdog_set_timeout(struct watchdog_device *wdog, unsigned int timeout) __abx80x_wdog_set_timeout() argument [all...] |
/kernel/linux/linux-6.6/drivers/accel/ivpu/ |
H A D | ivpu_hw_37xx.c | 123 vdev->timeout.boot = 100000; in ivpu_hw_timeouts_init() 124 vdev->timeout.jsm = 50000; in ivpu_hw_timeouts_init() 125 vdev->timeout.tdr = 2000000; in ivpu_hw_timeouts_init() 126 vdev->timeout.reschedule_suspend = 1000; in ivpu_hw_timeouts_init() 128 vdev->timeout.boot = 1000; in ivpu_hw_timeouts_init() 129 vdev->timeout.jsm = 500; in ivpu_hw_timeouts_init() 130 vdev->timeout.tdr = 2000; in ivpu_hw_timeouts_init() 131 vdev->timeout.reschedule_suspend = 10; in ivpu_hw_timeouts_init() 796 /* Now clear the timeout interrupt */ in ivpu_hw_37xx_wdt_disable() 1014 ivpu_err(vdev, "WDT MSS timeout detecte in ivpu_hw_37xx_diagnose_failure() [all...] |
/kernel/linux/linux-6.6/fs/lockd/ |
H A D | svclock.c | 913 unsigned long timeout; in nlmsvc_grant_callback() local 934 timeout = 10 * HZ; in nlmsvc_grant_callback() 937 timeout = 60 * HZ; in nlmsvc_grant_callback() 939 nlmsvc_insert_block_locked(block, timeout); in nlmsvc_grant_callback() 1025 unsigned long timeout = MAX_SCHEDULE_TIMEOUT; in nlmsvc_retry_blocked() local 1035 timeout = block->b_when - jiffies; in nlmsvc_retry_blocked() 1052 if (timeout < MAX_SCHEDULE_TIMEOUT) in nlmsvc_retry_blocked() 1053 mod_timer(&nlmsvc_retry, jiffies + timeout); in nlmsvc_retry_blocked()
|
/kernel/linux/linux-6.6/drivers/rtc/ |
H A D | rtc-abx80x.c | 278 dev_alert(&client->dev, "watchdog timeout interrupt.\n"); in abx80x_handle_irq() 607 static inline u8 timeout_bits(unsigned int timeout) in timeout_bits() argument 609 return ((timeout << ABX8XX_WDT_BMB_SHIFT) & ABX8XX_WDT_BMB_MASK) | in timeout_bits() 614 unsigned int timeout) in __abx80x_wdog_set_timeout() 617 u8 val = ABX8XX_WDT_WDS | timeout_bits(timeout); in __abx80x_wdog_set_timeout() 620 * Writing any timeout to the WDT register resets the watchdog timer. in __abx80x_wdog_set_timeout() 635 wdog->timeout = new_timeout; in abx80x_wdog_set_timeout() 642 return __abx80x_wdog_set_timeout(wdog, wdog->timeout); in abx80x_wdog_ping() 647 return __abx80x_wdog_set_timeout(wdog, wdog->timeout); in abx80x_wdog_start() 675 priv->wdog.timeout in abx80x_setup_watchdog() 613 __abx80x_wdog_set_timeout(struct watchdog_device *wdog, unsigned int timeout) __abx80x_wdog_set_timeout() argument [all...] |
/kernel/linux/linux-6.6/drivers/block/ |
H A D | ps3vram.c | 122 unsigned long timeout; in ps3vram_notifier_wait() local 124 for (timeout = 20; timeout; timeout--) { in ps3vram_notifier_wait() 130 timeout = jiffies + msecs_to_jiffies(timeout_ms); in ps3vram_notifier_wait() 136 } while (time_before(jiffies, timeout)); in ps3vram_notifier_wait() 153 unsigned long timeout = jiffies + msecs_to_jiffies(timeout_ms); in ps3vram_wait_ring() local 159 } while (time_before(jiffies, timeout)); in ps3vram_wait_ring() 161 dev_warn(&dev->core, "FIFO timeout (%08x/%08x/%08x)\n", in ps3vram_wait_ring() 269 dev_warn(&dev->core, "%s: Notifier timeout\ in ps3vram_upload() [all...] |
/kernel/linux/linux-6.6/drivers/crypto/caam/ |
H A D | ctrl.c | 108 unsigned int timeout = 100000; in run_descriptor_deco0() local 122 --timeout) in run_descriptor_deco0() 125 timeout = 100000; in run_descriptor_deco0() 131 --timeout) in run_descriptor_deco0() 134 if (!timeout) { in run_descriptor_deco0() 154 timeout = 10000000; in run_descriptor_deco0() 174 } while ((deco_dbg_reg & DESC_DBG_DECO_STAT_VALID) && --timeout); in run_descriptor_deco0() 185 if (!timeout) in run_descriptor_deco0()
|
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/vpu/ |
H A D | mtk_vpu.c | 319 unsigned long timeout; in vpu_ipi_send() local 342 timeout = jiffies + msecs_to_jiffies(IPI_TIMEOUT_MS); in vpu_ipi_send() 344 if (time_after(jiffies, timeout)) { in vpu_ipi_send() 345 dev_err(vpu->dev, "vpu_ipi_send: IPI timeout!\n"); in vpu_ipi_send() 363 timeout = msecs_to_jiffies(IPI_TIMEOUT_MS); in vpu_ipi_send() 364 ret = wait_event_timeout(vpu->ack_wq, vpu->ipi_id_ack[id], timeout); in vpu_ipi_send() 620 dev_err(dev, "wait vpu initialization timeout!\n"); in vpu_load_firmware() 797 dev_err(vpu->dev, "vpu watchdog timeout! 0x%x", vpu_to_host); in vpu_irq_handler() 976 unsigned long timeout; in mtk_vpu_suspend() local 996 timeout in mtk_vpu_suspend() [all...] |
/kernel/linux/linux-6.6/drivers/pci/hotplug/ |
H A D | ibmphp_hpc.c | 32 // timeout values 186 debug("%s - Error : WPG timeout\n", __func__); in i2c_ctrl_read() 202 debug("ctrl_read - Exit Error:I2C timeout\n"); in i2c_ctrl_read() 297 debug("%s - Exit Error:WPG timeout\n", __func__); in i2c_ctrl_write() 314 debug("ctrl_read - Error : I2C timeout\n"); in i2c_ctrl_write() 649 int timeout; in ibmphp_hpc_writeslot() local 704 timeout = CMD_COMPLETE_TOUT_SEC; in ibmphp_hpc_writeslot() 718 if (timeout < 1) { in ibmphp_hpc_writeslot() 720 err("%s - Error command complete timeout\n", __func__); in ibmphp_hpc_writeslot() 723 timeout in ibmphp_hpc_writeslot() 1066 hpc_wait_ctlr_notworking(int timeout, struct controller *ctlr_ptr, void __iomem *wpg_bbar, u8 *pstatus) hpc_wait_ctlr_notworking() argument [all...] |