Searched refs:sched_flags (Results 1 - 16 of 16) sorted by relevance

/darwin-on-arm/xnu/osfmk/kern/
H A Dpriority.c120 !(thread->sched_flags & TH_SFLAG_PROMOTED) &&
145 thread->sched_flags |= TH_SFLAG_FAILSAFE;
244 if ( !(thread->sched_flags & TH_SFLAG_PROMOTED) &&
245 !(thread->sched_flags & TH_SFLAG_DEPRESSED_MASK) )
344 if ( !(thread->sched_flags & TH_SFLAG_PROMOTED) &&
345 (!(thread->sched_flags & TH_SFLAG_DEPRESSED_MASK) ||
458 if ( (thread->sched_flags & TH_SFLAG_FAILSAFE) &&
471 if (!(thread->sched_flags & TH_SFLAG_DEPRESSED_MASK))
475 thread->sched_flags &= ~TH_SFLAG_FAILSAFE;
480 if (thread->sched_flags
[all...]
H A Dthread_policy.c103 if (!(thread->sched_flags & TH_SFLAG_DEMOTED_MASK)) {
164 if (thread->sched_flags & TH_SFLAG_DEMOTED_MASK) {
292 if ((!(thread->sched_flags & TH_SFLAG_THROTTLED)
293 || (thread->sched_flags & TH_SFLAG_PENDING_THROTTLE_PROMOTION))
297 thread->sched_flags &= ~TH_SFLAG_PENDING_THROTTLE_PROMOTION;
299 if (!(thread->sched_flags & TH_SFLAG_THROTTLED)) {
304 thread->sched_flags |= TH_SFLAG_PENDING_THROTTLE_DEMOTION;
307 else if (((thread->sched_flags & TH_SFLAG_THROTTLED)
308 || (thread->sched_flags & TH_SFLAG_PENDING_THROTTLE_DEMOTION))
312 thread->sched_flags
[all...]
H A Dsched_fixedpriority.c406 if ( !(thread->sched_flags & TH_SFLAG_PROMOTED) &&
407 (!(thread->sched_flags & TH_SFLAG_DEPRESSED_MASK) ||
607 return ((thread->sched_flags & TH_SFLAG_PRI_UPDATE) == 0);
615 thread->sched_flags |= TH_SFLAG_PRI_UPDATE;
617 if (thread->sched_flags & TH_SFLAG_FAIRSHARE_TRIPPED) {
628 thread->sched_flags &= ~TH_SFLAG_FAIRSHARE_TRIPPED;
639 } else if ((thread->sched_flags & TH_SFLAG_DEPRESSED_MASK) && (thread->bound_processor == PROCESSOR_NULL)) {
642 thread->sched_flags |= TH_SFLAG_FAIRSHARE_TRIPPED;
658 if ((thread->sched_flags & TH_SFLAG_PENDING_THROTTLE_MASK) && (thread->bound_processor == PROCESSOR_NULL)) {
661 if (thread->sched_flags
[all...]
H A Dsyscall_subr.c350 if (!(self->sched_flags & TH_SFLAG_DEPRESSED_MASK)) {
355 self->sched_flags |= TH_SFLAG_DEPRESS;
392 thread->sched_flags &= ~TH_SFLAG_DEPRESSED_MASK;
411 if (!(thread->sched_flags & TH_SFLAG_POLLDEPRESS)) {
412 if (thread->sched_flags & TH_SFLAG_DEPRESSED_MASK) {
413 thread->sched_flags &= ~TH_SFLAG_DEPRESSED_MASK;
447 if (!(self->sched_flags & TH_SFLAG_DEPRESSED_MASK)) {
453 self->sched_flags |= TH_SFLAG_POLLDEPRESS;
H A Dthread_act.c320 if (!(thread->sched_flags & TH_SFLAG_ABORT)) {
321 thread->sched_flags |= TH_SFLAG_ABORT;
325 thread->sched_flags &= ~TH_SFLAG_ABORTSAFELY;
371 if (!(thread->sched_flags & TH_SFLAG_ABORT)) {
372 thread->sched_flags |= TH_SFLAG_ABORTED_MASK;
709 if (thread->sched_flags & TH_SFLAG_DEPRESSED_MASK)
790 if (thread->sched_flags & TH_SFLAG_DEPRESSED_MASK) {
821 thread->sched_flags &= ~TH_SFLAG_ABORTED_MASK;
H A Dbsd_kern.c144 (inc->sched_flags & TH_SFLAG_ABORTED_MASK) != TH_SFLAG_ABORT) {
194 (inc->sched_flags & TH_SFLAG_ABORTED_MASK) != TH_SFLAG_ABORT) {
491 return ((th->sched_flags & TH_SFLAG_ABORTED_MASK) == TH_SFLAG_ABORT);
509 if ((th->sched_flags & TH_SFLAG_ABORTED_MASK) == TH_SFLAG_ABORT &&
512 if (th->sched_flags & TH_SFLAG_ABORTSAFELY) {
515 if (th->sched_flags & TH_SFLAG_ABORTSAFELY)
516 th->sched_flags &= ~TH_SFLAG_ABORTED_MASK;
H A Ddebug.h49 int32_t sched_flags; // scheduler flags member in struct:thread_snapshot
H A Dlocks.c608 holder->sched_flags |= TH_SFLAG_PROMOTED;
690 thread->sched_flags |= TH_SFLAG_PROMOTED;
740 (thread->sched_flags & TH_SFLAG_PROMOTED) ) {
741 thread->sched_flags &= ~TH_SFLAG_PROMOTED;
742 if (thread->sched_flags & TH_SFLAG_DEPRESSED_MASK) {
H A Dthread.c193 thread_template.sched_flags = 0;
341 if (thread->sched_flags & TH_SFLAG_DEPRESSED_MASK) {
342 thread->sched_flags &= ~TH_SFLAG_DEPRESSED_MASK;
777 new_thread->sched_flags = 0;
1233 ts_info->depressed = (thread->sched_flags & TH_SFLAG_DEPRESSED_MASK) != 0;
1281 rr_info->depressed = (thread->sched_flags & TH_SFLAG_DEPRESSED_MASK) != 0;
H A Dmk_sp.c91 if (!(thread->sched_flags & TH_SFLAG_DEMOTED_MASK)) {
H A Dsched_prim.c1050 !(thread->sched_flags & TH_SFLAG_ABORT) ||
1052 (thread->sched_flags & TH_SFLAG_ABORTSAFELY))) {
1062 if (thread->sched_flags & TH_SFLAG_ABORTSAFELY)
1063 thread->sched_flags &= ~TH_SFLAG_ABORTED_MASK;
4446 return ((thread->sched_flags & TH_SFLAG_EAGERPREEMPT) != 0);
4460 thread->sched_flags |= TH_SFLAG_EAGERPREEMPT;
4491 thread->sched_flags &= ~TH_SFLAG_EAGERPREEMPT;
H A Dthread.h193 unsigned int sched_flags; /* current flag bits */ member in struct:thread
H A Dwait_queue.c1791 thread->sched_flags |= TH_SFLAG_PROMOTED;
/darwin-on-arm/xnu/osfmk/i386/
H A Dlocks_i386.c1830 thread_tid(thread), thread->promotions, thread->sched_flags & TH_SFLAG_PROMOTED, 0, 0);
1837 if (--thread->promotions == 0 && (thread->sched_flags & TH_SFLAG_PROMOTED)) {
1839 thread->sched_flags &= ~TH_SFLAG_PROMOTED;
1841 if (thread->sched_flags & TH_SFLAG_DEPRESSED_MASK) {
1908 thread->sched_flags |= TH_SFLAG_PROMOTED;
2059 holder->sched_flags |= TH_SFLAG_PROMOTED;
/darwin-on-arm/xnu/osfmk/kdp/
H A Dkdp.c1273 tsnap->sched_flags = thread->sched_flags;
/darwin-on-arm/xnu/osfmk/vm/
H A Dvm_fault.c1568 if ((interruptible != THREAD_UNINT) && (current_thread()->sched_flags & TH_SFLAG_ABORT)) {

Completed in 191 milliseconds