Home
last modified time | relevance | path

Searched refs:raw_cpu_ptr (Results 1 – 25 of 33) sorted by relevance

12

/Linux-v4.19/arch/s390/include/asm/
Dpercpu.h33 ptr__ = raw_cpu_ptr(&(pcp)); \
72 ptr__ = raw_cpu_ptr(&(pcp)); \
99 ptr__ = raw_cpu_ptr(&(pcp)); \
118 ptr__ = raw_cpu_ptr(&(pcp)); \
140 ptr__ = raw_cpu_ptr(&(pcp)); \
156 ptr__ = raw_cpu_ptr(&(pcp)); \
175 p1__ = raw_cpu_ptr(&(pcp1)); \
176 p2__ = raw_cpu_ptr(&(pcp2)); \
/Linux-v4.19/arch/arm64/include/asm/
Dpercpu.h206 typeof(*raw_cpu_ptr(&(pcp))) __ret; \
208 __ret = cmpxchg_local(raw_cpu_ptr(&(pcp)), o, n); \
222 __ret = cmpxchg_double_local( raw_cpu_ptr(&(ptr1)), \
223 raw_cpu_ptr(&(ptr2)), \
233 __retval = (typeof(pcp))__percpu_read(raw_cpu_ptr(&(pcp)), \
242 __percpu_write(raw_cpu_ptr(&(pcp)), (unsigned long)(val), \
251 __retval = (typeof(pcp))operation(raw_cpu_ptr(&(pcp)), \
Dsmp.h47 #define raw_smp_processor_id() (*raw_cpu_ptr(&cpu_number))
Dstacktrace.h102 unsigned long low = (unsigned long)raw_cpu_ptr(overflow_stack); in on_overflow_stack()
/Linux-v4.19/arch/arm/kernel/
Dsmp_twd.c97 struct clock_event_device *clk = raw_cpu_ptr(twd_evt); in twd_timer_stop()
113 clockevents_update_freq(raw_cpu_ptr(twd_evt), twd_timer_rate); in twd_update_frequency()
139 if (twd_evt && raw_cpu_ptr(twd_evt) && !IS_ERR(twd_clk)) in twd_clk_init()
158 clockevents_update_freq(raw_cpu_ptr(twd_evt), twd_timer_rate); in twd_update_frequency()
184 if (twd_evt && raw_cpu_ptr(twd_evt) && !IS_ERR(twd_clk)) in twd_cpufreq_init()
274 struct clock_event_device *clk = raw_cpu_ptr(twd_evt); in twd_timer_setup()
/Linux-v4.19/include/asm-generic/
Dpercpu.h71 *raw_cpu_ptr(&(pcp)); \
76 *raw_cpu_ptr(&(pcp)) op val; \
81 typeof(&(pcp)) __p = raw_cpu_ptr(&(pcp)); \
89 typeof(&(pcp)) __p = raw_cpu_ptr(&(pcp)); \
98 typeof(&(pcp)) __p = raw_cpu_ptr(&(pcp)); \
108 typeof(&(pcp1)) __p1 = raw_cpu_ptr(&(pcp1)); \
109 typeof(&(pcp2)) __p2 = raw_cpu_ptr(&(pcp2)); \
123 __ret = READ_ONCE(*raw_cpu_ptr(&(pcp))); \
/Linux-v4.19/include/linux/
Dpercpu-defs.h241 #define raw_cpu_ptr(ptr) \ macro
254 #define this_cpu_ptr(ptr) raw_cpu_ptr(ptr)
266 #define raw_cpu_ptr(ptr) per_cpu_ptr(ptr, 0) macro
267 #define this_cpu_ptr(ptr) raw_cpu_ptr(ptr)
/Linux-v4.19/include/net/
Dsnmp.h161 __typeof__(*mib) *ptr = raw_cpu_ptr(mib); \
179 ptr = raw_cpu_ptr((mib)); \
/Linux-v4.19/net/mpls/
Dinternal.h37 raw_cpu_ptr((mdev)->stats); \
49 raw_cpu_ptr((mdev)->stats); \
/Linux-v4.19/mm/
Dswap_slots.c282 cache = raw_cpu_ptr(&swp_slots); in free_swap_slot()
332 cache = raw_cpu_ptr(&swp_slots); in get_swap_page()
/Linux-v4.19/arch/x86/lib/
Ddelay.c113 __monitorx(raw_cpu_ptr(&cpu_tss_rw), 0, 0); in delay_mwaitx()
/Linux-v4.19/arch/x86/kernel/
Ddumpstack_64.c64 end = (unsigned long *)raw_cpu_ptr(&orig_ist)->ist[k]; in in_exception_stack()
/Linux-v4.19/drivers/irqchip/
Dirq-gic.c673 ptr = raw_cpu_ptr(gic->saved_ppi_enable); in gic_cpu_save()
677 ptr = raw_cpu_ptr(gic->saved_ppi_active); in gic_cpu_save()
681 ptr = raw_cpu_ptr(gic->saved_ppi_conf); in gic_cpu_save()
703 ptr = raw_cpu_ptr(gic->saved_ppi_enable); in gic_cpu_restore()
710 ptr = raw_cpu_ptr(gic->saved_ppi_active); in gic_cpu_restore()
717 ptr = raw_cpu_ptr(gic->saved_ppi_conf); in gic_cpu_restore()
/Linux-v4.19/drivers/crypto/caam/
Dqi.c144 struct device *qidev = &(raw_cpu_ptr(&pcpu_qipriv)->net_dev.dev); in caam_fq_ern_cb()
571 struct caam_napi *caam_napi = raw_cpu_ptr(&pcpu_qipriv.caam_napi); in caam_rsp_fq_dqrr_cb()
574 struct device *qidev = &(raw_cpu_ptr(&pcpu_qipriv)->net_dev.dev); in caam_rsp_fq_dqrr_cb()
/Linux-v4.19/arch/x86/kernel/cpu/mcheck/
Dmce.c2005 __mcheck_cpu_init_vendor(raw_cpu_ptr(&cpu_info)); in mce_syscore_resume()
2021 if (!mce_available(raw_cpu_ptr(&cpu_info))) in mce_cpu_restart()
2038 if (!mce_available(raw_cpu_ptr(&cpu_info))) in mce_disable_cmci()
2045 if (!mce_available(raw_cpu_ptr(&cpu_info))) in mce_enable_ce()
2269 if (!mce_available(raw_cpu_ptr(&cpu_info))) in mce_disable_cpu()
2282 if (!mce_available(raw_cpu_ptr(&cpu_info))) in mce_reenable_cpu()
Dmce_intel.c344 if (!mce_available(raw_cpu_ptr(&cpu_info)) || !cmci_supported(&banks)) in cmci_recheck()
/Linux-v4.19/drivers/iommu/
Diova.c545 struct iova_fq *fq = raw_cpu_ptr(iovad->fq); in queue_iova()
888 cpu_rcache = raw_cpu_ptr(rcache->cpu_rcaches); in __iova_rcache_insert()
951 cpu_rcache = raw_cpu_ptr(rcache->cpu_rcaches); in __iova_rcache_get()
/Linux-v4.19/net/ipv6/
Dseg6_hmac.c384 p_tfm = raw_cpu_ptr(algo->tfms); in seg6_hmac_init_algo()
/Linux-v4.19/kernel/
Dtaskstats.c614 listeners = raw_cpu_ptr(&listener_array); in taskstats_exit()
/Linux-v4.19/crypto/
Dmcryptd.c107 cpu_queue = raw_cpu_ptr(queue->cpu_queue); in mcryptd_enqueue_request()
/Linux-v4.19/net/ipv4/
Droute.c1432 p = (struct rtable **)raw_cpu_ptr(nh->nh_pcpu_rth_output); in rt_cache_route()
1463 struct uncached_list *ul = raw_cpu_ptr(&rt_uncached_list); in rt_add_uncached_list()
2268 prth = raw_cpu_ptr(nh->nh_pcpu_rth_output); in __mkroute_output()
/Linux-v4.19/kernel/irq/
Dchip.c894 res = action->handler(irq, raw_cpu_ptr(action->percpu_dev_id)); in handle_percpu_devid_irq()
/Linux-v4.19/kernel/time/
Dhrtimer.c1277 cpu_base = raw_cpu_ptr(&hrtimer_bases); in __hrtimer_init()
/Linux-v4.19/drivers/md/
Ddm-stats.c642 last = raw_cpu_ptr(stats->last); in dm_stats_account_io()
/Linux-v4.19/kernel/rcu/
Dtree.c2826 struct rcu_data *rdp = raw_cpu_ptr(rsp->rda); in __rcu_process_callbacks()
3386 struct rcu_data *rdp = raw_cpu_ptr(rsp->rda); in rcu_barrier_func()

12