| /linux/tools/testing/selftests/futex/functional/ |
| H A D | futex_wait_timeout.c | 24 static long timeout_ns = 100000; /* 100us default timeout */ variable 84 to.tv_nsec = timeout_ns; in TEST() 90 GET_ABS_TIMEOUT(CLOCK_REALTIME, &to, timeout_ns); in TEST() 95 GET_ABS_TIMEOUT(CLOCK_MONOTONIC, &to, timeout_ns); in TEST() 107 GET_ABS_TIMEOUT(CLOCK_REALTIME, &to, timeout_ns); 112 GET_ABS_TIMEOUT(CLOCK_MONOTONIC, &to, timeout_ns); in TEST() 142 GET_ABS_TIMEOUT(CLOCK_REALTIME, &to, timeout_ns); in TEST() 167 GET_ABS_TIMEOUT(CLOCK_MONOTONIC, &to, timeout_ns); in TEST() 172 GET_ABS_TIMEOUT(CLOCK_REALTIME, &to, timeout_ns); in TEST() 67 futex_get_abs_timeout(clockid_t clockid,struct timespec * to,long timeout_ns) futex_get_abs_timeout() argument
|
| H A D | futex_requeue_pi.c | 68 long timeout_ns; in FIXTURE_VARIANT() 82 .timeout_ns = timeout, \ 87 .timeout_ns = timeout, \ 93 .timeout_ns = timeout, \ 100 .timeout_ns = timeout, \ 107 .timeout_ns = timeout, \ 113 .timeout_ns = timeout, \ 333 long timeout_ns = variant->timeout_ns; in TEST_F() 341 broadcast, lock, third_party_owner, timeout_ns); in TEST_F() 67 long timeout_ns; FIXTURE_VARIANT() local 326 long timeout_ns = variant->timeout_ns; TEST_F() local [all...] |
| H A D | futex_wait_wouldblock.c | 29 #define timeout_ns 100000 macro 34 struct timespec to = {.tv_sec = 0, .tv_nsec = timeout_ns}; in TEST() 50 struct timespec to = {.tv_sec = 0, .tv_nsec = timeout_ns}; in TEST() 66 to.tv_nsec += timeout_ns; in TEST()
|
| H A D | futex_requeue.c | 14 #define timeout_ns global() macro
|
| H A D | futex_wait.c | 17 #define timeout_ns 30000000 36 to.tv_nsec = timeout_ns; in waiterfn() 16 #define timeout_ns global() macro
|
| /linux/drivers/gpu/drm/v3d/ |
| H A D | v3d_bo.c | 284 nsecs_to_jiffies_timeout(args->timeout_ns); in v3d_wait_bo_ioctl() 296 if (delta_ns < args->timeout_ns) in v3d_wait_bo_ioctl() 297 args->timeout_ns -= delta_ns; in v3d_wait_bo_ioctl() 299 args->timeout_ns = 0; in v3d_wait_bo_ioctl() 302 if (ret == -ETIME && args->timeout_ns) in v3d_wait_bo_ioctl()
|
| /linux/drivers/iio/proximity/ |
| H A D | ping.c | 46 s64 timeout_ns; /* timeout in ns */ member 64 .timeout_ns = 18500000, /* 3 meters */ 70 .timeout_ns = 15500000, /* 2 meters plus error codes */ 165 if (dt_ns > data->cfg->timeout_ns) { in ping_read()
|
| /linux/include/uapi/drm/ |
| H A D | vc4_drm.h | 209 __u64 timeout_ns; member 223 __u64 timeout_ns; member
|
| H A D | lima_drm.h | 137 __s64 timeout_ns; /* in, wait timeout in absulute time */ member
|
| H A D | amdgpu_drm.h | 795 __u64 timeout_ns; member
|
| H A D | i915_drm.h | 1938 __s64 timeout_ns; member
|
| /linux/drivers/gpu/drm/lima/ |
| H A D | lima_gem.h | 43 int lima_gem_wait(struct drm_file *file, u32 handle, u32 op, s64 timeout_ns);
|
| H A D | lima_gem.c | 401 int lima_gem_wait(struct drm_file *file, u32 handle, u32 op, s64 timeout_ns) in lima_gem_wait() argument 409 timeout = drm_timeout_abs_to_jiffies(timeout_ns); in lima_gem_wait()
|
| H A D | lima_drv.c | 186 return lima_gem_wait(file, args->handle, args->op, args->timeout_ns); in lima_ioctl_gem_wait()
|
| /linux/drivers/accel/rocket/ |
| H A D | rocket_gem.c | 138 unsigned long timeout = drm_timeout_abs_to_jiffies(args->timeout_ns); in rocket_ioctl_prep_bo()
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_syncobj.c | 1206 u64 timeout_ns, timeout_jiffies64; in drm_timeout_abs_to_jiffies() local 1218 timeout_ns = ktime_to_ns(ktime_sub(abs_timeout, now)); in drm_timeout_abs_to_jiffies() 1220 timeout_jiffies64 = nsecs_to_jiffies64(timeout_ns); in drm_timeout_abs_to_jiffies()
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_gem.c | 644 unsigned long amdgpu_gem_timeout(uint64_t timeout_ns) in amdgpu_gem_timeout() argument 650 if (((int64_t)timeout_ns) < 0) in amdgpu_gem_timeout() 653 timeout = ktime_sub(ns_to_ktime(timeout_ns), ktime_get()); in amdgpu_gem_timeout()
|
| H A D | amdgpu_cs.c | 1655 unsigned long timeout = amdgpu_gem_timeout(wait->in.timeout_ns); in amdgpu_cs_wait_all_fences() 1694 unsigned long timeout = amdgpu_gem_timeout(wait->in.timeout_ns); in amdgpu_cs_wait_any_fence()
|
| /linux/drivers/gpu/drm/tegra/ |
| H A D | uapi.c | 359 timeout_jiffies = drm_timeout_abs_to_jiffies(args->timeout_ns); in tegra_drm_ioctl_syncpoint_wait()
|
| /linux/drivers/accel/ethosu/ |
| H A D | ethosu_drv.c | 84 unsigned long timeout = drm_timeout_abs_to_jiffies(args->timeout_ns); in ethosu_ioctl_bo_wait()
|
| /linux/tools/include/uapi/drm/ |
| H A D | i915_drm.h | |
| /linux/drivers/mmc/host/ |
| H A D | mmc_spi.c | 789 timeout = data->timeout_ns / 1000 + in mmc_spi_data_do()
|
| H A D | usdhi6rol0.c | 881 ticks = host->rate / 1000000 * (mrq->data->timeout_ns / 1000) + in usdhi6_timeout_set()
|
| H A D | mmci.c | 1250 clks = (unsigned long long)data->timeout_ns * host->cclk; in mmci_start_data()
|