Lines Matching defs:self
414 thread_t self = current_thread();
418 if (tid == self->thread_id)
428 val = self->policystate.hw_bg;
522 thread_t self = current_thread();
528 if (tid == self->thread_id)
537 self->policystate.hw_bg = prio;
585 thread_t self = current_thread();
591 if (tid == self->thread_id)
600 self->policystate.hw_bg |= val;
632 thread_t self = current_thread();
638 if (tid == self->thread_id)
647 self->policystate.hw_bg &= ~val;
707 /* apply the self backgrounding even if the thread is not current thread */
730 thread_t self = current_thread();
734 if (tid == self->thread_id) {
742 thread = self;
865 /* self BG in flight? */
889 /* restore the self backgrounding even if the thread is not current thread */
900 /* remove the background and restore default importance as self(internal) removal */
927 thread_t self = current_thread();
931 if (tid == self->thread_id)
938 thread = self;
978 /* self BG in flight? */
1024 /* apply self backgrounding if not already set */
1100 /* if it is a TAL or DBClient and not self throttled, return Utility */
1148 /* if it is a TAL or DBClient and not self throttled, return Utility */
1205 task_t self = current_task();
1208 if (task == self) {
1344 task_t self = current_task();
1347 if (task == self) {
1907 thread_t self = current_thread();
1914 if ((tid == 0) || (tid == self->thread_id)) {
1916 target_thread = self;