Searched refs:deadline (Results 26 - 50 of 119) sorted by relevance

12345

/fuchsia/zircon/kernel/syscalls/
H A Dfutex.cpp18 zx_status_t sys_futex_wait(user_in_ptr<const zx_futex_t> value_ptr, int32_t current_value, zx_time_t deadline) { argument
22 value_ptr, current_value, deadline);
H A Dtimer.cpp45 zx_handle_t handle, zx_time_t deadline, zx_duration_t slack) {
57 return timer->Set(deadline, slack);
44 sys_timer_set( zx_handle_t handle, zx_time_t deadline, zx_duration_t slack) argument
/fuchsia/zircon/system/ulib/fs/
H A Dunmount.cpp17 zx_status_t vfs_unmount_handle(zx_handle_t srv, zx_time_t deadline) { argument
45 zx_status_t status = zx_channel_call(srv, 0, deadline, &args, &dsize, &hcount);
/fuchsia/zircon/system/ulib/zx/include/lib/zx/
H A Dport.h36 zx_status_t wait(zx::time deadline, zx_port_packet_t* packet) const { argument
37 return zx_port_wait(get(), deadline.get(), packet);
H A Dtimer.h33 zx_status_t set(zx::time deadline, zx::duration slack) const { argument
34 return zx_timer_set(get(), deadline.get(), slack.get());
H A Dchannel.h53 zx_status_t call(uint32_t flags, zx::time deadline, argument
56 return zx_channel_call(get(), flags, deadline.get(), args, actual_bytes,
/fuchsia/zircon/kernel/tests/
H A Dtimer_tests.cpp83 static void timer_diag_coalescing(enum slack_mode mode, uint64_t slack, const zx_time_t* deadline, argument
94 zx_time_t dl = deadline[ix];
117 const zx_time_t deadline[] = { local
128 const zx_duration_t expected_adj[fbl::count_of(deadline)] = {
132 TIMER_SLACK_CENTER, slack, deadline, expected_adj, fbl::count_of(deadline));
140 const zx_time_t deadline[] = { local
150 const zx_duration_t expected_adj[fbl::count_of(deadline)] = {
154 TIMER_SLACK_LATE, slack, deadline, expected_adj, fbl::count_of(deadline));
162 const zx_time_t deadline[] = { local
[all...]
/fuchsia/zircon/kernel/kernel/
H A Dwait.cpp197 static zx_status_t wait_queue_block_worker(wait_queue_t* wait, zx_time_t deadline,
212 if (deadline != ZX_TIME_INFINITE && deadline <= current_time()) {
231 // if the deadline is nonzero or noninfinite, set a callback to yank us out of the queue
232 if (deadline != ZX_TIME_INFINITE) {
234 timer_set_oneshot(&timer, deadline, wait_queue_timeout_handler, (void*)current_thread);
244 if (deadline != ZX_TIME_INFINITE) {
259 * @param deadline The time at which to abort the wait
261 * If the deadline is zero, this function returns immediately with
262 * ZX_ERR_TIMED_OUT. If the deadline i
269 wait_queue_block(wait_queue_t* wait, zx_time_t deadline) argument
293 wait_queue_block_with_mask(wait_queue_t* wait, zx_time_t deadline, uint signal_mask) argument
[all...]
/fuchsia/zircon/system/ulib/async-testutils/
H A Dtest_loop.cpp57 void RegisterTimer(zx::time deadline, TimerDispatcher* dispatcher) override {
58 if (deadline <= current_time_) {
65 entry.deadlines.push_back(deadline);
72 entry.deadlines.push_back(deadline);
181 bool TestLoop::RunUntil(zx::time deadline) { argument
188 if (next_due_time > deadline) {
189 time_keeper_->AdvanceTimeTo(deadline);
/fuchsia/zircon/kernel/object/include/object/
H A Dfutex_context.h34 // Otherwise it will block the current thread until the |deadline| passes,
37 zx_status_t FutexWait(user_in_ptr<const int> value_ptr, int current_value, zx_time_t deadline);
H A Dchannel_dispatcher.h46 zx_status_t Call(fbl::unique_ptr<MessagePacket> msg, zx_time_t deadline,
51 zx_status_t ResumeInterruptedCall(MessageWaiter* waiter, zx_time_t deadline,
82 zx_status_t Wait(zx_time_t deadline);
/fuchsia/zircon/kernel/vm/
H A Dpmm.cpp115 zx_time_t deadline = zx_time_add_duration(now, ZX_SEC(1)); local
116 timer_set_oneshot(t, deadline, &pmm_dump_timer, nullptr);
147 zx_time_t deadline = zx_time_add_duration(current_time(), ZX_SEC(1)); local
148 timer_set(&timer, deadline, TIMER_SLACK_CENTER, ZX_MSEC(20), &pmm_dump_timer, nullptr);
/fuchsia/zircon/system/ulib/async-loop/include/lib/async-loop/cpp/
H A Dloop.h59 // Dispatches events until the |deadline| expires or the loop is quitted.
65 // Returns |ZX_ERR_TIMED_OUT| if the deadline expired.
68 zx_status_t Run(zx::time deadline = zx::time::infinite(), bool once = false);
/fuchsia/zircon/system/ulib/async-testutils/include/lib/async-testutils/
H A Dtest_loop.h50 // Dispatches all waits and all tasks with deadlines up until |deadline|,
53 bool RunUntil(zx::time deadline);
/fuchsia/zircon/system/ulib/fdio/
H A Dwatcher.c110 static zx_status_t fdio_watcher_loop(fdio_watcher_t* w, zx_time_t deadline) { argument
122 deadline, NULL)) < 0) {
140 zx_status_t fdio_watch_directory(int dirfd, watchdir_func_t cb, zx_time_t deadline, void *cookie) { argument
151 status = fdio_watcher_loop(watcher, deadline);
/fuchsia/zircon/system/ulib/inet6/
H A Deth-client.h43 // ZX_ERR_TIMED_OUT - deadline lapsed.
45 zx_status_t eth_wait_rx(eth_client_t* eth, zx_time_t deadline);
/fuchsia/zircon/kernel/include/kernel/
H A Devent.h57 // Wait until deadline
62 // no deadline, non interruptable version of the above.
68 // |signal_mask|. There is no deadline, and the caller must be interruptable.
107 zx_status_t Wait(zx_time_t deadline) { argument
108 return event_wait_deadline(&event_, deadline, true);
H A Dthread.h253 zx_status_t thread_join(thread_t* t, int* retcode, zx_time_t deadline);
283 // wait until after the specified deadline. interruptable may return early with
285 zx_status_t thread_sleep_etc(zx_time_t deadline, bool interruptable);
288 static inline zx_status_t thread_sleep(zx_time_t deadline) { argument
289 return thread_sleep_etc(deadline, false);
/fuchsia/zircon/kernel/platform/pc/
H A Dtimer.cpp545 zx_status_t platform_set_oneshot_timer(zx_time_t deadline) { argument
548 if (deadline < 0) {
549 deadline = 0;
551 deadline = discrete_time_roundup(deadline);
552 DEBUG_ASSERT(deadline > 0);
555 // Check if the deadline would overflow the TSC.
557 if (UINT64_MAX / deadline < tsc_ticks_per_ns) {
562 const uint64_t tsc_deadline = u64_mul_u64_fp32_64(deadline, tsc_per_ns);
563 LTRACEF("Scheduling oneshot timer: %" PRIu64 " deadline\
[all...]
/fuchsia/zircon/system/ulib/fs-management/
H A Dramdisk.cpp42 static zx_status_t wait_for_device_impl(char* path, const zx::time& deadline) { argument
58 if (stat(path, &buf) != 0 && (rc = wait_for_device_impl(path, deadline)) != ZX_OK) {
77 rc = fdio_watch_directory(dirfd(dir), driver_watcher_cb, deadline.get(), last);
97 zx::time deadline = zx::deadline_after(zx::duration(timeout)); local
98 return wait_for_device_impl(tmp, deadline);
/fuchsia/zircon/system/dev/i2c/intel-i2c/
H A Dintel-i2c-controller.h167 zx_time_t deadline);
170 zx_time_t deadline);
173 zx_time_t deadline);
/fuchsia/zircon/system/ulib/async/include/lib/async/cpp/
H A Dtask.h13 // Posts a task to invoke |handler| with a deadline of now.
22 // Posts a task to invoke |handler| with a deadline expressed as a |delay| from now.
31 // Posts a task to invoke |handler| with the specified |deadline|.
38 zx_status_t PostTaskForTime(async_dispatcher_t* dispatcher, fbl::Closure handler, zx::time deadline);
69 // The last deadline with which the task was posted, or |zx::time::infinite()|
71 zx::time last_deadline() const { return zx::time(task_.deadline); }
73 // Posts a task to invoke the handler with a deadline of now.
82 // Posts a task to invoke the handler with a deadline expressed as a |delay| from now.
91 // Posts a task to invoke the handler with the specified |deadline|.
93 // The |deadline| mus
[all...]
/fuchsia/zircon/system/ulib/intel-hda/utils/
H A Dutils.cpp22 zx_time_t deadline = zx_time_add_duration(now, timeout); local
26 if (now >= deadline)
29 zx_duration_t sleep_time = zx_time_sub_time(deadline, now);
/fuchsia/zircon/kernel/object/
H A Dchannel_dispatcher.cpp204 zx_time_t deadline, fbl::unique_ptr<MessagePacket>* reply) {
255 return ResumeInterruptedCall(waiter, deadline, reply);
259 zx_time_t deadline,
264 // deadline to hit.
268 zx_status_t status = waiter->Wait(deadline);
279 // If the deadline hits, the waiter is not removed
368 zx_status_t ChannelDispatcher::MessageWaiter::Wait(zx_time_t deadline) { argument
372 return event_.Wait(deadline);
203 Call(fbl::unique_ptr<MessagePacket> msg, zx_time_t deadline, fbl::unique_ptr<MessagePacket>* reply) argument
258 ResumeInterruptedCall(MessageWaiter* waiter, zx_time_t deadline, fbl::unique_ptr<MessagePacket>* reply) argument
/fuchsia/zircon/system/ulib/fzl/include/lib/fzl/
H A Dfifo.h44 zx_status_t wait_one(zx_signals_t signals, zx::time deadline, argument
46 return fifo_.wait_one(signals, deadline, pending);

Completed in 175 milliseconds

12345