Home
last modified time | relevance | path

Searched refs:timeout_ns (Results 1 – 25 of 30) sorted by relevance

12

/external/linux-kselftest/tools/testing/selftests/futex/functional/
Dfutex_wait_timeout.c32 static long timeout_ns = 100000; /* 100us default timeout */ variable
60 timeout_ns = atoi(optarg); in main()
74 ksft_print_msg("\tArguments: timeout=%ldns\n", timeout_ns); in main()
78 to.tv_nsec = timeout_ns; in main()
Dfutex_requeue_pi.c48 static long timeout_ns; variable
282 int unit_test(int broadcast, long lock, int third_party_owner, long timeout_ns) in unit_test() argument
293 if (timeout_ns) { in unit_test()
296 info("timeout_ns = %ld\n", timeout_ns); in unit_test()
298 secs = (ts.tv_nsec + timeout_ns) / 1000000000; in unit_test()
299 ts.tv_nsec = ((int64_t)ts.tv_nsec + timeout_ns) % 1000000000; in unit_test()
386 timeout_ns = atoi(optarg); in main()
401 broadcast, locked, owner, timeout_ns); in main()
408 ret = unit_test(broadcast, locked, owner, timeout_ns); in main()
Dfutex_wait_wouldblock.c32 #define timeout_ns 100000 macro
45 struct timespec to = {.tv_sec = 0, .tv_nsec = timeout_ns}; in main()
/external/mesa3d/src/gallium/drivers/vc5/
Dvc5_bufmgr.c442 static int vc5_wait_seqno_ioctl(int fd, uint64_t seqno, uint64_t timeout_ns) in vc5_wait_seqno_ioctl() argument
446 .timeout_ns = timeout_ns, in vc5_wait_seqno_ioctl()
457 vc5_wait_seqno(struct vc5_screen *screen, uint64_t seqno, uint64_t timeout_ns, in vc5_wait_seqno() argument
463 if (unlikely(V3D_DEBUG & V3D_DEBUG_PERF) && timeout_ns && reason) { in vc5_wait_seqno()
470 int ret = vc5_wait_seqno_ioctl(screen->fd, seqno, timeout_ns); in vc5_wait_seqno()
484 static int vc5_wait_bo_ioctl(int fd, uint32_t handle, uint64_t timeout_ns) in vc5_wait_bo_ioctl() argument
488 .timeout_ns = timeout_ns, in vc5_wait_bo_ioctl()
499 vc5_bo_wait(struct vc5_bo *bo, uint64_t timeout_ns, const char *reason) in vc5_bo_wait() argument
503 if (unlikely(V3D_DEBUG & V3D_DEBUG_PERF) && timeout_ns && reason) { in vc5_bo_wait()
510 int ret = vc5_wait_bo_ioctl(screen->fd, bo->handle, timeout_ns); in vc5_bo_wait()
Dvc5_fence.c66 uint64_t timeout_ns) in vc5_fence_finish() argument
71 return vc5_wait_seqno(screen, f->seqno, timeout_ns, "fence wait"); in vc5_fence_finish()
Dvc5_drm.h119 __u64 timeout_ns; member
133 __u64 timeout_ns; member
Dvc5_bufmgr.h130 vc5_bo_wait(struct vc5_bo *bo, uint64_t timeout_ns, const char *reason);
133 vc5_wait_seqno(struct vc5_screen *screen, uint64_t seqno, uint64_t timeout_ns,
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_bufmgr.c535 static int vc4_wait_seqno_ioctl(int fd, uint64_t seqno, uint64_t timeout_ns) in vc4_wait_seqno_ioctl() argument
539 .timeout_ns = timeout_ns, in vc4_wait_seqno_ioctl()
550 vc4_wait_seqno(struct vc4_screen *screen, uint64_t seqno, uint64_t timeout_ns, in vc4_wait_seqno() argument
556 if (unlikely(vc4_debug & VC4_DEBUG_PERF) && timeout_ns && reason) { in vc4_wait_seqno()
563 int ret = vc4_wait_seqno_ioctl(screen->fd, seqno, timeout_ns); in vc4_wait_seqno()
577 static int vc4_wait_bo_ioctl(int fd, uint32_t handle, uint64_t timeout_ns) in vc4_wait_bo_ioctl() argument
581 .timeout_ns = timeout_ns, in vc4_wait_bo_ioctl()
592 vc4_bo_wait(struct vc4_bo *bo, uint64_t timeout_ns, const char *reason) in vc4_bo_wait() argument
596 if (unlikely(vc4_debug & VC4_DEBUG_PERF) && timeout_ns && reason) { in vc4_bo_wait()
603 int ret = vc4_wait_bo_ioctl(screen->fd, bo->handle, timeout_ns); in vc4_bo_wait()
Dvc4_fence.c66 uint64_t timeout_ns) in vc4_fence_finish() argument
71 return vc4_wait_seqno(screen, f->seqno, timeout_ns, "fence wait"); in vc4_fence_finish()
Dvc4_bufmgr.h136 vc4_bo_wait(struct vc4_bo *bo, uint64_t timeout_ns, const char *reason);
139 vc4_wait_seqno(struct vc4_screen *screen, uint64_t seqno, uint64_t timeout_ns,
/external/libdrm/amdgpu/
Damdgpu_cs.c382 uint64_t timeout_ns, in amdgpu_ioctl_wait_cs() argument
398 args.in.timeout = timeout_ns; in amdgpu_ioctl_wait_cs()
400 args.in.timeout = amdgpu_cs_calculate_timeout(timeout_ns); in amdgpu_ioctl_wait_cs()
411 uint64_t timeout_ns, in amdgpu_cs_query_fence_status() argument
433 fence->fence, timeout_ns, flags, &busy); in amdgpu_cs_query_fence_status()
444 uint64_t timeout_ns, in amdgpu_ioctl_wait_fences() argument
467 args.in.timeout_ns = amdgpu_cs_calculate_timeout(timeout_ns); in amdgpu_ioctl_wait_fences()
484 uint64_t timeout_ns, in amdgpu_cs_wait_fences() argument
506 timeout_ns, status, first); in amdgpu_cs_wait_fences()
Damdgpu.h736 uint64_t timeout_ns,
927 uint64_t timeout_ns,
951 uint64_t timeout_ns,
Damdgpu_bo.c511 uint64_t timeout_ns, in amdgpu_bo_wait_for_idle() argument
519 args.in.timeout = amdgpu_cs_calculate_timeout(timeout_ns); in amdgpu_bo_wait_for_idle()
/external/mesa3d/src/intel/vulkan/
Danv_gem.c171 anv_gem_wait(struct anv_device *device, uint32_t gem_handle, int64_t *timeout_ns) in anv_gem_wait() argument
175 .timeout_ns = *timeout_ns, in anv_gem_wait()
180 *timeout_ns = wait.timeout_ns; in anv_gem_wait()
Danv_gem_stubs.c92 anv_gem_wait(struct anv_device *device, uint32_t gem_handle, int64_t *timeout_ns) in anv_gem_wait() argument
/external/autotest/server/site_tests/tast/
Dtast_unittest.py432 tests = [TestInfo('pkg.Test1', 0, 0, timeout_ns=(23 * ns_in_sec)),
433 TestInfo('pkg.Test2', 0, 0, timeout_ns=(41 * ns_in_sec))]
441 timeout_ns = 2 * self.MAX_RUN_SEC * 1000000000
442 tests = [TestInfo('pkg.Test', 0, 0, timeout_ns=timeout_ns)]
490 skip_reason=None, attr=None, timeout_ns=0): argument
524 self._timeout_ns = timeout_ns
/external/mesa3d/include/drm-uapi/
Dvc4_drm.h187 __u64 timeout_ns; member
201 __u64 timeout_ns; member
/external/kernel-headers/original/uapi/drm/
Dvc4_drm.h209 __u64 timeout_ns; member
223 __u64 timeout_ns; member
Dv3d_drm.h132 __u64 timeout_ns; member
Damdgpu_drm.h435 __u64 timeout_ns; member
/external/libdrm/include/drm/
Dvc4_drm.h202 __u64 timeout_ns; member
216 __u64 timeout_ns; member
Damdgpu_drm.h396 __u64 timeout_ns; member
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_bufmgr.h322 int brw_bo_wait(struct brw_bo *bo, int64_t timeout_ns);
Dbrw_bufmgr.c1025 brw_bo_wait(struct brw_bo *bo, int64_t timeout_ns) in brw_bo_wait() argument
1035 .timeout_ns = timeout_ns, in brw_bo_wait()
/external/libdrm/intel/
Dintel_bufmgr.h217 int drm_intel_gem_bo_wait(drm_intel_bo *bo, int64_t timeout_ns);

12