/xnu-2422.115.4/osfmk/i386/ |
H A D | i386_timer.c | 303 * 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 D | pmCPU.c | 732 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 D | pmCPU.h | 79 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 D | sched_proto.c | 436 rq->urgency--; assert(rq->urgency >= 0); 511 int count, urgency; local 515 urgency = runq->urgency; 518 if (urgency > 0)
|
H A D | timer_queue.h | 72 uint32_t urgency,
|
H A D | sched_prim.h | 319 /* 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 D | wait_queue.h | 229 wait_timeout_urgency_t urgency, 398 wait_timeout_urgency_t urgency, 438 wait_timeout_urgency_t urgency,
|
H A D | sched.h | 190 int urgency; /* level of preemption urgency */ member in struct:run_queue
|
H A D | sched_prim.c | 1180 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 D | wait_queue.c | 1184 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 D | thread_call.c | 897 uint32_t urgency; local 900 urgency = (flags & TIMEOUT_URGENCY_MASK); 918 slop = timer_call_slop(deadline, abstime, urgency, current_thread(), &ratelimited);
|
H A D | timer_call.c | 483 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 D | sched_fixedpriority.c | 563 if (runq->urgency > 0)
|