/openbmc/linux/arch/s390/include/asm/ |
H A D | percpu.h | 33 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 D | smp_twd.c | 94 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 D | percpu.h | 152 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 D | smp.h | 43 #define raw_smp_processor_id() (*raw_cpu_ptr(&cpu_number))
|
H A D | stacktrace.h | 67 unsigned long low = (unsigned long)raw_cpu_ptr(overflow_stack); in stackinfo_get_overflow()
|
/openbmc/linux/include/asm-generic/ |
H A D | percpu.h | 67 *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 D | mmiowb.h | 30 #define __mmiowb_state() raw_cpu_ptr(&__mmiowb_state)
|
/openbmc/linux/arch/loongarch/include/asm/ |
H A D | percpu.h | 164 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 D | percpu-defs.h | 239 #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 D | sbitmap.h | 350 *raw_cpu_ptr(sb->alloc_hint) = bitnr; in sbitmap_put()
|
/openbmc/linux/net/mpls/ |
H A D | internal.h | 37 raw_cpu_ptr((mdev)->stats); \ 49 raw_cpu_ptr((mdev)->stats); \
|
/openbmc/linux/include/net/ |
H A D | snmp.h | 162 __typeof__(*mib) *ptr = raw_cpu_ptr(mib); \ 180 ptr = raw_cpu_ptr((mib)); \
|
/openbmc/linux/mm/ |
H A D | swap_slots.c | 276 cache = raw_cpu_ptr(&swp_slots); in free_swap_slot() 324 cache = raw_cpu_ptr(&swp_slots); in folio_alloc_swap()
|
H A D | zswap.c | 1111 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 D | delay.c | 134 __monitorx(raw_cpu_ptr(&cpu_tss_rw), 0, 0); in delay_halt_mwaitx()
|
/openbmc/linux/drivers/irqchip/ |
H A D | irq-gic.c | 654 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 D | kmsan.h | 106 return in_task() ? ¤t->kmsan_ctx : raw_cpu_ptr(&kmsan_percpu_ctx); in kmsan_get_context()
|
/openbmc/linux/drivers/crypto/caam/ |
H A D | qi.c | 147 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 D | core.c | 2379 __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 D | intel.c | 354 if (!mce_available(raw_cpu_ptr(&cpu_info)) || !cmci_supported(&banks)) in cmci_recheck()
|
/openbmc/linux/kernel/rcu/ |
H A D | srcutree.c | 694 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 D | scompress.c | 134 scratch = raw_cpu_ptr(&scomp_scratch); in scomp_acomp_comp_decomp()
|
/openbmc/linux/drivers/iommu/ |
H A D | iova.c | 784 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 D | seg6_hmac.c | 380 p_tfm = raw_cpu_ptr(algo->tfms); in seg6_hmac_init_algo()
|
/openbmc/linux/kernel/irq/ |
H A D | chip.c | 942 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()
|