Home
last modified time | relevance | path

Searched refs:deadline (Results 1 – 25 of 28) sorted by relevance

12

/netbsd-src/external/bsd/openldap/dist/contrib/slapd-modules/nssov/nss-pam-ldapd/
H A Dtio.c95 static inline int tio_time_remaining(struct timespec *deadline, int timeout) in tio_time_remaining() argument
99 if ((deadline->tv_sec == 0) && (deadline->tv_nsec == 0)) in tio_time_remaining()
101 if (clock_gettime(CLOCK_MONOTONIC, deadline) == 0) in tio_time_remaining()
103 deadline->tv_sec += timeout / 1000; in tio_time_remaining()
104 deadline->tv_nsec += (timeout % 1000) * 1000000; in tio_time_remaining()
112 return (deadline->tv_sec - tv.tv_sec) * 1000 + in tio_time_remaining()
113 (deadline->tv_nsec - tv.tv_nsec) / 1000000; in tio_time_remaining()
163 struct timespec *deadline) in tio_wait() argument
173 if ((t = tio_time_remaining(deadline, timeout)) < 0) in tio_wait()
202 struct timespec deadline = {0, 0}; in tio_read() local
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/utils/lit/lit/
H A Drun.py52 deadline = time.time() + timeout
55 self._execute(deadline)
62 def _execute(self, deadline): argument
79 self._wait_for(async_results, deadline)
86 def _wait_for(self, async_results, deadline): argument
87 timeout = deadline - time.time()
/netbsd-src/usr.bin/tip/
H A Dhunt.c42 static jmp_buf deadline; variable
52 longjmp(deadline, 1); in dead()
73 if (setjmp(deadline) == 0) { in hunt()
/netbsd-src/sys/external/bsd/drm2/linux/
H A Dlinux_dma_fence.c1046 int starttime = 0, now = 0, deadline = 0; /* XXXGCC */ in dma_fence_default_wait() local
1078 deadline = starttime + timeout; in dma_fence_default_wait()
1089 if (deadline <= now) { in dma_fence_default_wait()
1099 deadline - now); in dma_fence_default_wait()
1106 deadline - now); in dma_fence_default_wait()
1141 ret = MAX(1, deadline - now); in dma_fence_default_wait()
/netbsd-src/sys/kern/
H A Dsys_futex.c922 * futex_wait(fw, deadline, clkid)
924 * fw must be a waiter on a futex's queue. Wait until deadline on
925 * the clock clkid, or forever if deadline is NULL, for a futex
931 futex_wait(struct futex_wait *fw, const struct timespec *deadline, in futex_wait() argument
951 if (deadline) { in futex_wait()
959 /* If we're past the deadline, ETIMEDOUT. */ in futex_wait()
960 if (timespeccmp(deadline, &ts, <=)) { in futex_wait()
966 timespecsub(deadline, &ts, &ts); in futex_wait()
1210 const struct timespec *deadline; in futex_func_wait()
1224 /* Determine a deadline o in futex_func_wait()
1200 const struct timespec *deadline; futex_func_wait() local
[all...]
H A Dkern_event.c1344 struct timespec deadline = ts; in filt_timercompute() local
1358 if (timespeccmp(&deadline, &ts, <=)) { in filt_timercompute()
1364 timespecsub(&deadline, &ts, &ts); in filt_timercompute()
/netbsd-src/crypto/external/bsd/openssh/dist/
H A Dssh-agent.c1041 time_t deadline = 0, now = monotime(); in reaper() local
1054 deadline = (deadline == 0) ? id->death : in reaper()
1055 MINIMUM(deadline, id->death); in reaper()
1057 if (deadline == 0 || deadline <= now) in reaper()
1060 return (deadline - now); in reaper()
2065 time_t deadline; in prepare_poll() local
2123 deadline = reaper(); in prepare_poll()
2125 deadline = (deadline == 0) ? parent_alive_interval : in prepare_poll()
2126 MINIMUM(deadline, parent_alive_interval); in prepare_poll()
2127 if (deadline != 0) in prepare_poll()
[all …]
/netbsd-src/sys/arch/mips/cavium/dev/
H A Docteon_rnm.c375 uint32_t deadline = mips3_cp0_count_read() + ncycles; in octrnm_delay() local
379 while ((deadline - mips3_cp0_count_read()) < ncycles) in octrnm_delay()
/netbsd-src/tests/lib/libc/sys/
H A Dt_futex_ops.c1219 struct timespec deadline; in do_futex_wait_timeout()
1225 ATF_REQUIRE(clock_gettime(clock, &deadline) == 0); in ATF_TC_HEAD()
1226 deadline.tv_sec += 2; in ATF_TC_HEAD()
1231 ts = deadline; in ATF_TC_BODY()
1242 ATF_REQUIRE(ts.tv_sec >= deadline.tv_sec); in ATF_TC_BODY()
1243 ATF_REQUIRE(ts.tv_sec > deadline.tv_sec || in ATF_TC_BODY()
1244 ts.tv_nsec >= deadline.tv_nsec); in ATF_TC_BODY()
1274 "tests futex WAIT with absolute deadline");
1285 "tests futex WAIT with absolute deadline (REALTIME)"); in do_futex_wait_evil_unmapped()
1195 struct timespec deadline; do_futex_wait_timeout() local
H A Dt_eventfd.c101 struct timespec deadline; in wait_state() local
107 ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &deadline) == 0); in wait_state()
108 deadline.tv_sec += 5; in wait_state()
112 &deadline); in wait_state()
/netbsd-src/external/bsd/jemalloc/include/jemalloc/internal/
H A Darena_structs_b.h50 nstime_t deadline; member
/netbsd-src/external/ibm-public/postfix/dist/
H A DRELEASE_NOTES-3.7140 DATA or BDAT request deadline is decreased by the elapsed time of
141 that read operation, the DATA or BDAT request deadline is increased
142 by N/smtpd_min_data_rate seconds. However, the deadline is never
H A DRELEASE_NOTES-2.9201 or received within the per-record deadline.
H A DHISTORY3859 VSTREAM_CTL_TIMEOUT...) sets the timeout deadline on a
16531 Cleaned up and finalized read/write deadline support. Once
16578 Cleanup: read/write deadline support for single_server TLS
16583 Infrastructure: run-time switch for read/write deadline
16587 Cleanup: configurable read/write deadline support with
16915 Cleanup: simplified the TLS read/write deadline implementation,
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/
H A Damdgpu_ring.c420 ktime_t deadline = ktime_add_us(ktime_get(), 10000); in amdgpu_ring_soft_recovery() local
427 ktime_to_ns(ktime_sub(deadline, ktime_get())) > 0) in amdgpu_ring_soft_recovery()
/netbsd-src/sbin/ping6/
H A Dping6.c229 static double deadline = 0.0; /* max running time in seconds */ variable
530 deadline = strtod(optarg, &e); in main()
531 if (*e != '\0' || deadline <= 0) in main()
920 if (deadline > 0) { in doit()
921 last = timespec_to_sec(&now) + deadline; in doit()
/netbsd-src/sys/dev/acpi/
H A Dacpi_ec.c705 const unsigned deadline = getticks() + EC_CMD_TIMEOUT*hz; in acpiec_wait_timeout() local
709 (delta = deadline - getticks()) < INT_MAX) in acpiec_wait_timeout()
/netbsd-src/sys/dev/pci/
H A Dxmm7360.c572 struct hrtimer deadline; member
1377 struct xmm_net *xn = container_of(t, struct xmm_net, deadline); in xmm7360_net_deadline_cb()
1414 if (!hrtimer_active(&xn->deadline)) { in xmm7360_net_xmit()
1416 hrtimer_start(&xn->deadline, kt, HRTIMER_MODE_REL); in xmm7360_net_xmit()
1485 hrtimer_init(&xn->deadline, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in xmm7360_net_setup()
1486 xn->deadline.function = xmm7360_net_deadline_cb; in xmm7360_net_setup()
/netbsd-src/sys/external/bsd/drm2/dist/drm/i915/
H A DKconfig.debug198 the deadline allotted for the vblank evade critical section
/netbsd-src/external/apache2/llvm/dist/llvm/docs/
H A DCodeReview.rst103 approval, or solicit objections to a patch with a deadline.
/netbsd-src/external/mpl/bind/dist/doc/dnssec-guide/
H A Dintroduction.rst348 deadline in 2008 to have all ``.gov`` subdomains signed by
/netbsd-src/external/ibm-public/postfix/dist/proto/
H A Dpostconf.proto2199 connection can be made within the deadline, the LMTP client tries
2219 is received within the deadline, a warning is logged that the mail
2260 deadline, the LMTP client tries the next address on the mail
4244 When no connection can be made within the deadline, the Postfix
4264 When no response is received within the deadline, a warning is
6033 WARNING: the proxy filter must reply within a fixed deadline or
6036 fewer CPU cycles remain available to mead the fixed deadline.
15941 sent or received within the per-record deadline. </p>
15960 sent or received within the per-record deadline. </p>
18396 the DATA or BDAT request deadline is decremented by the elapsed
[all …]
/netbsd-src/external/mit/libuv/dist/
H A DChangeLog277 * misc: adjust stalebot deadline (Ben Noordhuis)
/netbsd-src/external/public-domain/tz/dist/
H A Dnorthamerica1630 # Some cities in the United States have pushed the deadline back
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DAttrDocs.td5804 zx_time_t deadline,

12