Home
last modified time | relevance | path

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

12

/linux-6.6.21/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)); \
161 ptr__ = raw_cpu_ptr(&(pcp)); \
172 ptr__ = raw_cpu_ptr(&(pcp)); \
/linux-6.6.21/arch/arm/kernel/
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()
/linux-6.6.21/arch/arm64/include/asm/
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
Dsmp.h43 #define raw_smp_processor_id() (*raw_cpu_ptr(&cpu_number))
Dstacktrace.h67 unsigned long low = (unsigned long)raw_cpu_ptr(overflow_stack); in stackinfo_get_overflow()
/linux-6.6.21/include/asm-generic/
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))); \
Dmmiowb.h30 #define __mmiowb_state() raw_cpu_ptr(&__mmiowb_state)
/linux-6.6.21/arch/loongarch/include/asm/
Dpercpu.h159 typeof(*raw_cpu_ptr(&(pcp))) __ret; \
161 __ret = cmpxchg_local(raw_cpu_ptr(&(pcp)), o, n); \
182 __retval = (typeof(pcp))operation(raw_cpu_ptr(&(pcp)), \
/linux-6.6.21/include/linux/
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)
Dsbitmap.h345 *raw_cpu_ptr(sb->alloc_hint) = bitnr; in sbitmap_put()
/linux-6.6.21/net/mpls/
Dinternal.h37 raw_cpu_ptr((mdev)->stats); \
49 raw_cpu_ptr((mdev)->stats); \
/linux-6.6.21/include/net/
Dsnmp.h162 __typeof__(*mib) *ptr = raw_cpu_ptr(mib); \
180 ptr = raw_cpu_ptr((mib)); \
/linux-6.6.21/mm/
Dswap_slots.c276 cache = raw_cpu_ptr(&swp_slots); in free_swap_slot()
324 cache = raw_cpu_ptr(&swp_slots); in folio_alloc_swap()
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()
/linux-6.6.21/drivers/irqchip/
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()
/linux-6.6.21/arch/x86/lib/
Ddelay.c134 __monitorx(raw_cpu_ptr(&cpu_tss_rw), 0, 0); in delay_halt_mwaitx()
/linux-6.6.21/mm/kmsan/
Dkmsan.h106 return in_task() ? &current->kmsan_ctx : raw_cpu_ptr(&kmsan_percpu_ctx); in kmsan_get_context()
/linux-6.6.21/drivers/crypto/caam/
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()
/linux-6.6.21/arch/x86/kernel/cpu/mce/
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()
2665 if (!mce_available(raw_cpu_ptr(&cpu_info))) in mce_disable_cpu()
2679 if (!mce_available(raw_cpu_ptr(&cpu_info))) in mce_reenable_cpu()
Dintel.c354 if (!mce_available(raw_cpu_ptr(&cpu_info)) || !cmci_supported(&banks)) in cmci_recheck()
/linux-6.6.21/kernel/rcu/
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()
/linux-6.6.21/crypto/
Dscompress.c134 scratch = raw_cpu_ptr(&scomp_scratch); in scomp_acomp_comp_decomp()
/linux-6.6.21/net/ipv6/
Dseg6_hmac.c377 p_tfm = raw_cpu_ptr(algo->tfms); in seg6_hmac_init_algo()
/linux-6.6.21/drivers/iommu/
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()
/linux-6.6.21/kernel/irq/
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