/Linux-v4.19/kernel/ |
D | irq_work.c | 101 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()
|
D | watchdog.c | 349 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()
|
D | user-return-notifier.c | 17 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/ |
D | mce_intel.c | 136 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/ |
D | dst_cache.c | 72 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/ |
D | tick-sched.c | 243 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/ |
D | hw_breakpoint.c | 177 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/ |
D | perf_cpum_cf.c | 178 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/ |
D | bts.c | 228 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/ |
D | xics.h | 110 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/ |
D | blk-softirq.c | 28 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/ |
D | perf_event_xscale.c | 149 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/ |
D | hw_breakpoint.c | 247 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/ |
D | nft_counter.c | 39 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/ |
D | multicalls.c | 58 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/ |
D | arch.h | 60 #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/ |
D | opal-tracepoints.c | 55 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/ |
D | matrix.c | 79 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()
|
D | timings.c | 249 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/ |
D | irq_poll.c | 37 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/ |
D | kprobes.c | 105 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/ |
D | tsc_sync.c | 50 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()
|
D | irq_64.c | 49 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/ |
D | numachip.c | 61 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/ |
D | cpu_buffer.c | 50 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()
|