Searched refs:cthread_self (Results 1 - 6 of 6) sorted by relevance

/macosx-10.9.5/xnu-2422.115.4/osfmk/i386/
H A Dbsd_i386_native.c104 child_pcb->cthread_self = parent_pcb->cthread_self;
172 current_thread()->machine.cthread_self = (uint64_t) self; /* preserve old func too */
203 pcb->cthread_self = self;
206 if ((cdp->cpu_uber.cu_user_gs_base != pcb->cthread_self) ||
207 (pcb->cthread_self != rdmsr64(MSR_IA32_KERNEL_GS_BASE)))
H A Dpcb_native.c189 if ((pcb->cthread_self != 0) || (new->task != kernel_task)) {
190 if ((cdp->cpu_uber.cu_user_gs_base != pcb->cthread_self) || (pcb->cthread_self != rdmsr64(MSR_IA32_KERNEL_GS_BASE))) {
191 cdp->cpu_uber.cu_user_gs_base = pcb->cthread_self;
192 wrmsr64(MSR_IA32_KERNEL_GS_BASE, pcb->cthread_self);
217 cdp->cpu_uber.cu_user_gs_base = pcb->cthread_self;
390 pcb->cthread_self = 0;
H A Dthread.h123 uint64_t cthread_self; /* for use of cthread package */ member in struct:machine_thread
/macosx-10.9.5/OpenLDAP-491.1/OpenLDAP/libraries/libldap_r/
H A Dthr_cthreads.c153 return cthread_self();
/macosx-10.9.5/xnu-2422.115.4/osfmk/kern/
H A Dbsd_kern.c690 addr = (thuniqueid==0)?thact->machine.cthread_self: thact->thread_id;
740 thaddr = thact->machine.cthread_self;
H A Dthread.c1213 identifier_info->thread_handle = thread->machine.cthread_self;
1960 thread_handle = thread->machine.cthread_self;

Completed in 91 milliseconds