Lines Matching refs:self
1155 thread_t self = current_thread();
1159 if ((thread_get_tag_internal(self) & THREAD_TAG_CALLOUT) == 0)
1160 (void)thread_set_tag_internal(self, THREAD_TAG_CALLOUT);
1167 thread_terminate(self);
1175 thread_sched_call(self, group->sched_call);
1233 thread_sched_call(self, NULL);
1236 if (self->callout_woken_from_icontext && !self->callout_woke_thread) {
1237 ledger_credit(self->t_ledger, task_ledgers.interrupt_wakeups, 1);
1238 if (self->callout_woken_from_platform_idle)
1239 ledger_credit(self->t_ledger, task_ledgers.platform_idle_wakeups, 1);
1242 self->callout_woken_from_icontext = FALSE;
1243 self->callout_woken_from_platform_idle = FALSE;
1244 self->callout_woke_thread = FALSE;
1290 thread_terminate(self);
1346 thread_t self = current_thread();
1348 self->options |= TH_OPT_VMPRIV;