Searched refs:zpcpu_get (Results 1 – 16 of 16) sorted by relevance
101 return (smr_shared_current(zpcpu_get(smr)->c_shared)); in smr_current()112 smr = zpcpu_get(smr); in smr_enter()146 smr = zpcpu_get(smr); in smr_exit()173 smr = zpcpu_get(smr); in smr_lazy_enter()197 smr = zpcpu_get(smr); in smr_lazy_exit()
250 #define zpcpu_get(base) ({ \ macro267 __typeof(val) *_ptr = zpcpu_get(base); \287 __typeof(val) *_ptr = zpcpu_get(base); \296 __typeof(val) *_ptr = zpcpu_get(base); \305 __typeof(val) *_ptr = zpcpu_get(base); \
39 (curthread->td_critnest != 0 && zpcpu_get((smr))->c_seq != SMR_SEQ_INVALID)
1074 #define vfs_mount_pcpu(mp) zpcpu_get(mp->mnt_pcpu)
181 *(uint64_t *)zpcpu_get(c) += (inc); \192 *(uint64_t *)zpcpu_get(c) += inc; in counter_u64_add()
278 KASSERT((zpcpu_get(smr)->c_flags & SMR_LAZY) == 0, in smr_default_advance()350 self = zpcpu_get(smr); in smr_advance()492 KASSERT(!wait || (zpcpu_get(smr)->c_flags & SMR_LAZY) == 0, in smr_poll()502 self = zpcpu_get(smr); in smr_poll()
388 mtsp = zpcpu_get(mtip->mti_stats); in malloc_type_zone_allocated()431 mtsp = zpcpu_get(mtip->mti_stats); in malloc_type_freed()
429 return (zpcpu_get(epoch->e_pcpu_record)); in epoch_currecord()
904 return (zpcpu_get(rms->pcpu)); in rms_int_pcpu()
88 atomic_add_64((uint64_t *)zpcpu_get(c), inc); in counter_u64_add()
84 atomic_add_64((uint64_t *)zpcpu_get(c), inc); in counter_u64_add()
86 *(uint64_t *)zpcpu_get(c) += (inc); \
70 *(zpcpu_get(c)) = 0; in counter_u64_zero_one_cpu()
273 *zpcpu_get(base) = __n; \
272 ip->ip_id = htons((*(uint64_t *)zpcpu_get(V_ip_id)) & 0xffff); in ip_fillid()