Searched refs:deadline (Results 1 - 25 of 119) sorted by relevance

12345

/fuchsia/zircon/system/ulib/zircon/
H A Dzx_channel_call.cpp8 zx_time_t deadline,
13 handle, options, deadline, args, actual_bytes, actual_handles);
16 deadline, args, actual_bytes, actual_handles);
7 _zx_channel_call(zx_handle_t handle, uint32_t options, zx_time_t deadline, const zx_channel_call_args_t* args, uint32_t* actual_bytes, uint32_t* actual_handles) argument
/fuchsia/zircon/third_party/ulib/musl/src/thread/
H A D__timedwait.c8 zx_time_t deadline = ZX_TIME_INFINITE; local
11 int ret = __timespec_to_deadline(at, clk, &deadline);
20 switch (_zx_futex_wait(futex, val, deadline)) {
H A Dmtx_timedlock.c8 zx_time_t deadline = ZX_TIME_INFINITE; local
9 int ret = __timespec_to_deadline(ts, CLOCK_REALTIME, &deadline);
13 zx_status_t status = __zxr_mutex_timedlock((zxr_mutex_t*)&m->__i, deadline);
H A Dthrd_sleep.c9 zx_time_t deadline = ZX_TIME_INFINITE; local
10 int ret = __timespec_to_deadline(req, CLOCK_REALTIME, &deadline);
23 ret = _zx_nanosleep(deadline);
/fuchsia/zircon/system/ulib/sync/
H A Dcompletion.c17 zx_time_t deadline = local
19 return sync_completion_wait_deadline(completion, deadline);
22 zx_status_t sync_completion_wait_deadline(sync_completion_t* completion, zx_time_t deadline) { argument
33 switch (zx_futex_wait(futex, current_value, deadline)) {
/fuchsia/zircon/kernel/include/kernel/
H A Dtimer.h27 TIMER_SLACK_LATE, // slack interval is [deadline, dealine + slack)
28 TIMER_SLACK_EARLY, // slack interval is (deadline - slack, dealine]
71 // deadline passes. The function will be called one time.
74 // deadline: absolute time, in ns, after which the timer is executed
76 // slack: delta time in nanoseconds from |deadline| after or before it is
87 // - TIMER_SLACK_CENTER: |deadline - slack| to |deadline + slack|
88 // - TIMER_SLACK_LATE: |dealine| to |deadline + slack|
89 // - TIMER_SLACK_EARLY: |deadline - slack| to |deadline|
103 timer_set_oneshot( timer_t* timer, zx_time_t deadline, timer_callback callback, void* arg) argument
[all...]
H A Dwait.h47 // a deadline other than ZX_TIME_INFINITE will abort at the specified time
48 // and return ZX_ERR_TIMED_OUT. a deadline in the past will immediately return.
50 zx_status_t wait_queue_block(wait_queue_t*, zx_time_t deadline) TA_REQ(thread_lock);
54 // a deadline other than ZX_TIME_INFINITE will abort at the specified time
55 // and return ZX_ERR_TIMED_OUT. a deadline in the past will immediately return.
57 zx_status_t wait_queue_block_with_mask(wait_queue_t*, zx_time_t deadline,
104 zx_status_t Block(zx_time_t deadline) TA_REQ(thread_lock) {
105 return wait_queue_block(&wq_, deadline);
108 zx_status_t BlockWithMask(zx_time_t deadline, uint signal_mask) TA_REQ(thread_lock) {
109 return wait_queue_block_with_mask(&wq_, deadline, signal_mas
[all...]
/fuchsia/zircon/kernel/include/platform/
H A Dtimer.h19 zx_status_t platform_set_oneshot_timer(zx_time_t deadline);
/fuchsia/zircon/system/ulib/fdio/include/lib/fdio/
H A Dwatcher.h31 // If the deadline expires, ZX_ERR_TIMED_OUT is returned to the
32 // caller. A deadline of ZX_TIME_INFINITE will never expire.
40 zx_status_t fdio_watch_directory(int dirfd, watchdir_func_t cb, zx_time_t deadline, void* cookie);
/fuchsia/zircon/kernel/kernel/
H A Dtimer.cpp55 // Set the platform's oneshot timer to the minimum of its current deadline and |new_deadline|.
83 // - Let |e| be the current (existing) timer deadline
84 // - Let |t| be the deadline of the timer we are inserting
85 // - Let |n| be the next timer deadline if any
183 void timer_set(timer_t* timer, zx_time_t deadline, argument
186 LTRACEF("timer %p deadline %" PRIi64 " slack %" PRIi64 " callback %p arg %p\n",
187 timer, deadline, slack, callback, arg);
201 latest_deadline = deadline;
202 earliest_deadline = deadline;
206 latest_deadline = zx_time_add_duration(deadline, slac
253 timer_preempt_reset(zx_time_t deadline) argument
411 zx_time_t deadline = ZX_TIME_INFINITE; local
481 zx_time_t deadline = percpu[cpu].preempt_timer_deadline; local
[all...]
H A Devent.cpp66 static zx_status_t event_wait_worker(event_t* e, zx_time_t deadline, argument
87 ret = wait_queue_block_with_mask(&e->wait, deadline, signal_mask);
101 * the deadline is reached, or the event object is destroyed
105 * @param deadline Deadline to abort at, in ns
112 zx_status_t event_wait_deadline(event_t* e, zx_time_t deadline, bool interruptable) { argument
113 return event_wait_worker(e, deadline, interruptable, 0);
124 * There is no deadline, and the caller must be interruptable.
/fuchsia/zircon/kernel/object/
H A Dsemaphore.cpp28 zx_status_t Semaphore::Wait(zx_time_t deadline) { argument
41 ret = waitq_.Block(deadline);
H A Dtimer_dispatcher.cpp83 zx_status_t TimerDispatcher::Set(zx_time_t deadline, zx_duration_t slack) { argument
92 if ((deadline == 0u) || (deadline <= current_time())) {
97 deadline_ = deadline;
172 // restart the timer if its deadline was set in the meantime.
/fuchsia/zircon/system/ulib/async-loop/
H A Dloop_wrapper.cpp24 zx_status_t Loop::Run(zx::time deadline, bool once) { argument
25 return async_loop_run(loop_, deadline.get(), once);
/fuchsia/zircon/system/ulib/fs/include/fs/
H A Dclient.h22 zx_status_t vfs_unmount_handle(zx_handle_t h, zx_time_t deadline);
/fuchsia/zircon/third_party/ulib/musl/src/internal/
H A Dtime_conversion.h19 clockid_t clk, zx_time_t* deadline) {
33 *deadline = __duration_timespec_to_deadline(to);
18 __timespec_to_deadline(const struct timespec* timespec, clockid_t clk, zx_time_t* deadline) argument
/fuchsia/zircon/kernel/object/include/object/
H A Dsemaphore.h24 zx_status_t Wait(zx_time_t deadline);
/fuchsia/zircon/system/uapp/ihda/
H A Dzircon_device.cpp54 zx_time_t deadline; local
57 deadline = ZX_TIME_INFINITE;
61 deadline = zx_deadline_after(ZX_MSEC(timeout_msec));
64 return zx_channel_call(dev_channel_, 0, deadline, &args, &resp_size, &resp_handles);
/fuchsia/zircon/system/ulib/async/include/lib/async/
H A Dtask.h14 // The |status| is |ZX_OK| if the task's deadline elapsed and the task should run.
34 // The task's deadline must be expressed in the time base used by the asynchronous
37 zx_time_t deadline; member in struct:async_task
40 // Posts a task to run on or after its deadline following all posted
/fuchsia/zircon/system/ulib/async-testutils/include/lib/async-testutils/
H A Dtime-keeper.h30 // to or later than |deadline|, |dispatcher| will signal that the associated
32 virtual void RegisterTimer(zx::time deadline, TimerDispatcher* dispatcher) = 0;
/fuchsia/zircon/system/ulib/sync/include/lib/sync/
H A Dcompletion.h31 // Returns ZX_ERR_TIMED_OUT if deadline elapses, and ZX_OK if woken by
34 zx_status_t sync_completion_wait_deadline(sync_completion_t* completion, zx_time_t deadline);
/fuchsia/zircon/kernel/syscalls/
H A Dobject_wait.cpp41 zx_time_t deadline,
66 ktrace(TAG_WAIT_ONE, koid, signals, (uint32_t)deadline, (uint32_t)(deadline >> 32));
69 // even if the deadline has passed. It will return ZX_ERR_TIMED_OUT
70 // after the deadline passes if the event has not been
74 result = event.Wait(deadline);
94 zx_status_t sys_object_wait_many(user_inout_ptr<zx_wait_item_t> user_items, size_t count, zx_time_t deadline) { argument
98 zx_status_t result = thread_sleep_etc(deadline, /*interruptable=*/true);
144 // even if deadline has passed. It will return ZX_ERR_TIMED_OUT
145 // after the deadline passe
39 sys_object_wait_one(zx_handle_t handle_value, zx_signals_t signals, zx_time_t deadline, user_out_ptr<zx_signals_t> observed) argument
[all...]
/fuchsia/zircon/system/ulib/async/
H A Dtask.cpp12 RetainedTask(fbl::Closure handler, zx::time deadline) argument
13 : async_task_t{{ASYNC_STATE_INIT}, &RetainedTask::Handler, deadline.get()},
38 zx_status_t PostTaskForTime(async_dispatcher_t* dispatcher, fbl::Closure handler, zx::time deadline) { argument
39 auto* task = new internal::RetainedTask(static_cast<fbl::Closure&&>(handler), deadline);
65 zx_status_t TaskBase::PostForTime(async_dispatcher_t* dispatcher, zx::time deadline) { argument
70 task_.deadline = deadline.get();
/fuchsia/zircon/kernel/lib/watchdog/
H A Dwatchdog.c65 zx_time_t deadline = current_time() + dog->timeout; local
67 timer_set_oneshot(&dog->expire_timer, deadline, watchdog_timer_callback, dog);
86 zx_time_t deadline = current_time() + dog->timeout; local
87 timer_set_oneshot(&dog->expire_timer, deadline, watchdog_timer_callback, dog);
/fuchsia/zircon/kernel/platform/pc/include/platform/pc/
H A Dhpet.h26 zx_status_t hpet_timer_set_oneshot(uint n, uint64_t deadline);

Completed in 90 milliseconds

12345