Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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)); \
/kernel/linux/linux-5.10/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)); \
94 typeof(pcp) *__p = raw_cpu_ptr(&(pcp)); \
104 typeof(pcp1) *__p1 = raw_cpu_ptr(&(pcp1)); \
105 typeof(pcp2) *__p2 = raw_cpu_ptr(&(pcp2)); \
119 ___ret = READ_ONCE(*raw_cpu_ptr(&(pcp))); \
Dmmiowb.h30 #define __mmiowb_state() raw_cpu_ptr(&__mmiowb_state)
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dpercpu.h147 __ret = cmpxchg_double_local( raw_cpu_ptr(&(ptr1)), \
148 raw_cpu_ptr(&(ptr2)), \
157 op(raw_cpu_ptr(&(pcp)), __VA_ARGS__); \
165 __retval = (typeof(pcp))op(raw_cpu_ptr(&(pcp)), ##args); \
247 #define this_cpu_ptr raw_cpu_ptr
Dsmp.h43 #define raw_smp_processor_id() (*raw_cpu_ptr(&cpu_number))
Dstacktrace.h115 unsigned long low = (unsigned long)raw_cpu_ptr(overflow_stack); in on_overflow_stack()
/kernel/linux/linux-5.10/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)
/kernel/linux/linux-5.10/include/net/
Dsnmp.h162 __typeof__(*mib) *ptr = raw_cpu_ptr(mib); \
180 ptr = raw_cpu_ptr((mib)); \
/kernel/linux/linux-5.10/net/mpls/
Dinternal.h37 raw_cpu_ptr((mdev)->stats); \
49 raw_cpu_ptr((mdev)->stats); \
/kernel/linux/linux-5.10/mm/
Dswap_slots.c278 cache = raw_cpu_ptr(&swp_slots); in free_swap_slot()
328 cache = raw_cpu_ptr(&swp_slots); in get_swap_page()
/kernel/linux/linux-5.10/arch/x86/lib/
Ddelay.c134 __monitorx(raw_cpu_ptr(&cpu_tss_rw), 0, 0); in delay_halt_mwaitx()
/kernel/linux/linux-5.10/drivers/crypto/caam/
Dqi.c140 struct device *qidev = &(raw_cpu_ptr(&pcpu_qipriv)->net_dev.dev); in caam_fq_ern_cb()
569 struct caam_napi *caam_napi = raw_cpu_ptr(&pcpu_qipriv.caam_napi); in caam_rsp_fq_dqrr_cb()
572 struct device *qidev = &(raw_cpu_ptr(&pcpu_qipriv)->net_dev.dev); in caam_rsp_fq_dqrr_cb()
/kernel/linux/linux-5.10/drivers/irqchip/
Dirq-gic.c659 ptr = raw_cpu_ptr(gic->saved_ppi_enable); in gic_cpu_save()
663 ptr = raw_cpu_ptr(gic->saved_ppi_active); in gic_cpu_save()
667 ptr = raw_cpu_ptr(gic->saved_ppi_conf); in gic_cpu_save()
689 ptr = raw_cpu_ptr(gic->saved_ppi_enable); in gic_cpu_restore()
696 ptr = raw_cpu_ptr(gic->saved_ppi_active); in gic_cpu_restore()
703 ptr = raw_cpu_ptr(gic->saved_ppi_conf); in gic_cpu_restore()
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/mce/
Dcore.c2317 __mcheck_cpu_init_vendor(raw_cpu_ptr(&cpu_info)); in mce_syscore_resume()
2333 if (!mce_available(raw_cpu_ptr(&cpu_info))) in mce_cpu_restart()
2350 if (!mce_available(raw_cpu_ptr(&cpu_info))) in mce_disable_cmci()
2357 if (!mce_available(raw_cpu_ptr(&cpu_info))) in mce_enable_ce()
2604 if (!mce_available(raw_cpu_ptr(&cpu_info))) in mce_disable_cpu()
2618 if (!mce_available(raw_cpu_ptr(&cpu_info))) in mce_reenable_cpu()
Dintel.c347 if (!mce_available(raw_cpu_ptr(&cpu_info)) || !cmci_supported(&banks)) in cmci_recheck()
/kernel/linux/linux-5.10/drivers/iommu/
Diova.c552 struct iova_fq *fq = raw_cpu_ptr(iovad->fq); in queue_iova()
899 cpu_rcache = raw_cpu_ptr(rcache->cpu_rcaches); in __iova_rcache_insert()
962 cpu_rcache = raw_cpu_ptr(rcache->cpu_rcaches); in __iova_rcache_get()
/kernel/linux/linux-5.10/crypto/
Dscompress.c138 scratch = raw_cpu_ptr(&scomp_scratch); in scomp_acomp_comp_decomp()
/kernel/linux/linux-5.10/kernel/irq/
Dchip.c933 res = action->handler(irq, raw_cpu_ptr(action->percpu_dev_id)); in handle_percpu_devid_irq()
973 res = action->handler(irq, raw_cpu_ptr(action->percpu_dev_id)); in handle_percpu_devid_fasteoi_ipi()
995 res = action->handler(irq, raw_cpu_ptr(action->percpu_dev_id)); in handle_percpu_devid_fasteoi_nmi()
/kernel/linux/linux-5.10/net/ipv6/
Dseg6_hmac.c378 p_tfm = raw_cpu_ptr(algo->tfms); in seg6_hmac_init_algo()
/kernel/linux/linux-5.10/net/netfilter/
Dnft_set_pipapo.c429 if (unlikely(!m || !*raw_cpu_ptr(m->scratch))) in nft_pipapo_lookup()
432 res_map = *raw_cpu_ptr(m->scratch) + (map_index ? m->bsize_max : 0); in nft_pipapo_lookup()
433 fill_map = *raw_cpu_ptr(m->scratch) + (map_index ? 0 : m->bsize_max); in nft_pipapo_lookup()
/kernel/linux/linux-5.10/kernel/rcu/
Dsrcutree.c774 sdp = raw_cpu_ptr(ssp->sda); in srcu_might_be_idle()
828 sdp = raw_cpu_ptr(ssp->sda); in srcu_gp_start_if_needed()
/kernel/linux/linux-5.10/kernel/
Dtaskstats.c608 listeners = raw_cpu_ptr(&listener_array); in taskstats_exit()
/kernel/linux/linux-5.10/kernel/kcsan/
Dcore.c197 return in_task() ? &current->kcsan_ctx : raw_cpu_ptr(&kcsan_cpu_ctx); in get_ctx()
/kernel/linux/linux-5.10/drivers/char/
Drandom.c2221 batch = raw_cpu_ptr(&batched_entropy_u64); in get_random_u64()
2245 batch = raw_cpu_ptr(&batched_entropy_u32); in get_random_u32()

12