Home
last modified time | relevance | path

Searched refs:CPU (Results 1 – 25 of 25) sorted by relevance

/xnu-8020.140.41/bsd/dev/arm/
H A Dfbt_arm.c132 if (0 == CPU->cpu_dtrace_invop_underway) { in fbt_invop()
133 CPU->cpu_dtrace_invop_underway = 1; /* Race not possible on in fbt_invop()
179 CPU->cpu_dtrace_caller = regs->lr; in fbt_invop()
181 CPU->cpu_dtrace_caller = 0; in fbt_invop()
194 CPU->cpu_dtrace_invop_underway = 0; in fbt_invop()
200 CPU->cpu_dtrace_caller = 0; in fbt_invop()
205 CPU->cpu_dtrace_invop_underway = 0; in fbt_invop()
H A Ddtrace_isa.c109 if (pArg->cpu == CPU->cpu_id || pArg->cpu == DTRACE_CPUALL) { in xcRemote()
181 volatile uint16_t *flags = (volatile uint16_t *) &cpu_core[CPU->cpu_id].cpuc_dtrace_flags; in dtrace_getustack_common()
219 volatile uint16_t *flags = (volatile uint16_t *) &cpu_core[CPU->cpu_id].cpuc_dtrace_flags; in dtrace_getupcstack()
325 volatile uint16_t *flags = (volatile uint16_t *) &cpu_core[CPU->cpu_id].cpuc_dtrace_flags; in dtrace_getufpstack()
441 uintptr_t caller = CPU->cpu_dtrace_caller; in dtrace_getpcstack()
443 if ((on_intr = CPU_ON_INTR(CPU)) != 0) { in dtrace_getpcstack()
H A Ddtrace_subr_arm.c110 rwp = &CPU->cpu_ft_lock; in dtrace_user_probe()
122 rwp = &CPU->cpu_ft_lock; in dtrace_user_probe()
H A Dfasttrap_isa.c251 pid_mtx = &cpu_core[CPU->cpu_id].cpuc_pid_lock;
431 pid_mtx = &cpu_core[CPU->cpu_id].cpuc_pid_lock;
/xnu-8020.140.41/doc/
H A Dsched_clutch_edge.md5CPU for latency sensitive workloads (eg. UI interactions, multimedia recording/playback) to starva…
7CPU accounting at the thread level incentivizes creating more threads on the system. Also in the w…
22 …ementation. The goal of this level is to provide low latency access to the CPU for high QoS classe…
39CPU in the recent past such that its behind the lower buckets in deadline order. Now, if a small b…
53CPU access for Above UI threads while supporting the use case of high priority timeshare threads c…
66 …g on behalf of a specific workload. The goal of this level is to share the CPU among various user …
70 …ued on all clusters on the platform. The clutch bucket group maintains the CPU utilization history…
75 …s an interactivity score based on the ratio of voluntary blocking time and CPU usage time for the …
82 * **Clutch Bucket Group CPU Time**: Maintains the CPU time used by all threads of this clutch bucke…
86 …ows for a fair sharing of CPU among thread groups based on their recent behavior. Since the algori…
[all …]
H A Dxnu_build_consolidation.md39 various CPU-specific parameters.
50 ### Performing CPU/Revision-specific checks at runtime
52 CPU and revision checks may be required at various places, although the focus here has been the app…
58 * On a subset of all of the CPU revisions.
71 type, CPU ID, revision(s), or a combination of these.
74 `MIDR_EL1` register against a CPU revision that is passed as a parameter to the macro, where applic…
108 * Similarly, deriving CPU physical IDs from the topology parser.
/xnu-8020.140.41/bsd/dev/dtrace/
H A Ddtrace_glue.c439 (omni->cyo_online)(omni->cyo_arg, CPU, &cH, &cT); in _cyclic_add_omni()
475 (omni->cyo_offline)(omni->cyo_arg, CPU, oarg); in _cyclic_remove_omni()
965 cpu_core[CPU->cpu_id].cpuc_dtrace_illval = uaddr; in dtrace_copycheck()
979 cpu_core[CPU->cpu_id].cpuc_dtrace_illval = src; in dtrace_copyin()
1004 cpu_core[CPU->cpu_id].cpuc_dtrace_illval = src; in dtrace_copyinstr()
1018 cpu_core[CPU->cpu_id].cpuc_dtrace_illval = dst; in dtrace_copyout()
1040 cpu_core[CPU->cpu_id].cpuc_dtrace_illval = dst; in dtrace_copyoutstr()
1089 cpu_core[CPU->cpu_id].cpuc_dtrace_illval = uaddr; in dtrace_fuword8()
1107 cpu_core[CPU->cpu_id].cpuc_dtrace_illval = uaddr; in dtrace_fuword16()
1125 cpu_core[CPU->cpu_id].cpuc_dtrace_illval = uaddr; in dtrace_fuword32()
[all …]
H A Ddtrace.c516 cpu_core[CPU->cpu_id].cpuc_dtrace_illval = addr; \
565 &cpu_core[CPU->cpu_id].cpuc_dtrace_flags; \
580 cpu_core[CPU->cpu_id].cpuc_dtrace_illval = addr; \
594 cpu_core[CPU->cpu_id].cpuc_dtrace_illval = addr; \
1132 volatile uint64_t *illval = &cpu_core[CPU->cpu_id].cpuc_dtrace_illval; in dtrace_canload_remains()
1334 flags = (volatile uint16_t *)&cpu_core[CPU->cpu_id].cpuc_dtrace_flags; in dtrace_strncmp()
1388 cpu_core[CPU->cpu_id].cpuc_dtrace_illval = kaddr; in dtrace_istoxic()
1394 cpu_core[CPU->cpu_id].cpuc_dtrace_illval = taddr; in dtrace_istoxic()
1478 flags = (volatile uint16_t *)&cpu_core[CPU->cpu_id].cpuc_dtrace_flags; in dtrace_bcmp()
1682 cpu_core[CPU->cpu_id].cpuc_dtrace_flags |= CPU_DTRACE_UPRIV; in dtrace_priv_proc_destructive()
[all …]
H A Dfasttrap.c1132 dtrace_cpu_t *cur, *cpu = CPU; in fasttrap_disable_callbacks()
/xnu-8020.140.41/bsd/dev/arm64/
H A Dfbt_arm.c118 if (0 == CPU->cpu_dtrace_invop_underway) { in fbt_invop()
119 CPU->cpu_dtrace_invop_underway = 1; /* Race not possible on in fbt_invop()
160 CPU->cpu_dtrace_caller = get_saved_state_lr(regs); in fbt_invop()
170 CPU->cpu_dtrace_caller = 0; in fbt_invop()
171 CPU->cpu_dtrace_invop_underway = 0; in fbt_invop()
H A Ddtrace_isa.c114 if (pArg->cpu == CPU->cpu_id || pArg->cpu == DTRACE_CPUALL) { in xcRemote()
197 volatile uint16_t *flags = (volatile uint16_t *) &cpu_core[CPU->cpu_id].cpuc_dtrace_flags; in dtrace_getustack_common()
235 volatile uint16_t *flags = (volatile uint16_t *) &cpu_core[CPU->cpu_id].cpuc_dtrace_flags; in dtrace_getupcstack()
345 volatile uint16_t *flags = (volatile uint16_t *) &cpu_core[CPU->cpu_id].cpuc_dtrace_flags; in dtrace_getufpstack()
473 uintptr_t caller = CPU->cpu_dtrace_caller; in dtrace_getpcstack()
475 if ((on_intr = CPU_ON_INTR(CPU)) != 0) { in dtrace_getpcstack()
H A Ddtrace_subr_arm.c120 rwp = &CPU->cpu_ft_lock; in dtrace_user_probe()
132 rwp = &CPU->cpu_ft_lock; in dtrace_user_probe()
H A Dfasttrap_isa.c196 pid_mtx = &cpu_core[CPU->cpu_id].cpuc_pid_lock;
968 pid_mtx = &cpu_core[CPU->cpu_id].cpuc_pid_lock;
/xnu-8020.140.41/bsd/dev/i386/
H A Ddtrace_isa.c144 if ( pArg->cpu == CPU->cpu_id || pArg->cpu == DTRACE_CPUALL ) { in xcRemote()
282 cpu_core[CPU->cpu_id].cpuc_dtrace_illval = ndx; in dtrace_getvmreg()
443 (volatile uint16_t *)&cpu_core[CPU->cpu_id].cpuc_dtrace_flags; in dtrace_getustack_common()
526 volatile uint16_t *flags = (volatile uint16_t *) &cpu_core[CPU->cpu_id].cpuc_dtrace_flags; in dtrace_adjust_stack()
565 missing_tos = cpu_core[CPU->cpu_id].cpuc_missing_tos; in dtrace_adjust_stack()
594 (volatile uint16_t *)&cpu_core[CPU->cpu_id].cpuc_dtrace_flags; in dtrace_getupcstack()
719 (volatile uint16_t *)&cpu_core[CPU->cpu_id].cpuc_dtrace_flags; in dtrace_getufpstack()
835 uintptr_t caller = CPU->cpu_dtrace_caller; in dtrace_getpcstack()
838 if ((on_intr = CPU_ON_INTR(CPU)) != 0) in dtrace_getpcstack()
H A Ddtrace_subr_x86.c139 rwp = &CPU->cpu_ft_lock; in dtrace_user_probe()
155 rwp = &CPU->cpu_ft_lock; in dtrace_user_probe()
H A Dfbt_x86.c113CPU->cpu_dtrace_caller = *(uintptr_t *)(((uintptr_t)(regs->isf.rsp))+sizeof(uint64_t)); // 8(%rsp) in fbt_invop()
116 CPU->cpu_dtrace_caller = 0; in fbt_invop()
120 CPU->cpu_dtrace_caller = 0; in fbt_invop()
H A Dfasttrap_isa.c685 pid_mtx = &cpu_core[CPU->cpu_id].cpuc_pid_lock; in fasttrap_return_common()
737 cpu_core[CPU->cpu_id].cpuc_missing_tos = pc; in fasttrap_return_common()
751 cpu_core[CPU->cpu_id].cpuc_missing_tos = 0; in fasttrap_return_common()
992 pid_mtx = &cpu_core[CPU->cpu_id].cpuc_pid_lock; in fasttrap_pid_probe32()
1556 pid_mtx = &cpu_core[CPU->cpu_id].cpuc_pid_lock; in fasttrap_pid_probe64()
/xnu-8020.140.41/san/coverage/
H A Dkcov-blacklist-x86_6423 # sumac, x86, boostrap 2nd+ CPU
/xnu-8020.140.41/bsd/sys/
H A Ddtrace.h2608 (cpu_core[CPU->cpu_id].cpuc_dtrace_flags & (flag))
2611 (cpu_core[CPU->cpu_id].cpuc_dtrace_flags |= (flag))
2614 (cpu_core[CPU->cpu_id].cpuc_dtrace_flags &= ~(flag))
H A Ddtrace_glue.h147 #define CPU (&(cpu_list[cpu_number()])) /* Pointer to current CPU */ macro
/xnu-8020.140.41/osfmk/arm/
H A Dproc_reg.h273 #error Incompatible CPU type configured
H A Dpmap.c8835 #error CPU copy windows are not properly supported with both the PPL and incoherent IO
/xnu-8020.140.41/iokit/DriverKit/
H A DIODMACommand.iig169 * @brief Perform CPU access to the DMA mapping.
H A DIOService.iig323 * consumption and maximize battery life by still allowing some level of CPU power management.
/xnu-8020.140.41/
H A DREADME.md371 a. *CPU Characteristics* If the code you are guarding has specific
372 characterstics that will vary only based on the CPU architecture being