Home
last modified time | relevance | path

Searched refs:timeout (Results 1326 - 1350 of 7994) sorted by relevance

1...<<51525354555657585960>>...320

/third_party/ltp/testcases/kernel/syscalls/fcntl/
H A Dfcntl33.c32 * The lease-break-time is set to 45 seconds for timeout in kernel.
53 static struct timespec timeout = {.tv_sec = 5}; variable
119 TEST(sigtimedwait(&newset, NULL, &timeout)); in do_test()
124 timeout.tv_sec); in do_test()
/third_party/ltp/testcases/network/stress/interface/
H A Dif-mtu-change.sh29 local timeout=1
30 tst_is_int $CHANGE_INTERVAL && timeout=$CHANGE_INTERVAL
31 tst_set_timeout $(((timeout + 30) * MTU_CHANGE_TIMES))
/third_party/musl/libc-test/src/functionalext/supplement/network/
H A Drecvmsg.c48 int timeout = TEST_TIMEOUT; in check_recv_message() local
50 while (timeout > 0) { in check_recv_message()
58 timeout--; in check_recv_message()
/third_party/skia/third_party/externals/swiftshader/tests/regres/shell/
H A Dshell_unix.go86 // If the process does not finish within timeout a errTimeout will be returned.
87 func Exec(timeout time.Duration, exe, wd string, env []string, args ...string) ([]byte, error) {
106 case <-time.NewTimer(timeout).C:
113 return b.Bytes(), ErrTimeout{exe, timeout}
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/internal/
H A Dper_thread_sem.cc78 bool timeout = false; in AbslInternalPerThreadSemWait() local
92 timeout = in AbslInternalPerThreadSemWait()
101 return !timeout; in AbslInternalPerThreadSemWait()
/third_party/rust/crates/nix/test/
H A Dtest_poll.rs24 // Poll an idle pipe. Should timeout in test_poll()
52 let timeout = TimeSpec::milliseconds(1); in test_ppoll()
56 // Poll an idle pipe. Should timeout in test_ppoll()
58 let nfds = loop_while_eintr!(ppoll(&mut fds, Some(timeout), Some(sigset))); in test_ppoll()
65 let nfds = ppoll(&mut fds, Some(timeout), None).unwrap(); in test_ppoll()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
H A Dap.h22 int timeout);
25 const char * wpas_wps_ap_pin_random(struct wpa_supplicant *wpa_s, int timeout);
28 int timeout);
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
H A Dap.h22 int timeout);
25 const char * wpas_wps_ap_pin_random(struct wpa_supplicant *wpa_s, int timeout);
28 int timeout);
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hid_host/
H A Dhid_host_hogp.cpp172 std::chrono::seconds(HOGP_GATT_THREAD_WAIT_TIMEOUT)) == std::cv_status::timeout) { in SendGetReport()
173 LOG_ERROR("[HOGP] %{public}s:get report timeout", __func__); in SendGetReport()
212 std::chrono::seconds(HOGP_GATT_THREAD_WAIT_TIMEOUT)) == std::cv_status::timeout) { in SendSetReport()
213 LOG_ERROR("[HOGP] %{public}s:set report timeout", __func__); in SendSetReport()
374 std::chrono::seconds(HOGP_GATT_THREAD_WAIT_TIMEOUT)) == std::cv_status::timeout) { in GetPnpInformation()
375 LOG_ERROR("[HOGP] %{public}s:GetPnpInformation timeout", __func__); in GetPnpInformation()
404 std::chrono::seconds(HOGP_GATT_THREAD_WAIT_TIMEOUT)) == std::cv_status::timeout) { in GetHidInformation()
405 LOG_ERROR("[HOGP] %{public}s:GetHidInformation timeout", __func__); in GetHidInformation()
442 std::chrono::seconds(HOGP_GATT_THREAD_WAIT_TIMEOUT)) == std::cv_status::timeout) { in GetBatteryInformation()
443 LOG_ERROR("[HOGP] %{public}s: GetBatteryInformation timeout", __func_ in GetBatteryInformation()
812 OnConnectionParameterChanged( int interval, int latency, int timeout, int status) OnConnectionParameterChanged() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_fence.c170 static long vmw_fence_wait(struct dma_fence *f, bool intr, signed long timeout) in vmw_fence_wait() argument
178 long ret = timeout; in vmw_fence_wait()
181 return timeout; in vmw_fence_wait()
214 if (ret == 0 && timeout > 0) in vmw_fence_wait()
526 bool interruptible, unsigned long timeout) in vmw_fence_obj_wait()
528 long ret = dma_fence_wait_timeout(&fence->base, interruptible, timeout); in vmw_fence_obj_wait()
805 unsigned long timeout; in vmw_fence_obj_wait_ioctl() local
831 timeout = jiffies; in vmw_fence_obj_wait_ioctl()
832 if (time_after_eq(timeout, (unsigned long)arg->kernel_cookie)) { in vmw_fence_obj_wait_ioctl()
838 timeout in vmw_fence_obj_wait_ioctl()
525 vmw_fence_obj_wait(struct vmw_fence_obj *fence, bool lazy, bool interruptible, unsigned long timeout) vmw_fence_obj_wait() argument
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/vcodec/decoder/vdec/
H A Dvdec_h264_req_multi_if.c54 * @timeout: Decode timeout: 1 timeout, 0 no timeount
64 u16 timeout; member
458 int err, timeout, i; in vdec_h264_slice_core_decode() local
520 timeout = mtk_vcodec_wait_for_done_ctx(inst->ctx, MTK_INST_IRQ_RECEIVED, in vdec_h264_slice_core_decode()
522 if (timeout) in vdec_h264_slice_core_decode()
523 mtk_vdec_err(ctx, "core decode timeout: pic_%d", ctx->decoded_frame_cnt); in vdec_h264_slice_core_decode()
524 inst->vsi_core->dec.timeout = !!timeout; in vdec_h264_slice_core_decode()
571 int nal_start_idx, err, timeout = 0, i; vdec_h264_slice_lat_decode() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_fence.c178 static long vmw_fence_wait(struct dma_fence *f, bool intr, signed long timeout) in vmw_fence_wait() argument
186 long ret = timeout; in vmw_fence_wait()
189 return timeout; in vmw_fence_wait()
221 if (ret == 0 && timeout > 0) in vmw_fence_wait()
523 bool interruptible, unsigned long timeout) in vmw_fence_obj_wait()
525 long ret = dma_fence_wait_timeout(&fence->base, interruptible, timeout); in vmw_fence_obj_wait()
728 unsigned long timeout; in vmw_fence_obj_wait_ioctl() local
754 timeout = jiffies; in vmw_fence_obj_wait_ioctl()
755 if (time_after_eq(timeout, (unsigned long)arg->kernel_cookie)) { in vmw_fence_obj_wait_ioctl()
761 timeout in vmw_fence_obj_wait_ioctl()
522 vmw_fence_obj_wait(struct vmw_fence_obj *fence, bool lazy, bool interruptible, unsigned long timeout) vmw_fence_obj_wait() argument
[all...]
/third_party/curl/lib/
H A Dhostip.c242 /* the timeout may be set -1 (forever) */ in Curl_hostcache_prune()
243 int timeout = data->set.dns_cache_timeout; in Curl_hostcache_prune() local
256 time_t oldest = hostcache_prune(data->dns.hostcache, timeout, now); in Curl_hostcache_prune()
259 timeout = (int)oldest; /* we know it fits */ in Curl_hostcache_prune()
261 timeout = INT_MAX - 1; in Curl_hostcache_prune()
265 } while(timeout && (data->dns.hostcache->size > MAX_DNS_CACHE_SIZE)); in Curl_hostcache_prune()
872 * timeout. This function might return immediately if we're using asynch
880 * disabled by the application, then a nonzero timeout will cause a
881 * timeout after the specified number of milliseconds. Otherwise, timeout
908 volatile long timeout; Curl_resolv_timeout() local
[all...]
/third_party/python/Lib/test/test_asyncio/
H A Dtest_ssl.py100 timeout=support.SHORT_TIMEOUT,
113 if timeout is None:
114 raise RuntimeError('timeout is required')
115 if timeout <= 0:
117 sock.settimeout(timeout)
127 self, sock, server_prog, timeout, max_clients)
131 timeout=support.SHORT_TIMEOUT):
135 if timeout is None:
136 raise RuntimeError('timeout is required')
137 if timeout <
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
H A Dmxgpu_vi.c320 int timeout = VI_MAILBOX_TIMEDOUT; in xgpu_vi_mailbox_send_ack() local
330 if (timeout <= 0) { in xgpu_vi_mailbox_send_ack()
335 timeout -=1; in xgpu_vi_mailbox_send_ack()
389 int r = 0, timeout = VI_MAILBOX_TIMEDOUT; in xgpu_vi_poll_ack() local
395 if (timeout <= 0) { in xgpu_vi_poll_ack()
401 timeout -= 5; in xgpu_vi_poll_ack()
411 int r = 0, timeout = VI_MAILBOX_TIMEDOUT; in xgpu_vi_poll_msg() local
415 if (timeout <= 0) { in xgpu_vi_poll_msg()
421 timeout -= 5; in xgpu_vi_poll_msg()
/kernel/linux/linux-5.10/net/nfc/
H A Ddigital_core.c33 u16 timeout; member
180 rc = ddev->ops->in_send_cmd(ddev, cmd->req, cmd->timeout, in digital_wq_cmd()
185 rc = ddev->ops->tg_send_cmd(ddev, cmd->req, cmd->timeout, in digital_wq_cmd()
190 rc = ddev->ops->tg_listen(ddev, cmd->timeout, in digital_wq_cmd()
197 rc = ddev->ops->tg_listen_mdaa(ddev, params, cmd->timeout, in digital_wq_cmd()
202 rc = ddev->ops->tg_listen_md(ddev, cmd->timeout, in digital_wq_cmd()
229 u16 timeout, nfc_digital_cmd_complete_t cmd_cb, in digital_send_cmd()
239 cmd->timeout = timeout; in digital_send_cmd()
470 * When a polling function fails (by timeout o
227 digital_send_cmd(struct nfc_digital_dev *ddev, u8 cmd_type, struct sk_buff *skb, struct digital_tg_mdaa_params *params, u16 timeout, nfc_digital_cmd_complete_t cmd_cb, void *cb_context) digital_send_cmd() argument
[all...]
/kernel/linux/linux-5.10/drivers/watchdog/
H A Dziirave_wdt.c91 MODULE_PARM_DESC(wdt_timeout, "Watchdog timeout in seconds");
149 unsigned int timeout) in ziirave_wdt_set_timeout()
154 ret = i2c_smbus_write_byte_data(client, ZIIRAVE_WDT_TIMEOUT, timeout); in ziirave_wdt_set_timeout()
156 wdd->timeout = timeout; in ziirave_wdt_set_timeout()
543 /* Restore the watchdog timeout */ in ziirave_wdt_sysfs_store_firm()
544 err = ziirave_wdt_set_timeout(&w_priv->wdd, w_priv->wdd.timeout); in ziirave_wdt_sysfs_store_firm()
546 dev_err(&client->dev, "Failed to set timeout: %d\n", err); in ziirave_wdt_sysfs_store_firm()
631 if (w_priv->wdd.timeout == 0) { in ziirave_wdt_probe()
634 dev_err(&client->dev, "Failed to read timeout\ in ziirave_wdt_probe()
148 ziirave_wdt_set_timeout(struct watchdog_device *wdd, unsigned int timeout) ziirave_wdt_set_timeout() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/etnaviv/
H A Detnaviv_drv.c290 ret = etnaviv_gem_cpu_prep(obj, args->op, &args->timeout); in etnaviv_ioctl_gem_cpu_prep()
343 struct drm_etnaviv_timespec *timeout = &args->timeout; in etnaviv_ioctl_wait_fence() local
357 timeout = NULL; in etnaviv_ioctl_wait_fence()
360 timeout); in etnaviv_ioctl_wait_fence()
392 struct drm_etnaviv_timespec *timeout = &args->timeout; in etnaviv_ioctl_gem_wait() local
412 timeout = NULL; in etnaviv_ioctl_gem_wait()
414 ret = etnaviv_gem_wait_bo(gpu, obj, timeout); in etnaviv_ioctl_gem_wait()
/kernel/linux/linux-6.6/drivers/watchdog/
H A Ds3c2410_wdt.c444 unsigned int timeout) in s3c2410wdt_set_heartbeat()
452 if (timeout < 1) in s3c2410wdt_set_heartbeat()
456 count = timeout * freq; in s3c2410wdt_set_heartbeat()
458 dev_dbg(wdt->dev, "Heartbeat: count=%d, timeout=%d, freq=%lu\n", in s3c2410wdt_set_heartbeat()
459 count, timeout, freq); in s3c2410wdt_set_heartbeat()
470 dev_err(wdt->dev, "timeout %d too big\n", timeout); in s3c2410wdt_set_heartbeat()
475 dev_dbg(wdt->dev, "Heartbeat: timeout=%d, divisor=%d, count=%d (%08x)\n", in s3c2410wdt_set_heartbeat()
476 timeout, divisor, count, DIV_ROUND_UP(count, divisor)); in s3c2410wdt_set_heartbeat()
489 wdd->timeout in s3c2410wdt_set_heartbeat()
443 s3c2410wdt_set_heartbeat(struct watchdog_device *wdd, unsigned int timeout) s3c2410wdt_set_heartbeat() argument
[all...]
H A Dziirave_wdt.c87 MODULE_PARM_DESC(wdt_timeout, "Watchdog timeout in seconds");
145 unsigned int timeout) in ziirave_wdt_set_timeout()
150 ret = i2c_smbus_write_byte_data(client, ZIIRAVE_WDT_TIMEOUT, timeout); in ziirave_wdt_set_timeout()
152 wdd->timeout = timeout; in ziirave_wdt_set_timeout()
541 /* Restore the watchdog timeout */ in ziirave_wdt_sysfs_store_firm()
542 err = ziirave_wdt_set_timeout(&w_priv->wdd, w_priv->wdd.timeout); in ziirave_wdt_sysfs_store_firm()
544 dev_err(&client->dev, "Failed to set timeout: %d\n", err); in ziirave_wdt_sysfs_store_firm()
628 if (w_priv->wdd.timeout == 0) { in ziirave_wdt_probe()
631 dev_err(&client->dev, "Failed to read timeout\ in ziirave_wdt_probe()
144 ziirave_wdt_set_timeout(struct watchdog_device *wdd, unsigned int timeout) ziirave_wdt_set_timeout() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/
H A Dmxgpu_vi.c322 int timeout = VI_MAILBOX_TIMEDOUT; in xgpu_vi_mailbox_send_ack() local
332 if (timeout <= 0) { in xgpu_vi_mailbox_send_ack()
337 timeout -= 1; in xgpu_vi_mailbox_send_ack()
391 int r = 0, timeout = VI_MAILBOX_TIMEDOUT; in xgpu_vi_poll_ack() local
397 if (timeout <= 0) { in xgpu_vi_poll_ack()
403 timeout -= 5; in xgpu_vi_poll_ack()
413 int r = 0, timeout = VI_MAILBOX_TIMEDOUT; in xgpu_vi_poll_msg() local
417 if (timeout <= 0) { in xgpu_vi_poll_msg()
423 timeout -= 5; in xgpu_vi_poll_msg()
/kernel/linux/linux-6.6/drivers/gpu/drm/etnaviv/
H A Detnaviv_drv.c299 ret = etnaviv_gem_cpu_prep(obj, args->op, &args->timeout); in etnaviv_ioctl_gem_cpu_prep()
352 struct drm_etnaviv_timespec *timeout = &args->timeout; in etnaviv_ioctl_wait_fence() local
366 timeout = NULL; in etnaviv_ioctl_wait_fence()
369 timeout); in etnaviv_ioctl_wait_fence()
401 struct drm_etnaviv_timespec *timeout = &args->timeout; in etnaviv_ioctl_gem_wait() local
421 timeout = NULL; in etnaviv_ioctl_gem_wait()
423 ret = etnaviv_gem_wait_bo(gpu, obj, timeout); in etnaviv_ioctl_gem_wait()
/kernel/linux/linux-6.6/net/nfc/
H A Ddigital_core.c33 u16 timeout; member
180 rc = ddev->ops->in_send_cmd(ddev, cmd->req, cmd->timeout, in digital_wq_cmd()
185 rc = ddev->ops->tg_send_cmd(ddev, cmd->req, cmd->timeout, in digital_wq_cmd()
190 rc = ddev->ops->tg_listen(ddev, cmd->timeout, in digital_wq_cmd()
197 rc = ddev->ops->tg_listen_mdaa(ddev, params, cmd->timeout, in digital_wq_cmd()
202 rc = ddev->ops->tg_listen_md(ddev, cmd->timeout, in digital_wq_cmd()
229 u16 timeout, nfc_digital_cmd_complete_t cmd_cb, in digital_send_cmd()
239 cmd->timeout = timeout; in digital_send_cmd()
473 * When a polling function fails (by timeout o
227 digital_send_cmd(struct nfc_digital_dev *ddev, u8 cmd_type, struct sk_buff *skb, struct digital_tg_mdaa_params *params, u16 timeout, nfc_digital_cmd_complete_t cmd_cb, void *cb_context) digital_send_cmd() argument
[all...]
/third_party/pulseaudio/src/pulsecore/
H A Drtpoll.c210 struct timeval timeout; in pa_rtpoll_run() local
290 pa_zero(timeout); in pa_rtpoll_run()
292 /* Calculate timeout */ in pa_rtpoll_run()
298 pa_timeval_add(&timeout, pa_timeval_diff(&p->next_elapse, &now)); in pa_rtpoll_run()
307 pa_log("poll timeout: %d ms ",(int) ((timeout.tv_sec*1000) + (timeout.tv_usec / 1000))); in pa_rtpoll_run()
309 pa_log("poll timeout is ZERO"); in pa_rtpoll_run()
311 pa_log("poll timeout is FOREVER"); in pa_rtpoll_run()
319 ts.tv_sec = timeout in pa_rtpoll_run()
[all...]
/third_party/python/Lib/
H A Dsocket.py27 socket.getdefaulttimeout() -- get the default timeout value
28 socket.setdefaulttimeout() -- set the default timeout value
29 create_connection() -- connects to an address, with an optional timeout and
296 # Issue #7995: if no default timeout is set and the listening
297 # socket had a (non-zero) timeout, force the new socket in blocking
363 timeout = self.gettimeout()
364 if timeout == 0:
381 if timeout and not selector_select(timeout):
390 if not timeout
[all...]

Completed in 19 milliseconds

1...<<51525354555657585960>>...320