/xnu-2782.1.97/bsd/uxkern/ |
H A D | ux_exception.c | 105 task_t self = current_task(); local 109 /* self->kernel_vm_space = TRUE; */ 110 ux_handler_self = self; 129 if (ipc_object_copyin(get_task_ipcspace(self), exc_port_name, 239 task_t self = current_task(); local 254 (ipc_object_copyin(get_task_ipcspace(self), thread_name,
|
/xnu-2782.1.97/osfmk/ipc/ |
H A D | ipc_mqueue.c | 591 thread_t self = current_thread(); local 592 mach_msg_option_t option = self->ith_option; 599 self->ith_state = MACH_RCV_TIMED_OUT; 603 self->ith_state = MACH_RCV_INTERRUPTED; 608 self->ith_state = MACH_RCV_PORT_CHANGED; 616 switch (self->ith_state) { 688 thread_t self = current_thread(); local 692 self); 701 if (self->ith_continuation)
|
H A D | ipc_port.c | 865 thread_t self = current_thread(); local 866 boolean_t top = (self->ith_assertions == 0); 897 self->ith_assertions = assertcnt; 964 self->ith_assertions = 0; 972 self->ith_assertions = 0;
|
/xnu-2782.1.97/osfmk/kern/ |
H A D | sfi.c | 810 thread_t self = current_thread(); local 815 thread_lock(self); 817 thread_sched_call(self, callback); 819 sfi_wait_begin = self->wait_sfi_begin_time; 820 thread_unlock(self); 824 current_sfi_wait_class = self->sfi_wait_class; 825 self->sfi_wait_class = SFI_CLASS_UNSPECIFIED; 829 ledger_credit(self->task->ledger, task_ledgers.sfi_wait_times[current_sfi_wait_class], sfi_wait_time);
|
H A D | thread_act.c | 219 thread_t self = current_thread(); local 231 if (thread != self) 240 if (thread != self && result == KERN_SUCCESS) 595 thread_t self = current_thread(); local 598 if (target == THREAD_NULL || target == self) 610 result = machine_thread_dup(self, target); 611 if (self->affinity_set != AFFINITY_SET_NULL) 612 thread_affinity_dup(self, target);
|
H A D | locks.c | 611 thread_t self = current_thread(); local 630 priority = self->sched_pri; 631 if (priority < self->priority) 632 priority = self->priority; 655 if (self->pending_promoter[self->pending_promoter_index] == NULL) { 656 self->pending_promoter[self->pending_promoter_index] = mutex; 660 if (self->pending_promoter[self [all...] |
H A D | machine.c | 254 thread_t old_thread, self = current_thread(); local 293 old_thread = machine_processor_shutdown(self, processor_offline, processor); 295 thread_dispatch(old_thread, self);
|
H A D | startup.c | 624 thread_t self = current_thread(); local 632 if (self == processor->idle_thread) 635 thread_terminate(self);
|
H A D | exception.c | 427 thread_t self = current_thread(); local 436 kr = exception_deliver(self, exception, code, codeCnt, task->exc_actions, mutex);
|
H A D | task.c | 1209 thread_t thread, self; local 1216 self = current_thread(); 1217 self_task = self->task; 1400 thread_t thread, self; local 1404 self = current_thread(); 1406 if (task != self->task) 1411 if (task->halting || !task->active || !self->active) { 1439 if (thread != self) 1603 register thread_t thread, self; local 1608 self [all...] |
H A D | task_policy.c | 1411 thread_t self = current_thread(); local 1416 if (tid == TID_NULL || tid == self->thread_id) 1417 thread = self; 1846 * be passive to avoid self-throttling when the override is removed and lower 2106 thread_t self = current_thread(); local 2121 if (tid == self->thread_id) { 2122 thread = self; 2177 thread_t self = current_thread(); local 2191 if (tid == self->thread_id) { 2192 thread = self; [all...] |
H A D | sched_prim.h | 117 thread_t self,
|
H A D | thread.c | 571 thread_t self, thread; local 574 self = current_thread(); 575 self->options |= TH_OPT_SYSTEM_CRITICAL; 636 self->options &= ~TH_OPT_SYSTEM_CRITICAL;
|
/xnu-2782.1.97/iokit/Kernel/ |
H A D | IOTimerEventSource.cpp | 98 void IOTimerEventSource::timeout(void *self) argument 100 IOTimerEventSource *me = (IOTimerEventSource *) self; 137 void IOTimerEventSource::timeoutAndRelease(void * self, void * c) argument 139 IOTimerEventSource *me = (IOTimerEventSource *) self;
|
H A D | IOMemoryDescriptor.cpp | 1147 IOGeneralMemoryDescriptor *self = new IOGeneralMemoryDescriptor; local 1149 if (self 1150 && !self->initWithOptions(buffers, count, offset, task, opts, mapper)) 1152 self->release(); 1156 return self; 1224 IOGeneralMemoryDescriptor * self = new IOGeneralMemoryDescriptor; local 1227 if (self 1228 && !self->initWithOptions(&initData, 1, 0, 0, kIOMemoryTypePersistentMD, 0)) { 1229 self->release(); 1230 self [all...] |
/xnu-2782.1.97/iokit/IOKit/ |
H A D | IOWorkLoop.h | 85 static void threadMainContinuation(IOWorkLoop *self);
|
/xnu-2782.1.97/bsd/kern/ |
H A D | kern_exit.c | 255 thread_t self = current_thread(); local 266 ut = get_bsdthread_info(self); 310 if (p->exit_thread == self) 320 while (p->exit_thread != self) { 323 if (get_threadtask(self) != task) { 329 thread_terminate(self); 384 thread_t self = current_thread(); local 385 ut = get_bsdthread_info(self); 414 (void)sys_perf_notify(self, p->p_pid); 817 * info and self time 1739 thread_t self = current_thread(); local [all...] |
H A D | kern_sig.c | 845 thread_t self = current_thread(); local 848 uthread = (struct uthread *)get_bsdthread_info(self); 858 thread_abort_safely(self); 3124 thread_t self = current_thread(); local 3126 p->exit_thread = self; 3138 thread_t self = current_thread(); local 3145 if (thread_should_abort(self)) {
|
H A D | kern_memorystatus.c | 1453 memorystatus_dirty_set(proc_t p, boolean_t self, uint32_t pcontrol) { argument 1460 MEMORYSTATUS_DEBUG(1, "memorystatus_dirty_set(): %d %d 0x%x 0x%x\n", self, p->p_pid, pcontrol, p->p_memstat_dirty); 1462 KERNEL_DEBUG_CONSTANT(BSDDBG_CODE(DBG_BSD_MEMSTAT, BSD_MEMSTAT_DIRTY_SET), p->p_pid, self, pcontrol, 0, 0); local 1492 int flag = (self == TRUE) ? P_DIRTY : P_DIRTY_SHUTDOWN;
|
H A D | proc_info.c | 2117 /* ********* process control sets on self only */ 2204 boolean_t self = FALSE; local 2231 self = TRUE; 2239 if ((self == FALSE) && (child == FALSE) && kauth_cred_issuser(kauth_cred_get()) != TRUE) { 2255 error = memorystatus_dirty_set(target_p, self, pcontrol);
|
/xnu-2782.1.97/bsd/sys/ |
H A D | kern_memorystatus.h | 239 extern int memorystatus_dirty_set(proc_t p, boolean_t self, uint32_t pcontrol);
|
/xnu-2782.1.97/libkern/kxld/ |
H A D | Makefile | 71 -Wwrite-strings -Wshorten-64-to-32 -Wshadow -Winit-self -Wpointer-arith \
|
/xnu-2782.1.97/osfmk/i386/ |
H A D | locks_i386.c | 1968 thread_t self = current_thread(); local 1982 priority = self->sched_pri; 1984 if (priority < self->priority) 1985 priority = self->priority;
|
/xnu-2782.1.97/osfmk/vm/ |
H A D | vm_pageout.c | 2817 thread_t self = current_thread(); local 2820 && (self == vm_pageout_external_iothread ) 2821 && (self->options & TH_OPT_VMPRIV)) 2822 self->options &= ~TH_OPT_VMPRIV; 3486 thread_t self = current_thread(); local 3488 self->options |= TH_OPT_VMPRIV; 3492 proc_set_task_policy_thread(kernel_task, self->thread_id, TASK_POLICY_EXTERNAL, 3497 vm_pageout_queue_external.pgo_tid = self->thread_id; 3515 thread_t self = current_thread(); local 3517 self 3800 thread_t self = current_thread(); local [all...] |
/xnu-2782.1.97/iokit/IOKit/pwr_mgt/ |
H A D | RootDomain.h | 139 void * self, void * ref = 0);
|