| /xnu-8796.121.2/osfmk/kern/ |
| H A D | cpu_quiesce.c | 193 struct cpu_quiesce *st = PERCPU_GET(cpu_quiesce); in cpu_quiescent_counter_join() 219 struct cpu_quiesce *st = PERCPU_GET(cpu_quiesce); in cpu_quiescent_counter_ast() 270 struct cpu_quiesce *st = PERCPU_GET(cpu_quiesce); in cpu_quiescent_counter_leave() 323 struct cpu_quiesce *st = PERCPU_GET(cpu_quiesce); in cpu_quiescent_counter_checkin() 373 struct cpu_quiesce *st = PERCPU_GET(cpu_quiesce); in cpu_quiescent_counter_assert_ast()
|
| H A D | iotrace.h | 78 nextidxp = PERCPU_GET(iotrace_next); in iotrace() 80 cur_iotrace_ring = *PERCPU_GET(iotrace_ring); in iotrace()
|
| H A D | stack.c | 240 cache = PERCPU_GET(stack_cache); in stack_free_stack() 275 cache = PERCPU_GET(stack_cache); in stack_alloc_try()
|
| H A D | percpu.h | 108 #define PERCPU_GET(name) \ macro
|
| H A D | locks_internal.h | 256 return PERCPU_GET(lck_mcs); in lck_mcs_get_current()
|
| H A D | debug.c | 192 return PERCPU_GET(debugger_state); in current_debugger_state() 2033 if (__probable(*PERCPU_GET(hv_entry_detected) || !awl_scratch_reg_supported)) { 2036 *PERCPU_GET(hv_entry_detected) = true; 2049 if (*PERCPU_GET(hv_entry_detected)) {
|
| H A D | locks.c | 273 PERCPU_GET(lck_spinlock_to_info)->owner_thread_orig = owner & ~0x7ul; in lck_spinlock_timeout_set_orig_owner() 284 PERCPU_GET(lck_spinlock_to_info)->owner_thread_orig = in lck_spinlock_timeout_set_orig_ctid() 294 lck_spinlock_to_info_t lsti = PERCPU_GET(lck_spinlock_to_info); in lck_spinlock_timeout_hit()
|
| H A D | sched_prim.h | 475 PERCPU_GET(sched_stats)->field++; \
|
| H A D | lock_ticket.c | 503 PERCPU_GET(lck_spinlock_to_info)->extra = arg.mt; in hw_lck_ticket_contended()
|
| H A D | waitq.c | 2098 id = (*PERCPU_GET(select_setid) += inc); in select_set_nextid() 2112 id = os_atomic_add(PERCPU_GET(select_setid), inc, relaxed); in select_set_nextid()
|
| H A D | smr.c | 667 slot = PERCPU_GET(smr_bucket); in smr_global_retire()
|
| /xnu-8796.121.2/san/memory/ |
| H A D | ubsan_minimal.c | 149 bool *in_handler = PERCPU_GET(ubsan_minimal_in_handler); in ubsan_minimal_stash_telemetry() 159 uintptr_t *cache_address = PERCPU_GET(ubsan_minimal_cache_address); in ubsan_minimal_stash_telemetry() 200 bool *in_handler = PERCPU_GET(ubsan_minimal_in_handler); in ubsan_minimal_flush_entries()
|
| H A D | kasan-classic.c | 637 kasan_quarantine_t q = PERCPU_GET(kasan_quarantine); in kasan_quarantine()
|
| /xnu-8796.121.2/osfmk/arm64/ |
| H A D | lock_ticket_pv.c | 108 lck_tktlock_pv_info_t ltpi = PERCPU_GET(lck_tktlock_pv_info); in hw_lck_ticket_lock_wait_pv()
|
| /xnu-8796.121.2/osfmk/i386/ |
| H A D | lock_ticket_pv.c | 129 lck_tktlock_pv_info_t ltpi = PERCPU_GET(lck_tktlock_pv_info); in hw_lck_ticket_lock_wait_pv()
|
| H A D | cpu_data.h | 570 nextidxp = PERCPU_GET(traptrace_next); in traptrace_start() 576 *PERCPU_GET(traptrace_ring), sizeof(traptrace_entry_t) * traptrace_entries_per_cpu); in traptrace_start()
|
| /xnu-8796.121.2/bsd/vfs/ |
| H A D | vfs_io_compression_stats.c | 276 lz4_encode_scratch_t *scratch_buf = *PERCPU_GET(per_cpu_scratch_buf); in iocs_compress_block() 277 uint8_t *dest_buf = *PERCPU_GET(per_cpu_compression_buf); in iocs_compress_block()
|
| /xnu-8796.121.2/libkern/os/ |
| H A D | log_queue.c | 543 log_queue_t lq = PERCPU_GET(oslog_queue); in log_queue_dispatch() 595 log_queue_t lq = PERCPU_GET(oslog_queue); in log_queue_add()
|
| /xnu-8796.121.2/osfmk/prng/ |
| H A D | entropy.c | 228 entropy_cpu_data_t *e = PERCPU_GET(entropy_cpu_data); in entropy_collect()
|
| /xnu-8796.121.2/tools/lldbmacros/core/ |
| H A D | kernelcore.py | 350 def PERCPU_GET(self, name, cpu): member in KernelTarget
|
| /xnu-8796.121.2/osfmk/arm/ |
| H A D | locks_arm.c | 371 uint64_t _Atomic * const max_duration = PERCPU_GET(preemption_disable_max_mt); in _collect_preemption_disable_measurement()
|
| H A D | cpu_common.c | 702 return PERCPU_GET(processor); in current_processor()
|
| /xnu-8796.121.2/tools/lldbmacros/ |
| H A D | xnu.py | 1231 getattr(kern.PERCPU_GET(ring, 0)[0], field_arg) 1257 ring_slice = [(x, y, kern.PERCPU_GET(ring, x)[y]) for y in range(entries_per_cpu)]
|
| H A D | memory.py | 2325 mcs = kern.PERCPU_GET('lck_mcs', cpu).mcs_mtx 2338 mcs = addressof(kern.PERCPU_GET('lck_mcs', idx & 0x3fff).mcs_mtx) 2355 mcs = addressof(kern.PERCPU_GET('lck_mcs', idx & 0x3fff).mcs_mtx)
|
| /xnu-8796.121.2/osfmk/vm/ |
| H A D | vm_resident.c | 3150 if ((mem = *PERCPU_GET(free_pages))) { in vm_page_grab_options() 3289 if ((mem = *PERCPU_GET(free_pages))) { in vm_page_grab_options() 3304 color = *PERCPU_GET(start_color); in vm_page_grab_options()
|