Home
last modified time | relevance | path

Searched refs:zpercpu_get (Results 1 – 7 of 7) sorted by relevance

/xnu-8019.80.24/osfmk/x86_64/
H A Dcounter.c68 (*zpercpu_get(*counter)) += amount; in counter_add()
77 (*zpercpu_get(*counter))++; in counter_inc()
86 (*zpercpu_get(*counter))--; in counter_dec()
94 (*zpercpu_get(*counter)) += amount; in counter_add_preemption_disabled()
101 (*zpercpu_get(*counter))++; in counter_inc_preemption_disabled()
108 (*zpercpu_get(*counter))--; in counter_dec_preemption_disabled()
/xnu-8019.80.24/osfmk/arm/
H A Dcounter.c40 os_atomic_add(zpercpu_get(*counter), amount, relaxed); in counter_add()
47 os_atomic_inc(zpercpu_get(*counter), relaxed); in counter_inc()
54 os_atomic_dec(zpercpu_get(*counter), relaxed); in counter_dec()
/xnu-8019.80.24/osfmk/kern/
H A Dcounter_common.c67 uint64_t current_value = os_atomic_load_wide(zpercpu_get(*counter), relaxed); in scalable_counter_static_init()
73 os_atomic_store_wide(zpercpu_get(*counter), current_value, relaxed); in scalable_counter_static_init()
H A Dgzalloc.c425 zpercpu_get(zstats)->zs_mem_allocated += rounded_size; in gzalloc_alloc()
562 zpercpu_get(zstats)->zs_mem_freed += rounded_size; in gzalloc_free()
H A Dzalloc.h794 #define zpercpu_get(ptr) \ macro
H A Dzalloc.c1946 zone_stats_t zs = zpercpu_get(zone->z_stats); in zone_meta_find_and_clear_bit()
5244 zone_cache_t cache = zpercpu_get(zone->z_pcpu_cache); in zfree_cached()
5364 zpercpu_get(zstats)->zs_mem_freed += elem_size; in zfree_ext()
5680 zpercpu_get(zstats)->zs_mem_allocated += esize; in zalloc_item_fast()
5820 zpercpu_get(zstats)->zs_mem_allocated += esize; in zalloc_cached_fast()
5996 cache = zpercpu_get(zone->z_pcpu_cache); in zalloc_cached()
6307 zpercpu_get(zone->z_stats)->zs_mem_allocated += size; in _zalloc_permanent()
/xnu-8019.80.24/osfmk/kperf/
H A Dkperf.c73 return zpercpu_get(intr_samplev); in kperf_intr_sample_buffer()