Searched refs:cpu_number (Results 26 - 50 of 90) sorted by relevance
1234
/xnu-2782.1.97/osfmk/i386/ |
H A D | pal_routines.c | 248 MARK_CPU_IDLE(cpu_number()); 284 MARK_CPU_ACTIVE(cpu_number());
|
H A D | pmCPU.c | 103 __unused uint32_t cnum = my_cpu->cpu_number; 126 DBGLOG(cpu_handle, cpu_number(), MP_IDLE); 264 if (cpup->cpu_number != master_cpu) { 755 urgency_stats[cpu_number() % 64][urgency]++; 868 return (target_cpu != cpu_number())
|
H A D | bsd_i386_native.c | 52 #include <i386/cpu_number.h>
|
H A D | cpu.c | 118 if (cpu == cpu_number()) {
|
H A D | machine_routines.c | 37 #include <kern/cpu_number.h> 377 target_cpu = this_cpu_datap->cpu_number; 414 cpu_thread_alloc(this_cpu_datap->cpu_number); 844 assert(cpu_number() == master_cpu);
|
H A D | rtclock.c | 46 #include <kern/cpu_number.h> 290 if (cpu_number() == master_cpu) {
|
H A D | locks_i386.c | 72 #include <kern/cpu_number.h> 334 if ((uint32_t) cpu_number() == i) 535 usl_trace(l, cpu_number(), pc, caller); 544 * so we are safe in using cpu_number. 565 mycpu = cpu_number(); 581 * no problem using cpu_number. 595 mycpu = cpu_number(); 635 usl_trace(l, cpu_number(), pc, caller); 646 * to use cpu_number. 666 mycpu = cpu_number(); [all...] |
H A D | pcb_native.c | 72 #include <kern/cpu_number.h> 88 #include <i386/cpu_number.h>
|
H A D | i386_timer.c | 325 assert(target_cpu != cdp->cpu_number);
|
H A D | machine_check.c | 182 printf("mca_cpu_alloc() failed for cpu %d\n", cdp->cpu_number);
|
H A D | phys.c | 81 #include <i386/cpu_number.h>
|
H A D | startup64.c | 57 #include <i386/cpu_number.h>
|
H A D | trap.c | 349 int cnum = cpu_number(); 528 saved_state->isf.cpu = cpu_number(); 893 regs->isf.cpu = cpu_number(); 905 regs->cpu = cpu_number();
|
H A D | tsc.c | 42 #include <kern/cpu_number.h>
|
/xnu-2782.1.97/osfmk/kern/ |
H A D | debug.c | 60 #include <kern/cpu_number.h> 299 if (cpu_number() != paniccpu) { 318 paniccpu = cpu_number();
|
H A D | ast.c | 70 #include <kern/cpu_number.h>
|
H A D | processor.h | 76 #include <kern/cpu_number.h>
|
H A D | wait_queue.h | 49 #include <machine/cpu_number.h> 199 panic("wait queue deadlock - wq=%p, cpu=%d\n", wq, cpu_number());
|
/xnu-2782.1.97/tools/tests/jitter/ |
H A D | timer_jitter.c | 72 extern int cpu_number(void); 379 secargs.cpuno = cpu_number(); 454 cpuno = cpu_number();
|
/xnu-2782.1.97/osfmk/profiling/ |
H A D | profile-mk.c | 37 #include <kern/cpu_number.h>
|
/xnu-2782.1.97/osfmk/pmc/ |
H A D | pmc.c | 68 kprintf("[%s:%s][%u] ", __FILE__, __PRETTY_FUNCTION__, cpu_number()); \ 1023 if (core_cnt == 1 && cores[0] == (uint32_t)cpu_number()) { 1464 OSBitAndAtomic(~(1U << cpu_number()), &(reservation->active_last_context_in)); 1493 OSBitOrAtomic(1U << cpu_number(), &(reservation->active_last_context_in)); 1641 uint32_t oldMask = OSBitOrAtomic(1U << cpu_number(), &(reservation->active_last_context_in)); 1643 if ((oldMask & (1U << cpu_number())) == 0) { 1644 COUNTER_DEBUG("Starting already in-context reservation %p for cpu %d\n", reservation, cpu_number()); 1658 COUNTER_DEBUG("Stopping in-context reservation %p for cpu %d\n", reservation, cpu_number()); 2748 cpu_queue = cpu_monitor_queues[cpu_number()]; 2773 cpu_queue = cpu_monitor_queues[cpu_number()]; [all...] |
/xnu-2782.1.97/bsd/dev/dtrace/ |
H A D | dtrace_glue.c | 322 assert(cpuid == cpu_number()); 324 LIST_FOREACH(wrapTC, &(cpu_list[cpu_number()].cpu_cyc_list), entries) { 325 assert(wrapTC->cpuid == cpu_number()); 379 wrapTC->cpuid = cpu_number(); 398 assert(cpu_number() == wrapTC->cpuid); 452 t += (sizeof(wrap_timer_call_t))*cpu_number(); 455 cyc_list[cpu_number()] = timer_call_add_cyclic(wrapTC, &cH, &cT); 490 if ((cid = cyc_list[cpu_number()]) != CYCLIC_NONE) {
|
/xnu-2782.1.97/osfmk/prng/ |
H A D | random.c | 33 #include <kern/cpu_number.h> 243 cpu = cpu_number();
|
/xnu-2782.1.97/bsd/sys/ |
H A D | dtrace_glue.h | 149 extern int cpu_number(void); /* From #include <kern/cpu_number.h>. Called from probe context, must blacklist. */ 151 #define CPU (&(cpu_list[cpu_number()])) /* Pointer to current CPU */
|
/xnu-2782.1.97/bsd/netinet6/ |
H A D | ipcomp_core.c | 56 #include <kern/cpu_number.h>
|
Completed in 129 milliseconds
1234