Home
last modified time | relevance | path

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

12

/xnu-10002.61.3/osfmk/arm/
H A Dpreemption_disable.c264 struct _preemption_disable_pcpu *pcpu = PERCPU_GET(_preemption_disable_pcpu_data); in _preemption_disable_snap_start()
297 struct _preemption_disable_pcpu *pcpu = PERCPU_GET(_preemption_disable_pcpu_data); in _preemption_disable_snap_end()
460 struct _preemption_disable_pcpu *pcpu = PERCPU_GET(_preemption_disable_pcpu_data); in abandon_preemption_disable_measurement()
476 struct _preemption_disable_pcpu *pcpu = PERCPU_GET(_preemption_disable_pcpu_data); in _do_disable_preemption_without_measurements()
H A Dcpu_common.c702 return PERCPU_GET(processor); in current_processor()
/xnu-10002.61.3/osfmk/kern/
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 Dsmr.c699 smrw = PERCPU_GET(smr_worker); in smr_enter_sleepable()
739 __smr_wake_oncore_sleepers(PERCPU_GET(smr_worker)); in smr_ack_ipi()
745 struct smr_worker *smrw = PERCPU_GET(smr_worker); in smr_mark_active_trackers_stalled()
868 smrw = PERCPU_GET(smr_worker); in smr_leave_sleepable()
873 __smr_wake_oncore_sleepers(PERCPU_GET(smr_worker)); in smr_leave_sleepable()
1455 smrw = PERCPU_GET(smr_worker); in smr_call()
1563 __smr_cpu_lazy_up_if_needed(PERCPU_GET(smr_worker)); in smr_barrier()
2167 struct smr_worker *smrw = PERCPU_GET(smr_worker); in smr_cpu_tick()
H A Dlocks_internal.h257 return PERCPU_GET(lck_mcs); in lck_mcs_get_current()
H A Ddebug.c203 return PERCPU_GET(debugger_state); in current_debugger_state()
2097 if (__probable(*PERCPU_GET(hv_entry_detected) || !awl_scratch_reg_supported)) {
2100 *PERCPU_GET(hv_entry_detected) = true;
2113 if (*PERCPU_GET(hv_entry_detected)) {
H A Dtelemetry.c1406 bool *in_handler = PERCPU_GET(brk_telemetry_in_handler); in telemetry_stash_ca_event()
1415 uintptr_t *cache_address = PERCPU_GET(brk_telemetry_cache_address); in telemetry_stash_ca_event()
1478 bool *in_handler = PERCPU_GET(brk_telemetry_in_handler); in telemetry_flush_ca_events()
H A Dsched_prim.h483 PERCPU_GET(sched_stats)->field++; \
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 Dlock_ticket.c503 PERCPU_GET(lck_spinlock_to_info)->extra = arg.mt; in hw_lck_ticket_contended()
H A Dwaitq.c2122 id = (*PERCPU_GET(select_setid) += inc); in select_set_nextid()
2136 id = os_atomic_add(PERCPU_GET(select_setid), inc, relaxed); in select_set_nextid()
/xnu-10002.61.3/osfmk/arm/pmap/
H A Dpmap_misc.c46 struct _preemption_disable_pcpu *pcpu = PERCPU_GET(_preemption_disable_pcpu_data); in pmap_abandon_measurement()
/xnu-10002.61.3/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-10002.61.3/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-10002.61.3/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-10002.61.3/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-10002.61.3/osfmk/prng/
H A Dentropy.c223 entropy_cpu_data_t *e = PERCPU_GET(entropy_cpu_data); in entropy_collect()
/xnu-10002.61.3/san/memory/
H A Dkasan-classic.c637 kasan_quarantine_t q = PERCPU_GET(kasan_quarantine); in kasan_quarantine()
/xnu-10002.61.3/tools/lldbmacros/core/
H A Dkernelcore.py350 def PERCPU_GET(self, name, cpu): member in KernelTarget
/xnu-10002.61.3/tools/lldbmacros/
H A Dxnu.py1301 getattr(kern.PERCPU_GET(ring, 0)[0], field_arg)
1327 ring_slice = [(x, y, kern.PERCPU_GET(ring, x)[y]) for y in range(entries_per_cpu)]
H A Dmemory.py2374 mcs = kern.PERCPU_GET('lck_mcs', cpu).mcs_mtx
2387 mcs = addressof(kern.PERCPU_GET('lck_mcs', idx & 0x3fff).mcs_mtx)
2404 mcs = addressof(kern.PERCPU_GET('lck_mcs', idx & 0x3fff).mcs_mtx)
/xnu-10002.61.3/osfmk/vm/
H A Dvm_resident.c3163 if ((mem = *PERCPU_GET(free_pages))) { in vm_page_grab_options()
3302 if ((mem = *PERCPU_GET(free_pages))) { in vm_page_grab_options()
3317 color = *PERCPU_GET(start_color); in vm_page_grab_options()

12