Searched refs:DPCPU_PTR (Results 1 – 17 of 17) sorted by relevance
| /f-stack/freebsd/kern/ |
| H A D | subr_prng.c | 95 r = pcg32u_random_r(DPCPU_PTR(pcpu_prng32_state)); in prng32() 106 r = pcg32u_boundedrand_r(DPCPU_PTR(pcpu_prng32_state), bound); in prng32_bounded() 117 r = pcg64u_random_r(DPCPU_PTR(pcpu_prng64_state)); in prng64() 128 r = pcg64u_boundedrand_r(DPCPU_PTR(pcpu_prng64_state), bound); in prng64_bounded()
|
| H A D | kern_clocksource.c | 144 state = DPCPU_PTR(timerstate); in hardclockintr() 175 state = DPCPU_PTR(timerstate); in handleevents() 183 hct = DPCPU_PTR(hardclocktime); in handleevents() 238 state = DPCPU_PTR(timerstate); in getnextcpuevent() 280 state = DPCPU_PTR(timerstate); in getnextevent() 315 state = DPCPU_PTR(timerstate); 388 state = DPCPU_PTR(timerstate); 449 state = DPCPU_PTR(timerstate); 687 state = DPCPU_PTR(timerstate); 773 state = DPCPU_PTR(timerstate); [all …]
|
| H A D | kern_clock.c | 461 int *t = DPCPU_PTR(pcputicks); in hardclock() 515 GROUPTASK_ENQUEUE(DPCPU_PTR(epoch_cb_task)); in hardclock()
|
| H A D | subr_epoch.c | 771 *DPCPU_PTR(epoch_cb_count) += 1; in epoch_call() 806 *DPCPU_PTR(epoch_cb_count) -= total; in epoch_call_task()
|
| H A D | sched_4bsd.c | 738 stat = DPCPU_PTR(idlestat); in sched_clock_tick() 1644 stat = DPCPU_PTR(idlestat); in sched_idletd()
|
| H A D | subr_lock.c | 270 #define LP_CPU_SELF (DPCPU_PTR(lp))
|
| H A D | kern_exec.c | 1322 (uintptr_t *)DPCPU_PTR(exec_args_kva)); in exec_alloc_args_kva() 1346 if (!atomic_cmpset_ptr((uintptr_t *)DPCPU_PTR(exec_args_kva), in exec_release_args_kva()
|
| H A D | sched_ule.c | 627 rndptr = DPCPU_PTR(randomval); in sched_random() 1440 PCPU_SET(sched, DPCPU_PTR(tdq)); in sched_setup_smp() 2900 PCPU_SET(sched, DPCPU_PTR(tdq)); in sched_throw()
|
| H A D | kern_tc.c | 1995 base = DPCPU_PTR(tc_cpu_ticks_base); in tc_cpu_ticks() 1996 last = DPCPU_PTR(tc_cpu_ticks_last); in tc_cpu_ticks()
|
| H A D | vfs_subr.c | 1372 vd = DPCPU_PTR(vd); in vn_freevnodes_inc() 1383 vd = DPCPU_PTR(vd); in vn_freevnodes_dec() 3453 vd = DPCPU_PTR(vd); in vdbatch_enqueue()
|
| /f-stack/freebsd/sys/ |
| H A D | pcpu.h | 123 #define DPCPU_PTR(n) _DPCPU_PTR(PCPU_GET(dynamic), n) macro 124 #define DPCPU_GET(n) (*DPCPU_PTR(n)) 125 #define DPCPU_SET(n, v) (*DPCPU_PTR(n) = v) 140 __typeof(*DPCPU_PTR(n)) sum; \ 152 __typeof((DPCPU_PTR(n))->var) sum; \ 165 bzero(DPCPU_ID_PTR(_i, n), sizeof(*DPCPU_PTR(n))); \
|
| /f-stack/freebsd/x86/xen/ |
| H A D | hvm.c | 480 vcpu_info = DPCPU_PTR(vcpu_local_info); in xen_hvm_cpu_init()
|
| H A D | xen_intr.c | 539 pc = DPCPU_PTR(xen_intr_pcpu); in xen_intr_handle_upcall()
|
| /f-stack/freebsd/netinet/ |
| H A D | siftr.c | 346 ss = DPCPU_PTR(ss); in siftr_process_pkt() 843 ss = DPCPU_PTR(ss); in siftr_chkpkt() 1023 ss = DPCPU_PTR(ss); in siftr_chkpkt6()
|
| /f-stack/freebsd/net/ |
| H A D | netisr.c | 1139 nwsp = DPCPU_PTR(nws); in netisr_dispatch_src() 1166 nwsp = DPCPU_PTR(nws); in netisr_dispatch_src()
|
| /f-stack/freebsd/vm/ |
| H A D | vm_page.c | 3603 bq = DPCPU_PTR(pqbatch[domain][queue]); in vm_page_pqbatch_submit() 3613 bq = DPCPU_PTR(pqbatch[domain][queue]); in vm_page_pqbatch_submit() 3648 DPCPU_PTR(pqbatch[domain][queue]), queue); in vm_page_pqbatch_drain()
|
| /f-stack/freebsd/netpfil/ipfw/ |
| H A D | ip_fw_dynamic.c | 228 #define DYNSTATE_PROTECT(v) ck_pr_store_ptr(DPCPU_PTR(dyn_hp), (v))
|