Searched refs:zpcpu_get (Results 1 – 20 of 20) sorted by relevance
99 return (smr_shared_current(zpcpu_get(smr)->c_shared)); in smr_current()110 smr = zpcpu_get(smr); in smr_enter()152 smr = zpcpu_get(smr); in smr_exit()179 smr = zpcpu_get(smr); in smr_lazy_enter()203 smr = zpcpu_get(smr); in smr_lazy_exit()
249 #define zpcpu_get(base) ({ \ macro266 __typeof(val) *_ptr = zpcpu_get(base); \286 __typeof(val) *_ptr = zpcpu_get(base); \295 __typeof(val) *_ptr = zpcpu_get(base); \304 __typeof(val) *_ptr = zpcpu_get(base); \
37 (curthread->td_critnest != 0 && zpcpu_get((smr))->c_seq != SMR_SEQ_INVALID)
1139 #define vfs_mount_pcpu(mp) zpcpu_get(mp->mnt_pcpu)
63 *(zpcpu_get((counter_u64_t *)arg)) = 0; in counter_u64_zero_one_cpu()81 atomic_add_64((uint64_t *)zpcpu_get(c), inc); in counter_u64_add()
66 atomic_store_64((uint64_t *)zpcpu_get(arg), 0); in counter_u64_zero_one_cpu()84 atomic_add_64((uint64_t *)zpcpu_get(c), inc); in counter_u64_add()
275 KASSERT((zpcpu_get(smr)->c_flags & SMR_LAZY) == 0, in smr_default_advance()347 self = zpcpu_get(smr); in smr_advance()489 KASSERT(!wait || (zpcpu_get(smr)->c_flags & SMR_LAZY) == 0, in smr_poll()499 self = zpcpu_get(smr); in smr_poll()
396 mtsp = zpcpu_get(mtip->mti_stats); in malloc_type_zone_allocated()439 mtsp = zpcpu_get(mtip->mti_stats); in malloc_type_freed()
153 return (zpcpu_get(epoch->e_pcpu_record)); in epoch_currecord()
904 return (zpcpu_get(rms->pcpu)); in rms_int_pcpu()
180 *(uint64_t *)zpcpu_get(c) += (inc); \191 *(uint64_t *)zpcpu_get(c) += inc; in counter_u64_add()
86 atomic_add_64((uint64_t *)zpcpu_get(c), inc); in counter_u64_add()
73 *(zpcpu_get(c)) = 0; in counter_u64_zero_one_cpu()
291 *zpcpu_get(base) = __n; \
488 pcidp = zpcpu_get(pmap->pm_pcidp); in pmap_get_pcid()
150 *(uint64_t *)zpcpu_get(c) += (inc); \
69 zpcpu_get(smrs_smr)->c_seq, smrs->generation, smrs->count); in smrs_error()
270 ip->ip_id = htons((*(uint64_t *)zpcpu_get(V_ip_id)) & 0xffff); in ip_fillid()
147 pcpu = zpcpu_get(pfcu64->pfcu64_pcpu); in pf_counter_u64_add_protected()321 *zpcpu_get((prule)->timestamp) = time_second; \
1704 *zpcpu_get(peer->last_active) = time_uptime; in ovpn_finish_rx()