Searched refs:CPU (Results 1 - 13 of 13) sorted by relevance
/darwin-on-arm/xnu/SETUP/config/ |
H A D | lexer.l | 57 { "cpu", CPU },
|
H A D | parser.y | 48 %token CPU 248 CPU Save_id
|
/darwin-on-arm/xnu/bsd/dev/i386/ |
H A D | dtrace_subr_x86.c | 142 rwp = &CPU->cpu_ft_lock; 158 rwp = &CPU->cpu_ft_lock;
|
H A D | dtrace_isa.c | 142 if ( pArg->cpu == CPU->cpu_id || pArg->cpu == DTRACE_CPUALL ) { 268 (volatile uint16_t *)&cpu_core[CPU->cpu_id].cpuc_dtrace_flags; 389 missing_tos = cpu_core[CPU->cpu_id].cpuc_missing_tos; 418 (volatile uint16_t *)&cpu_core[CPU->cpu_id].cpuc_dtrace_flags; 543 (volatile uint16_t *)&cpu_core[CPU->cpu_id].cpuc_dtrace_flags; 665 uintptr_t caller = CPU->cpu_dtrace_caller; 668 if ((on_intr = CPU_ON_INTR(CPU)) != 0)
|
H A D | sdt_x86.c | 61 if (CPU_ON_INTR(CPU))
|
H A D | fbt_x86.c | 508 if (CPU_ON_INTR(CPU)) 516 CPU->cpu_dtrace_caller = *stack++; 530 CPU->cpu_dtrace_caller = 0; 533 CPU->cpu_dtrace_caller = 0; 1048 CPU->cpu_dtrace_caller = *(uintptr_t *)(((uintptr_t)(regs->isf.rsp))+sizeof(uint64_t)); // 8(%rsp) 1051 CPU->cpu_dtrace_caller = 0; 1055 CPU->cpu_dtrace_caller = 0;
|
H A D | fasttrap_isa.c | 700 pid_mtx = &cpu_core[CPU->cpu_id].cpuc_pid_lock; 738 cpu_core[CPU->cpu_id].cpuc_missing_tos = pc; 752 cpu_core[CPU->cpu_id].cpuc_missing_tos = 0; 1004 pid_mtx = &cpu_core[CPU->cpu_id].cpuc_pid_lock; 1563 pid_mtx = &cpu_core[CPU->cpu_id].cpuc_pid_lock;
|
/darwin-on-arm/xnu/bsd/dev/dtrace/ |
H A D | dtrace_glue.c | 422 (omni->cyo_online)(omni->cyo_arg, CPU, &cH, &cT); 467 (omni->cyo_offline)(omni->cyo_arg, CPU, oarg); 1198 cpu_core[CPU->cpu_id].cpuc_dtrace_illval = uaddr; 1212 cpu_core[CPU->cpu_id].cpuc_dtrace_illval = src; 1237 cpu_core[CPU->cpu_id].cpuc_dtrace_illval = src; 1251 cpu_core[CPU->cpu_id].cpuc_dtrace_illval = dst; 1274 cpu_core[CPU->cpu_id].cpuc_dtrace_illval = dst; 1289 cpu_core[CPU->cpu_id].cpuc_dtrace_illval = uaddr; 1307 cpu_core[CPU->cpu_id].cpuc_dtrace_illval = uaddr; 1325 cpu_core[CPU [all...] |
H A D | profile_prvd.c | 198 dtrace_probe(prof->prof_id, CPU->cpu_profile_pc, 199 CPU->cpu_profile_upc, late, 0, 0); 244 dtrace_probe(prof->prof_id, CPU->cpu_profile_pc, 245 CPU->cpu_profile_upc, 0, 0, 0); 639 return (CPU->cpu_profile_pc == 0);
|
H A D | dtrace.c | 445 uint_t actv = CPU->cpu_intr_actv >> (LOCK_LEVEL + 1); \ 490 cpu_core[CPU->cpu_id].cpuc_dtrace_illval = addr; \ 500 cpu_core[CPU->cpu_id].cpuc_dtrace_illval = addr; \ 538 &cpu_core[CPU->cpu_id].cpuc_dtrace_flags; \ 553 cpu_core[CPU->cpu_id].cpuc_dtrace_illval = addr; \ 580 &cpu_core[CPU->cpu_id].cpuc_dtrace_flags; \ 595 cpu_core[CPU->cpu_id].cpuc_dtrace_illval = addr; \ 630 &cpu_core[CPU->cpu_id].cpuc_dtrace_flags; \ 645 cpu_core[CPU->cpu_id].cpuc_dtrace_illval = addr; \ 760 * Most counters stored to in probe context are per-CPU counter [all...] |
H A D | fasttrap.c | 964 dtrace_cpu_t *cur, *cpu = CPU; 967 * APPLE NOTE: This loop seems broken, it touches every CPU 969 * if that is safe. Scenario is this: We're running on CPU A, 971 * on CPU B. A probe fires on A, and is allowed to enter. BOOM!
|
/darwin-on-arm/xnu/bsd/sys/ |
H A D | dtrace_glue.h | 111 * Per-CPU data. 114 processorid_t cpu_id; /* CPU number */ 115 struct dtrace_cpu *cpu_next; /* next existing CPU */ 126 * The cpu_core structure consists of per-CPU state available in any context. 147 #define CPU (&(cpu_list[cpu_number()])) /* Pointer to current CPU */ macro
|
H A D | dtrace.h | 1092 #define DTRACEOPT_CPU 8 /* CPU to trace */ 1132 * structure. This describes which CPU user-level is interested in, and 1144 uint32_t dtbd_cpu; /* CPU or DTRACE_CPUALL */ 1266 #define DTRACE_CLASS_CPU 1 /* CPU-module-specific */ 2480 (cpu_core[CPU->cpu_id].cpuc_dtrace_flags & (flag)) 2483 (cpu_core[CPU->cpu_id].cpuc_dtrace_flags |= (flag)) 2486 (cpu_core[CPU->cpu_id].cpuc_dtrace_flags &= ~(flag))
|
Completed in 110 milliseconds