Home
last modified time | relevance | path

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

12

/openbmc/linux/arch/s390/include/asm/
H A 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)); \
161 ptr__ = raw_cpu_ptr(&(pcp)); \
172 ptr__ = raw_cpu_ptr(&(pcp)); \
/openbmc/linux/arch/arm/kernel/
H A Dsmp_twd.c94 struct clock_event_device *clk = raw_cpu_ptr(twd_evt); in twd_timer_stop()
108 clockevents_update_freq(raw_cpu_ptr(twd_evt), twd_timer_rate); in twd_update_frequency()
134 if (twd_evt && raw_cpu_ptr(twd_evt) && !IS_ERR(twd_clk)) in twd_clk_init()
221 struct clock_event_device *clk = raw_cpu_ptr(twd_evt); in twd_timer_setup()
/openbmc/linux/arch/arm64/include/asm/
H A Dpercpu.h152 op(raw_cpu_ptr(&(pcp)), __VA_ARGS__); \
160 __retval = (typeof(pcp))op(raw_cpu_ptr(&(pcp)), ##args); \
247 ptr__ = raw_cpu_ptr(&(pcp)); \
264 #define this_cpu_ptr raw_cpu_ptr
H A Dsmp.h43 #define raw_smp_processor_id() (*raw_cpu_ptr(&cpu_number))
H A Dstacktrace.h67 unsigned long low = (unsigned long)raw_cpu_ptr(overflow_stack); in stackinfo_get_overflow()
/openbmc/linux/include/asm-generic/
H A Dpercpu.h67 *raw_cpu_ptr(&(pcp)); \
72 *raw_cpu_ptr(&(pcp)) op val; \
77 typeof(pcp) *__p = raw_cpu_ptr(&(pcp)); \
85 typeof(pcp) *__p = raw_cpu_ptr(&(pcp)); \
103 typeof(pcp) *__p = raw_cpu_ptr(&(pcp)); \
127 ___ret = READ_ONCE(*raw_cpu_ptr(&(pcp))); \
H A Dmmiowb.h30 #define __mmiowb_state() raw_cpu_ptr(&__mmiowb_state)
/openbmc/linux/arch/loongarch/include/asm/
H A Dpercpu.h164 typeof(*raw_cpu_ptr(&(pcp))) __ret; \
166 __ret = cmpxchg_local(raw_cpu_ptr(&(pcp)), o, n); \
187 __retval = (typeof(pcp))operation(raw_cpu_ptr(&(pcp)), \
/openbmc/linux/include/linux/
H A Dpercpu-defs.h239 #define raw_cpu_ptr(ptr) \ macro
252 #define this_cpu_ptr(ptr) raw_cpu_ptr(ptr)
264 #define raw_cpu_ptr(ptr) per_cpu_ptr(ptr, 0) macro
265 #define this_cpu_ptr(ptr) raw_cpu_ptr(ptr)
H A Dsbitmap.h350 *raw_cpu_ptr(sb->alloc_hint) = bitnr; in sbitmap_put()
/openbmc/linux/net/mpls/
H A Dinternal.h37 raw_cpu_ptr((mdev)->stats); \
49 raw_cpu_ptr((mdev)->stats); \
/openbmc/linux/include/net/
H A Dsnmp.h162 __typeof__(*mib) *ptr = raw_cpu_ptr(mib); \
180 ptr = raw_cpu_ptr((mib)); \
/openbmc/linux/mm/
H A Dswap_slots.c276 cache = raw_cpu_ptr(&swp_slots); in free_swap_slot()
324 cache = raw_cpu_ptr(&swp_slots); in folio_alloc_swap()
H A Dzswap.c1111 acomp_ctx = raw_cpu_ptr(entry->pool->acomp_ctx); in zswap_writeback_entry()
1291 acomp_ctx = raw_cpu_ptr(entry->pool->acomp_ctx); in zswap_store()
1449 acomp_ctx = raw_cpu_ptr(entry->pool->acomp_ctx); in zswap_load()
/openbmc/linux/arch/x86/lib/
H A Ddelay.c134 __monitorx(raw_cpu_ptr(&cpu_tss_rw), 0, 0); in delay_halt_mwaitx()
/openbmc/linux/drivers/irqchip/
H A Dirq-gic.c654 ptr = raw_cpu_ptr(gic->saved_ppi_enable); in gic_cpu_save()
658 ptr = raw_cpu_ptr(gic->saved_ppi_active); in gic_cpu_save()
662 ptr = raw_cpu_ptr(gic->saved_ppi_conf); in gic_cpu_save()
684 ptr = raw_cpu_ptr(gic->saved_ppi_enable); in gic_cpu_restore()
691 ptr = raw_cpu_ptr(gic->saved_ppi_active); in gic_cpu_restore()
698 ptr = raw_cpu_ptr(gic->saved_ppi_conf); in gic_cpu_restore()
/openbmc/linux/mm/kmsan/
H A Dkmsan.h106 return in_task() ? &current->kmsan_ctx : raw_cpu_ptr(&kmsan_percpu_ctx); in kmsan_get_context()
/openbmc/linux/drivers/crypto/caam/
H A Dqi.c147 struct device *qidev = &(raw_cpu_ptr(&pcpu_qipriv)->net_dev.dev); in caam_fq_ern_cb()
573 struct caam_napi *caam_napi = raw_cpu_ptr(&pcpu_qipriv.caam_napi); in caam_rsp_fq_dqrr_cb()
576 struct device *qidev = &(raw_cpu_ptr(&pcpu_qipriv)->net_dev.dev); in caam_rsp_fq_dqrr_cb()
/openbmc/linux/arch/x86/kernel/cpu/mce/
H A Dcore.c2379 __mcheck_cpu_init_vendor(raw_cpu_ptr(&cpu_info)); in mce_syscore_resume()
2395 if (!mce_available(raw_cpu_ptr(&cpu_info))) in mce_cpu_restart()
2413 if (!mce_available(raw_cpu_ptr(&cpu_info))) in mce_disable_cmci()
2420 if (!mce_available(raw_cpu_ptr(&cpu_info))) in mce_enable_ce()
2667 if (!mce_available(raw_cpu_ptr(&cpu_info))) in mce_disable_cpu()
2681 if (!mce_available(raw_cpu_ptr(&cpu_info))) in mce_reenable_cpu()
H A Dintel.c354 if (!mce_available(raw_cpu_ptr(&cpu_info)) || !cmci_supported(&banks)) in cmci_recheck()
/openbmc/linux/kernel/rcu/
H A Dsrcutree.c694 sdp = raw_cpu_ptr(ssp->sda); in srcu_check_nmi_safety()
743 struct srcu_data *sdp = raw_cpu_ptr(ssp->sda); in __srcu_read_lock_nmisafe()
759 struct srcu_data *sdp = raw_cpu_ptr(ssp->sda); in __srcu_read_unlock_nmisafe()
1175 sdp = raw_cpu_ptr(ssp->sda); in srcu_might_be_idle()
1240 sdp = raw_cpu_ptr(ssp->sda); in srcu_gp_start_if_needed()
/openbmc/linux/crypto/
H A Dscompress.c134 scratch = raw_cpu_ptr(&scomp_scratch); in scomp_acomp_comp_decomp()
/openbmc/linux/drivers/iommu/
H A Diova.c784 cpu_rcache = raw_cpu_ptr(rcache->cpu_rcaches); in __iova_rcache_insert()
847 cpu_rcache = raw_cpu_ptr(rcache->cpu_rcaches); in __iova_rcache_get()
/openbmc/linux/net/ipv6/
H A Dseg6_hmac.c380 p_tfm = raw_cpu_ptr(algo->tfms); in seg6_hmac_init_algo()
/openbmc/linux/kernel/irq/
H A Dchip.c942 res = action->handler(irq, raw_cpu_ptr(action->percpu_dev_id)); in handle_percpu_devid_irq()
977 res = action->handler(irq, raw_cpu_ptr(action->percpu_dev_id)); in handle_percpu_devid_fasteoi_nmi()

12