Home
last modified time | relevance | path

Searched refs:this_cpu_ptr (Results 1 – 25 of 320) sorted by relevance

12345678910>>...13

/Linux-v4.19/kernel/
Dirq_work.c101 if (llist_add(&work->llnode, this_cpu_ptr(&lazy_list)) && in irq_work_queue()
105 if (llist_add(&work->llnode, this_cpu_ptr(&raised_list))) in irq_work_queue()
119 raised = this_cpu_ptr(&raised_list); in irq_work_needs_cpu()
120 lazy = this_cpu_ptr(&lazy_list); in irq_work_needs_cpu()
170 irq_work_run_list(this_cpu_ptr(&raised_list)); in irq_work_run()
171 irq_work_run_list(this_cpu_ptr(&lazy_list)); in irq_work_run()
177 struct llist_head *raised = this_cpu_ptr(&raised_list); in irq_work_tick()
181 irq_work_run_list(this_cpu_ptr(&lazy_list)); in irq_work_tick()
Dwatchdog.c349 complete(this_cpu_ptr(&softlockup_completion)); in softlockup_fn()
369 if (completion_done(this_cpu_ptr(&softlockup_completion))) { in watchdog_timer_fn()
370 reinit_completion(this_cpu_ptr(&softlockup_completion)); in watchdog_timer_fn()
373 this_cpu_ptr(&softlockup_stop_work)); in watchdog_timer_fn()
474 struct hrtimer *hrtimer = this_cpu_ptr(&watchdog_hrtimer); in watchdog_enable()
475 struct completion *done = this_cpu_ptr(&softlockup_completion); in watchdog_enable()
500 struct hrtimer *hrtimer = this_cpu_ptr(&watchdog_hrtimer); in watchdog_disable()
511 wait_for_completion(this_cpu_ptr(&softlockup_completion)); in watchdog_disable()
Duser-return-notifier.c17 hlist_add_head(&urn->link, this_cpu_ptr(&return_notifier_list)); in user_return_notifier_register()
28 if (hlist_empty(this_cpu_ptr(&return_notifier_list))) in user_return_notifier_unregister()
/Linux-v4.19/arch/x86/kernel/cpu/mcheck/
Dmce_intel.c136 if (machine_check_poll(0, this_cpu_ptr(&mce_banks_owned))) in mce_intel_cmci_poll()
159 owned = this_cpu_ptr(mce_banks_owned); in cmci_toggle_interrupt_mode()
256 machine_check_poll(MCP_TIMESTAMP, this_cpu_ptr(&mce_banks_owned)); in intel_threshold_interrupt()
266 unsigned long *owned = (void *)this_cpu_ptr(&mce_banks_owned); in cmci_discover()
288 __clear_bit(i, this_cpu_ptr(mce_poll_banks)); in cmci_discover()
312 __clear_bit(i, this_cpu_ptr(mce_poll_banks)); in cmci_discover()
323 WARN_ON(!test_bit(i, this_cpu_ptr(mce_poll_banks))); in cmci_discover()
348 machine_check_poll(0, this_cpu_ptr(&mce_banks_owned)); in cmci_recheck()
357 if (!test_bit(bank, this_cpu_ptr(mce_banks_owned))) in __cmci_disable_bank()
362 __clear_bit(bank, this_cpu_ptr(mce_banks_owned)); in __cmci_disable_bank()
/Linux-v4.19/net/core/
Ddst_cache.c72 return dst_cache_per_cpu_get(dst_cache, this_cpu_ptr(dst_cache->cache)); in dst_cache_get()
84 idst = this_cpu_ptr(dst_cache->cache); in dst_cache_get_ip4()
102 idst = this_cpu_ptr(dst_cache->cache); in dst_cache_set_ip4()
117 idst = this_cpu_ptr(dst_cache->cache); in dst_cache_set_ip6()
118 dst_cache_per_cpu_dst_set(this_cpu_ptr(dst_cache->cache), dst, in dst_cache_set_ip6()
133 idst = this_cpu_ptr(dst_cache->cache); in dst_cache_get_ip6()
/Linux-v4.19/kernel/time/
Dtick-sched.c243 irq_work_queue(this_cpu_ptr(&nohz_full_kick_work)); in tick_nohz_full_kick()
379 ts = this_cpu_ptr(&tick_cpu_sched); in __tick_nohz_task_switch()
470 struct tick_sched *ts = this_cpu_ptr(&tick_cpu_sched); in tick_nohz_tick_stopped()
960 __tick_nohz_idle_stop_tick(this_cpu_ptr(&tick_cpu_sched)); in tick_nohz_idle_stop_tick()
965 tick_nohz_retain_tick(this_cpu_ptr(&tick_cpu_sched)); in tick_nohz_idle_retain_tick()
986 ts = this_cpu_ptr(&tick_cpu_sched); in tick_nohz_idle_enter()
1006 struct tick_sched *ts = this_cpu_ptr(&tick_cpu_sched); in tick_nohz_irq_exit()
1019 struct tick_sched *ts = this_cpu_ptr(&tick_cpu_sched); in tick_nohz_idle_got_tick()
1037 struct tick_sched *ts = this_cpu_ptr(&tick_cpu_sched); in tick_nohz_get_sleep_length()
1087 struct tick_sched *ts = this_cpu_ptr(&tick_cpu_sched); in tick_nohz_get_idle_calls()
[all …]
/Linux-v4.19/arch/xtensa/kernel/
Dhw_breakpoint.c177 i = alloc_slot(this_cpu_ptr(bp_on_reg), XCHAL_NUM_IBREAK, bp); in arch_install_hw_breakpoint()
184 i = alloc_slot(this_cpu_ptr(wp_on_reg), XCHAL_NUM_DBREAK, bp); in arch_install_hw_breakpoint()
215 i = free_slot(this_cpu_ptr(bp_on_reg), XCHAL_NUM_IBREAK, bp); in arch_uninstall_hw_breakpoint()
222 i = free_slot(this_cpu_ptr(wp_on_reg), XCHAL_NUM_DBREAK, bp); in arch_uninstall_hw_breakpoint()
267 struct perf_event *bp = this_cpu_ptr(wp_on_reg)[i]; in restore_dbreak()
279 struct perf_event **bp = this_cpu_ptr(bp_on_reg); in check_hw_breakpoint()
288 struct perf_event **bp = this_cpu_ptr(wp_on_reg); in check_hw_breakpoint()
/Linux-v4.19/arch/s390/kernel/
Dperf_cpum_cf.c178 struct cpu_hw_events *cpuhw = this_cpu_ptr(&cpu_hw_events); in cpumf_pmu_enable()
201 struct cpu_hw_events *cpuhw = this_cpu_ptr(&cpu_hw_events); in cpumf_pmu_disable()
235 cpuhw = this_cpu_ptr(&cpu_hw_events); in cpumf_measurement_alert()
260 struct cpu_hw_events *cpuhw = this_cpu_ptr(&cpu_hw_events); in setup_pmc_cpu()
489 struct cpu_hw_events *cpuhw = this_cpu_ptr(&cpu_hw_events); in cpumf_pmu_start()
520 struct cpu_hw_events *cpuhw = this_cpu_ptr(&cpu_hw_events); in cpumf_pmu_stop()
541 struct cpu_hw_events *cpuhw = this_cpu_ptr(&cpu_hw_events); in cpumf_pmu_add()
565 struct cpu_hw_events *cpuhw = this_cpu_ptr(&cpu_hw_events); in cpumf_pmu_del()
593 struct cpu_hw_events *cpuhw = this_cpu_ptr(&cpu_hw_events); in cpumf_pmu_start_txn()
613 struct cpu_hw_events *cpuhw = this_cpu_ptr(&cpu_hw_events); in cpumf_pmu_cancel_txn()
[all …]
/Linux-v4.19/arch/x86/events/intel/
Dbts.c228 struct bts_ctx *bts = this_cpu_ptr(&bts_ctx); in __bts_event_start()
256 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in bts_event_start()
257 struct bts_ctx *bts = this_cpu_ptr(&bts_ctx); in bts_event_start()
287 struct bts_ctx *bts = this_cpu_ptr(&bts_ctx); in __bts_event_stop()
301 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in bts_event_stop()
302 struct bts_ctx *bts = this_cpu_ptr(&bts_ctx); in bts_event_stop()
335 struct bts_ctx *bts = this_cpu_ptr(&bts_ctx); in intel_bts_enable_local()
355 struct bts_ctx *bts = this_cpu_ptr(&bts_ctx); in intel_bts_disable_local()
446 struct debug_store *ds = this_cpu_ptr(&cpu_hw_events)->ds; in intel_bts_interrupt()
447 struct bts_ctx *bts = this_cpu_ptr(&bts_ctx); in intel_bts_interrupt()
[all …]
/Linux-v4.19/arch/powerpc/include/asm/
Dxics.h110 struct xics_cppr *os_cppr = this_cpu_ptr(&xics_cppr); in xics_push_cppr()
123 struct xics_cppr *os_cppr = this_cpu_ptr(&xics_cppr); in xics_pop_cppr()
133 struct xics_cppr *os_cppr = this_cpu_ptr(&xics_cppr); in xics_set_base_cppr()
145 struct xics_cppr *os_cppr = this_cpu_ptr(&xics_cppr); in xics_cppr_top()
/Linux-v4.19/block/
Dblk-softirq.c28 cpu_list = this_cpu_ptr(&blk_cpu_done); in blk_done_softirq()
49 list = this_cpu_ptr(&blk_cpu_done); in trigger_softirq()
91 this_cpu_ptr(&blk_cpu_done)); in blk_softirq_cpu_dead()
131 list = this_cpu_ptr(&blk_cpu_done); in __blk_complete_request()
/Linux-v4.19/arch/arm/kernel/
Dperf_event_xscale.c149 struct pmu_hw_events *cpuc = this_cpu_ptr(cpu_pmu->hw_events); in xscale1pmu_handle_irq()
209 struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); in xscale1pmu_enable_event()
245 struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); in xscale1pmu_disable_event()
304 struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); in xscale1pmu_start()
316 struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); in xscale1pmu_stop()
501 struct pmu_hw_events *cpuc = this_cpu_ptr(cpu_pmu->hw_events); in xscale2pmu_handle_irq()
555 struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); in xscale2pmu_enable_event()
601 struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); in xscale2pmu_disable_event()
667 struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); in xscale2pmu_start()
679 struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); in xscale2pmu_stop()
/Linux-v4.19/arch/arm64/kernel/
Dhw_breakpoint.c247 slots = this_cpu_ptr(bp_on_reg); in hw_breakpoint_control()
254 slots = this_cpu_ptr(wp_on_reg); in hw_breakpoint_control()
594 slots = this_cpu_ptr(bp_on_reg); in toggle_bp_registers()
598 slots = this_cpu_ptr(wp_on_reg); in toggle_bp_registers()
636 slots = this_cpu_ptr(bp_on_reg); in breakpoint_handler()
686 kernel_step = this_cpu_ptr(&stepping_kernel_bp); in breakpoint_handler()
751 slots = this_cpu_ptr(wp_on_reg); in watchpoint_handler()
829 kernel_step = this_cpu_ptr(&stepping_kernel_bp); in watchpoint_handler()
854 kernel_step = this_cpu_ptr(&stepping_kernel_bp); in reinstall_suspended_bps()
953 for (slots = this_cpu_ptr(bp_on_reg), i = 0; i < core_num_brps; ++i) { in hw_breakpoint_reset()
[all …]
/Linux-v4.19/net/netfilter/
Dnft_counter.c39 this_cpu = this_cpu_ptr(priv->counter); in nft_counter_do_eval()
40 myseq = this_cpu_ptr(&nft_counter_seq); in nft_counter_do_eval()
71 this_cpu = this_cpu_ptr(cpu_stats); in nft_counter_do_init()
113 this_cpu = this_cpu_ptr(priv->counter); in nft_counter_reset()
245 this_cpu = this_cpu_ptr(cpu_stats); in nft_counter_clone()
/Linux-v4.19/arch/x86/xen/
Dmulticalls.c58 struct mc_buffer *b = this_cpu_ptr(&mc_buffer); in xen_mc_flush()
135 struct mc_buffer *b = this_cpu_ptr(&mc_buffer); in __xen_mc_entry()
166 struct mc_buffer *b = this_cpu_ptr(&mc_buffer); in xen_mc_extend_args()
196 struct mc_buffer *b = this_cpu_ptr(&mc_buffer); in xen_mc_callback()
/Linux-v4.19/arch/ia64/include/asm/sn/
Darch.h60 #define sn_hub_info this_cpu_ptr(&__sn_hub_info)
75 #define sn_cnodeid_to_nasid this_cpu_ptr(&__sn_cnodeid_to_nasid[0])
/Linux-v4.19/arch/powerpc/platforms/powernv/
Dopal-tracepoints.c55 depth = this_cpu_ptr(&opal_trace_depth); in __trace_opal_entry()
76 depth = this_cpu_ptr(&opal_trace_depth); in __trace_opal_exit()
/Linux-v4.19/kernel/irq/
Dmatrix.c79 struct cpumap *cm = this_cpu_ptr(m->maps); in irq_matrix_online()
100 struct cpumap *cm = this_cpu_ptr(m->maps); in irq_matrix_offline()
141 struct cpumap *cm = this_cpu_ptr(m->maps); in irq_matrix_assign_system()
268 struct cpumap *cm = this_cpu_ptr(m->maps); in irq_matrix_assign()
396 struct cpumap *cm = this_cpu_ptr(m->maps); in irq_matrix_available()
420 struct cpumap *cm = this_cpu_ptr(m->maps); in irq_matrix_allocated()
Dtimings.c249 struct irq_timings *irqts = this_cpu_ptr(&irq_timings); in irq_timings_next_event()
284 irqs = this_cpu_ptr(s); in irq_timings_next_event()
295 irqs = this_cpu_ptr(s); in irq_timings_next_event()
/Linux-v4.19/lib/
Dirq_poll.c37 list_add_tail(&iop->list, this_cpu_ptr(&blk_cpu_iopoll)); in irq_poll_sched()
80 struct list_head *list = this_cpu_ptr(&blk_cpu_iopoll); in irq_poll_softirq()
196 this_cpu_ptr(&blk_cpu_iopoll)); in irq_poll_cpu_dead()
/Linux-v4.19/arch/sh/kernel/
Dkprobes.c105 struct kprobe *saved = this_cpu_ptr(&saved_next_opcode); in arch_remove_kprobe()
114 saved = this_cpu_ptr(&saved_next_opcode2); in arch_remove_kprobe()
156 op1 = this_cpu_ptr(&saved_next_opcode); in prepare_singlestep()
157 op2 = this_cpu_ptr(&saved_next_opcode2); in prepare_singlestep()
381 p = this_cpu_ptr(&saved_next_opcode); in post_kprobe_handler()
393 p = this_cpu_ptr(&saved_next_opcode2); in post_kprobe_handler()
/Linux-v4.19/arch/x86/kernel/
Dtsc_sync.c50 struct tsc_adjust *adj = this_cpu_ptr(&tsc_adjust); in tsc_verify_tsc_adjust()
116 struct tsc_adjust *cur = this_cpu_ptr(&tsc_adjust); in tsc_store_and_check_tsc_adjust()
140 struct tsc_adjust *ref, *cur = this_cpu_ptr(&tsc_adjust); in tsc_store_and_check_tsc_adjust()
402 struct tsc_adjust *cur = this_cpu_ptr(&tsc_adjust); in check_tsc_sync_target()
Dirq_64.c49 irq_stack_top = (u64)this_cpu_ptr(irq_stack_union.irq_stack) + in stack_overflow_check()
55 oist = this_cpu_ptr(&orig_ist); in stack_overflow_check()
/Linux-v4.19/drivers/clocksource/
Dnumachip.c61 struct clock_event_device *ced = this_cpu_ptr(&numachip2_ced); in numachip_timer_interrupt()
69 struct clock_event_device *ced = this_cpu_ptr(&numachip2_ced); in numachip_timer_each()
/Linux-v4.19/drivers/oprofile/
Dcpu_buffer.c50 struct oprofile_cpu_buffer *cpu_buf = this_cpu_ptr(&op_cpu_buffer); in oprofile_cpu_buffer_inc_smpl_lost()
302 struct oprofile_cpu_buffer *cpu_buf = this_cpu_ptr(&op_cpu_buffer); in __oprofile_add_ext_sample()
362 struct oprofile_cpu_buffer *cpu_buf = this_cpu_ptr(&op_cpu_buffer); in oprofile_write_reserve()
417 struct oprofile_cpu_buffer *cpu_buf = this_cpu_ptr(&op_cpu_buffer); in oprofile_add_pc()
423 struct oprofile_cpu_buffer *cpu_buf = this_cpu_ptr(&op_cpu_buffer); in oprofile_add_trace()

12345678910>>...13