Home
last modified time | relevance | path

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

/f-stack/freebsd/sys/
H A Dsmr.h101 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()
H A Dpcpu.h250 #define zpcpu_get(base) ({ \ macro
267 __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); \
H A D_smr.h39 (curthread->td_critnest != 0 && zpcpu_get((smr))->c_seq != SMR_SEQ_INVALID)
H A Dmount.h1074 #define vfs_mount_pcpu(mp) zpcpu_get(mp->mnt_pcpu)
/f-stack/freebsd/i386/include/
H A Dcounter.h181 *(uint64_t *)zpcpu_get(c) += (inc); \
192 *(uint64_t *)zpcpu_get(c) += inc; in counter_u64_add()
/f-stack/freebsd/kern/
H A Dsubr_smr.c278 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()
H A Dkern_malloc.c388 mtsp = zpcpu_get(mtip->mti_stats); in malloc_type_zone_allocated()
431 mtsp = zpcpu_get(mtip->mti_stats); in malloc_type_freed()
H A Dsubr_epoch.c429 return (zpcpu_get(epoch->e_pcpu_record)); in epoch_currecord()
H A Dkern_rmlock.c904 return (zpcpu_get(rms->pcpu)); in rms_int_pcpu()
/f-stack/tools/compat/include/sys/
H A D_smr.h39 (curthread->td_critnest != 0 && zpcpu_get((smr))->c_seq != SMR_SEQ_INVALID)
/f-stack/freebsd/arm/include/
H A Dcounter.h88 atomic_add_64((uint64_t *)zpcpu_get(c), inc); in counter_u64_add()
/f-stack/freebsd/arm64/include/
H A Dcounter.h84 atomic_add_64((uint64_t *)zpcpu_get(c), inc); in counter_u64_add()
/f-stack/freebsd/mips/include/
H A Dcounter.h86 *(uint64_t *)zpcpu_get(c) += (inc); \
/f-stack/freebsd/amd64/include/
H A Dcounter.h70 *(zpcpu_get(c)) = 0; in counter_u64_zero_one_cpu()
H A Dpcpu.h273 *zpcpu_get(base) = __n; \
/f-stack/freebsd/netinet/
H A Dip_id.c272 ip->ip_id = htons((*(uint64_t *)zpcpu_get(V_ip_id)) & 0xffff); in ip_fillid()