Home
last modified time | relevance | path

Searched refs:zpcpu_get (Results 1 – 20 of 20) sorted by relevance

/freebsd/sys/sys/
H A Dsmr.h99 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()
H A Dpcpu.h249 #define zpcpu_get(base) ({ \ macro
266 __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); \
H A D_smr.h37 (curthread->td_critnest != 0 && zpcpu_get((smr))->c_seq != SMR_SEQ_INVALID)
H A Dmount.h1139 #define vfs_mount_pcpu(mp) zpcpu_get(mp->mnt_pcpu)
/freebsd/sys/riscv/include/
H A Dcounter.h63 *(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()
/freebsd/sys/arm/include/
H A Dcounter.h66 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()
/freebsd/sys/kern/
H A Dsubr_smr.c275 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()
H A Dkern_malloc.c396 mtsp = zpcpu_get(mtip->mti_stats); in malloc_type_zone_allocated()
439 mtsp = zpcpu_get(mtip->mti_stats); in malloc_type_freed()
H A Dsubr_epoch.c153 return (zpcpu_get(epoch->e_pcpu_record)); in epoch_currecord()
H A Dkern_rmlock.c904 return (zpcpu_get(rms->pcpu)); in rms_int_pcpu()
/freebsd/sys/i386/include/
H A Dcounter.h180 *(uint64_t *)zpcpu_get(c) += (inc); \
191 *(uint64_t *)zpcpu_get(c) += inc; in counter_u64_add()
/freebsd/sys/arm64/include/
H A Dcounter.h86 atomic_add_64((uint64_t *)zpcpu_get(c), inc); in counter_u64_add()
/freebsd/sys/amd64/include/
H A Dcounter.h73 *(zpcpu_get(c)) = 0; in counter_u64_zero_one_cpu()
H A Dpcpu.h291 *zpcpu_get(base) = __n; \
H A Dpmap.h488 pcidp = zpcpu_get(pmap->pm_pcidp); in pmap_get_pcid()
/freebsd/sys/powerpc/include/
H A Dcounter.h150 *(uint64_t *)zpcpu_get(c) += (inc); \
/freebsd/tools/uma/smrstress/
H A Dsmrstress.c69 zpcpu_get(smrs_smr)->c_seq, smrs->generation, smrs->count); in smrs_error()
/freebsd/sys/netinet/
H A Dip_id.c270 ip->ip_id = htons((*(uint64_t *)zpcpu_get(V_ip_id)) & 0xffff); in ip_fillid()
/freebsd/sys/net/
H A Dpfvar.h147 pcpu = zpcpu_get(pfcu64->pfcu64_pcpu); in pf_counter_u64_add_protected()
321 *zpcpu_get((prule)->timestamp) = time_second; \
H A Dif_ovpn.c1704 *zpcpu_get(peer->last_active) = time_uptime; in ovpn_finish_rx()