/darwin-on-arm/xnu/bsd/kern/ |
H A D | tty_tty.c | 106 context.vc_thread = current_thread(); 138 context.vc_thread = current_thread(); 161 context.vc_thread = current_thread(); 180 context.vc_thread = current_thread(); 218 context.vc_thread = current_thread(); 234 context.vc_thread = current_thread();
|
H A D | bsd_stubs.c | 94 thread_t thread = current_thread(); 362 newlock->dl_thread = current_thread(); 398 if (tmplock->dl_thread != current_thread()) {
|
H A D | kern_sig.c | 429 error = setsigvec(p, current_thread(), signum, &__vec, FALSE); 563 * or disabled. We can't simply take current_thread(), since 730 ut = (struct uthread *)get_bsdthread_info(current_thread()); 744 signal_setast(current_thread()); 749 signal_setast(current_thread()); 754 signal_setast(current_thread()); 773 ut = (struct uthread *)get_bsdthread_info(current_thread()); 790 // struct uthread *ut = get_bsdthread_info(current_thread()); 806 ut = (struct uthread *)get_bsdthread_info(current_thread()); 831 uth = (struct uthread *)get_bsdthread_info(current_thread()); [all...] |
/darwin-on-arm/xnu/osfmk/kern/ |
H A D | thread_act.c | 138 if (thread != current_thread() && result == KERN_SUCCESS) 157 thread != current_thread() ) 219 thread_t self = current_thread(); 432 if (thread != current_thread()) { 482 if (thread != current_thread()) { 562 if (thread != current_thread()) { 595 thread_t self = current_thread(); 714 if (thread == current_thread()) 733 thread_t thread = current_thread(); 780 thread_t thread = current_thread(); [all...] |
H A D | syscall_subr.c | 159 thread_depress_abort_internal(current_thread()); 192 thread_depress_abort_internal(current_thread()); 205 register thread_t self = current_thread(); 224 register thread_t thread, self = current_thread(); 344 register thread_t self = current_thread(); 433 assert(self == current_thread()); 487 thread_depress_abort_internal(current_thread());
|
H A D | sync_lock.c | 324 if (ulock->holder == current_thread()) { 368 ulock_ownership_set(ulock, current_thread()); 387 return (ulock_release_internal(ulock, current_thread())); 423 if (ulock->holder == current_thread()) { 436 ulock_ownership_set(ulock, current_thread()); 465 if (ulock->holder != current_thread()) { 610 if (ulock->holder != current_thread()) { 697 assert(ulock->holder != current_thread()); 703 assert(ulock->holder == current_thread()); 749 if (ulock->holder == current_thread()) { [all...] |
H A D | ipc_mig.c | 254 thread_t self = current_thread(); 451 max_trailer->msgh_sender = current_thread()->task->sec_token; 452 max_trailer->msgh_audit = current_thread()->task->audit_token; 470 thread_t self = current_thread(); 499 trailer_size = ipc_kmsg_add_trailer(kmsg, space, option, current_thread(), seqno, TRUE,
|
H A D | task_policy.c | 414 thread_t self = current_thread(); 438 thread_t thread = current_thread(); 452 thread_t thread = current_thread(); 522 thread_t self = current_thread(); 585 thread_t self = current_thread(); 632 thread_t self = current_thread(); 730 thread_t self = current_thread(); 839 return(proc_apply_bgthreadpolicy(current_task(), current_thread()->thread_id)); 919 return(proc_restore_bgthreadpolicy(current_task(), thread_tid(current_thread()))); 927 thread_t self = current_thread(); [all...] |
/darwin-on-arm/xnu/bsd/vm/ |
H A D | vm_unix.c | 1108 current_thread(), p->p_pid, p->p_comm, 1129 current_thread(), p->p_pid, p->p_comm, 1142 current_thread(), p->p_pid, p->p_comm, 1168 current_thread(), p->p_pid, p->p_comm, 1205 current_thread(), p->p_pid, p->p_comm)); 1217 current_thread(), p->p_pid, p->p_comm, fd, error)); 1226 current_thread(), p->p_pid, p->p_comm, 1237 current_thread(), p->p_pid, p->p_comm, fd)); 1248 current_thread(), p->p_pid, p->p_comm, fd, error)); 1258 current_thread(), [all...] |
/darwin-on-arm/xnu/bsd/dev/chud/ |
H A D | chud_process.c | 70 struct uthread *ut = get_bsdthread_info(current_thread());
|
/darwin-on-arm/xnu/osfmk/arm/ |
H A D | pcb.c | 113 thread_t curthr = current_thread(); 121 thread_t curthr = current_thread(); 340 thread_t self = current_thread(); 421 thread_t thr_act = current_thread();
|
H A D | arm_init.c | 196 thread = current_thread();
|
H A D | cpu_data.h | 50 extern thread_t current_thread(void);
|
/darwin-on-arm/xnu/osfmk/i386/ |
H A D | bsd_i386_native.c | 163 thread_t thread = current_thread(); 175 current_thread()->machine.cthread_self = (uint64_t) self; /* preserve old func too */ 199 pcb_t pcb = THREAD_TO_PCB(current_thread()); 264 pcb = THREAD_TO_PCB(current_thread());
|
H A D | pmap_pcid.h | 83 pmap_assert(cptr == &(current_thread()->map->pmap->pmap_pcid_coherency_vector[ccpu]));
|
H A D | copyio.c | 153 thread = current_thread(); 414 assert(!((current_thread()->machine.specFlags & CopyIOActive) && ((which & cppvKmap) == 0))); 416 if (current_thread()->machine.physwindow_busy) { 448 current_thread()->machine.physwindow_busy = 1; 450 if (current_thread()->machine.physwindow_pte != pentry) { 453 current_thread()->machine.physwindow_pte = pentry; 483 current_thread()->machine.physwindow_busy = 0;
|
H A D | fpu.c | 539 if ((old_valid == FALSE) && (thr_act != current_thread())) { 642 if (thr_act == current_thread()) { 713 assert(current_thread() == parent); 787 thr_act = current_thread(); 838 thread_t thr_act = current_thread(); 890 thread_t thr_act = current_thread(); 978 thread_t thr_act = current_thread(); 1009 thread_t thr_act = current_thread();
|
/darwin-on-arm/xnu/osfmk/ipc/ |
H A D | mach_msg.c | 216 trailer->msgh_sender = current_thread()->task->sec_token; 217 trailer->msgh_audit = current_thread()->task->audit_token; 262 thread_t self = current_thread(); 350 thread_t self = current_thread(); 378 thread_t self = current_thread(); 437 thread_t self = current_thread(); 543 option, current_thread(), seqno,
|
/darwin-on-arm/xnu/osfmk/kperf/ |
H A D | kperf.c | 142 if( thread != current_thread() )
|
/darwin-on-arm/xnu/osfmk/arm64/ |
H A D | thread_initialize.c | 95 thread_t curthr = current_thread(); 104 thread_t curthr = current_thread(); 325 thread_t self = current_thread();
|
/darwin-on-arm/xnu/osfmk/chud/ |
H A D | chud_thread.c | 76 if(thread != current_thread()) 96 if(thread == current_thread() && 108 if(thread == current_thread()) 505 return current_thread(); 580 if( thread != current_thread() )
|
/darwin-on-arm/xnu/osfmk/chud/i386/ |
H A D | chud_osfmk_callback_i386.c | 140 if (chudxnu_thread_get_state(current_thread(), 250 thread_t thread = current_thread(); 359 thread_t thread = current_thread(); 454 if(chudxnu_thread_get_state(current_thread(), 508 if (chudxnu_thread_get_state(current_thread(),
|
/darwin-on-arm/xnu/bsd/dev/dtrace/ |
H A D | systrace.c | 131 pal_register_cache_state(current_thread(), VALID); 132 x86_saved_state_t *tagged_regs = (x86_saved_state_t *)find_user_regs(current_thread()); 161 uthread_t uthread = (uthread_t)get_bsdthread_info(current_thread()); 192 uthread_t uthread = (uthread_t)get_bsdthread_info(current_thread()); 276 uthread_t uthread = (uthread_t)get_bsdthread_info(current_thread()); 814 pal_register_cache_state(current_thread(), VALID); 815 x86_saved_state_t *tagged_regs = (x86_saved_state_t *)find_user_regs(current_thread()); 830 uthread_t uthread = (uthread_t)get_bsdthread_info(current_thread()); 1129 uthread_t uthread = (uthread_t)get_bsdthread_info(current_thread()); 1152 uthread_t uthread = (uthread_t)get_bsdthread_info(current_thread()); [all...] |
H A D | profile_prvd.c | 202 x86_saved_state_t *kern_regs = find_kern_regs(current_thread()); 214 pal_register_cache_state(current_thread(), VALID); 216 x86_saved_state_t *tagged_regs = (x86_saved_state_t *)find_user_regs(current_thread()); 248 x86_saved_state_t *kern_regs = find_kern_regs(current_thread()); 260 pal_register_cache_state(current_thread(), VALID); 262 x86_saved_state_t *tagged_regs = (x86_saved_state_t *)find_user_regs(current_thread());
|
/darwin-on-arm/xnu/bsd/security/audit/ |
H A D | audit_bsd.c | 425 if (lp->rl_thread == current_thread()) { 431 lp->rl_thread = current_thread(); 442 KASSERT(lp->rl_thread == current_thread(), 468 thread_t cthd = current_thread();
|