Searched refs:urgency (Results 1 - 13 of 13) sorted by relevance

/xnu-2422.115.4/osfmk/i386/
H A Di386_timer.c303 * urgency value provided at timeout establishment. With this mechanism,
310 timer_compute_leeway(thread_t cthread, int32_t urgency, int32_t *tshift, uint64_t *tmax, boolean_t *pratelimited) { argument
313 if ((urgency & TIMER_CALL_USER_MASK) != 0) {
315 urgency == TIMER_CALL_USER_CRITICAL) {
319 } else if ((urgency == TIMER_CALL_USER_BACKGROUND) ||
349 } else if (urgency == TIMER_CALL_SYS_BACKGROUND) {
368 uint32_t urgency = (flags & TIMER_CALL_URGENCY_MASK); local
371 (deadline > now) && (urgency != TIMER_CALL_SYS_CRITICAL)) {
372 timer_compute_leeway(cthread, urgency, &tcs_shift, &tcs_ns_max, pratelimited);
H A DpmCPU.c732 int urgency; local
735 urgency = thread_get_urgency(current_processor()->next_thread, &arg1, &arg2);
737 if (urgency == THREAD_URGENCY_REAL_TIME) {
745 KERNEL_DEBUG(MACHDBG_CODE(DBG_MACH_SCHED, MACH_SCHED_GET_URGENCY), urgency, arg1, arg2, 0, 0); local
747 return(urgency);
758 thread_tell_urgency(int urgency, argument
767 urgency_stats[cpu_number() % 64][urgency]++;
774 KERNEL_DEBUG_CONSTANT(MACHDBG_CODE(DBG_MACH_SCHED,MACH_URGENCY) | DBG_FUNC_START, urgency, rt_period, rt_deadline, 0, 0);
780 pmDispatch->pmThreadTellUrgency(urgency, rt_period, rt_deadline);
797 KERNEL_DEBUG_CONSTANT(MACHDBG_CODE(DBG_MACH_SCHED,MACH_URGENCY) | DBG_FUNC_END, urgency, rt_perio
[all...]
H A DpmCPU.h79 void (*pmThreadTellUrgency)(int urgency, uint64_t rt_period, uint64_t rt_deadline);
159 /* Default urgency timing threshold for the DEBUG build */
/xnu-2422.115.4/osfmk/kern/
H A Dsched_proto.c436 rq->urgency--; assert(rq->urgency >= 0);
511 int count, urgency; local
515 urgency = runq->urgency;
518 if (urgency > 0)
H A Dtimer_queue.h72 uint32_t urgency,
H A Dsched_prim.h319 /* Returns the "urgency" of a thread (provided by scheduler) */
325 /* Tells the "urgency" of the just scheduled thread (provided by CPU PM) */
327 int urgency,
386 /* Assert that the thread intends to wait with an urgency, timeout and leeway */
390 wait_timeout_urgency_t urgency,
400 /* Assert that the thread intends to wait with an urgency, deadline, and leeway */
404 wait_timeout_urgency_t urgency,
H A Dwait_queue.h229 wait_timeout_urgency_t urgency,
398 wait_timeout_urgency_t urgency,
438 wait_timeout_urgency_t urgency,
H A Dsched.h190 int urgency; /* level of preemption urgency */ member in struct:run_queue
H A Dsched_prim.c1180 wait_timeout_urgency_t urgency,
1213 urgency, deadline, slop,
1261 wait_timeout_urgency_t urgency,
1283 urgency, deadline, leeway,
2007 int urgency; local
2085 urgency = thread_get_urgency(thread, &arg1, &arg2);
2087 thread_tell_urgency(urgency, arg1, arg2, new_thread);
2152 rq->urgency--; assert(rq->urgency >= 0);
2654 int urgency; local
1177 assert_wait_timeout_with_leeway( event_t event, wait_interrupt_t interruptible, wait_timeout_urgency_t urgency, uint32_t interval, uint32_t leeway, uint32_t scale_factor) argument
1258 assert_wait_deadline_with_leeway( event_t event, wait_interrupt_t interruptible, wait_timeout_urgency_t urgency, uint64_t deadline, uint64_t leeway) argument
[all...]
H A Dwait_queue.c1184 wait_timeout_urgency_t urgency,
1233 deadline, leeway, urgency, FALSE))
1288 * Deadline values are specified with urgency and leeway.
1298 wait_timeout_urgency_t urgency,
1315 urgency, deadline, leeway,
1364 * Deadline values are specified with urgency and leeway.
1373 wait_timeout_urgency_t urgency,
1389 urgency, deadline, leeway,
1180 wait_queue_assert_wait64_locked( wait_queue_t wq, event64_t event, wait_interrupt_t interruptible, wait_timeout_urgency_t urgency, uint64_t deadline, uint64_t leeway, thread_t thread) argument
1294 wait_queue_assert_wait_with_leeway( wait_queue_t wq, event_t event, wait_interrupt_t interruptible, wait_timeout_urgency_t urgency, uint64_t deadline, uint64_t leeway) argument
1369 wait_queue_assert_wait64_with_leeway( wait_queue_t wq, event64_t event, wait_interrupt_t interruptible, wait_timeout_urgency_t urgency, uint64_t deadline, uint64_t leeway) argument
H A Dthread_call.c897 uint32_t urgency; local
900 urgency = (flags & TIMEOUT_URGENCY_MASK);
918 slop = timer_call_slop(deadline, abstime, urgency, current_thread(), &ratelimited);
H A Dtimer_call.c483 uint32_t urgency; local
497 urgency = (flags & TIMER_CALL_URGENCY_MASK);
500 slop = timer_call_slop(deadline, ctime, urgency, current_thread(), &slop_ratelimited);
H A Dsched_fixedpriority.c563 if (runq->urgency > 0)

Completed in 88 milliseconds