Home
last modified time | relevance | path

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

12

/xnu-8796.121.2/osfmk/kern/
H A Dcpu_quiesce.c193 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 Diotrace.h78 nextidxp = PERCPU_GET(iotrace_next); in iotrace()
80 cur_iotrace_ring = *PERCPU_GET(iotrace_ring); in iotrace()
H A Dstack.c240 cache = PERCPU_GET(stack_cache); in stack_free_stack()
275 cache = PERCPU_GET(stack_cache); in stack_alloc_try()
H A Dpercpu.h108 #define PERCPU_GET(name) \ macro
H A Dlocks_internal.h256 return PERCPU_GET(lck_mcs); in lck_mcs_get_current()
H A Ddebug.c192 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 Dlocks.c273 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 Dsched_prim.h475 PERCPU_GET(sched_stats)->field++; \
H A Dlock_ticket.c503 PERCPU_GET(lck_spinlock_to_info)->extra = arg.mt; in hw_lck_ticket_contended()
H A Dwaitq.c2098 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 Dsmr.c667 slot = PERCPU_GET(smr_bucket); in smr_global_retire()
/xnu-8796.121.2/san/memory/
H A Dubsan_minimal.c149 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 Dkasan-classic.c637 kasan_quarantine_t q = PERCPU_GET(kasan_quarantine); in kasan_quarantine()
/xnu-8796.121.2/osfmk/arm64/
H A Dlock_ticket_pv.c108 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 Dlock_ticket_pv.c129 lck_tktlock_pv_info_t ltpi = PERCPU_GET(lck_tktlock_pv_info); in hw_lck_ticket_lock_wait_pv()
H A Dcpu_data.h570 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 Dvfs_io_compression_stats.c276 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 Dlog_queue.c543 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 Dentropy.c228 entropy_cpu_data_t *e = PERCPU_GET(entropy_cpu_data); in entropy_collect()
/xnu-8796.121.2/tools/lldbmacros/core/
H A Dkernelcore.py350 def PERCPU_GET(self, name, cpu): member in KernelTarget
/xnu-8796.121.2/osfmk/arm/
H A Dlocks_arm.c371 uint64_t _Atomic * const max_duration = PERCPU_GET(preemption_disable_max_mt); in _collect_preemption_disable_measurement()
H A Dcpu_common.c702 return PERCPU_GET(processor); in current_processor()
/xnu-8796.121.2/tools/lldbmacros/
H A Dxnu.py1231 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 Dmemory.py2325 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 Dvm_resident.c3150 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()

12