Loading...
Defined in 5 files as a macro:
- arch/arm64/include/asm/percpu.h, line 264 (as a macro)
- include/linux/percpu-defs.h, line 246 (as a macro)
- include/linux/percpu-defs.h, line 252 (as a macro)
- include/linux/percpu-defs.h, line 265 (as a macro)
- tools/testing/radix-tree/linux/percpu.h, line 6 (as a macro)
Referenced in 396 files:
- arch/alpha/kernel/perf_event.c, 7 times
- arch/arc/kernel/perf_event.c, 4 times
- arch/arc/kernel/smp.c, 2 times
- arch/arm/kernel/hw_breakpoint.c, 7 times
- arch/arm/kernel/perf_event_v6.c, 6 times
- arch/arm/kernel/perf_event_v7.c, 9 times
- arch/arm/kernel/perf_event_xscale.c, 10 times
- arch/arm/mm/proc-v7-bugs.c, 2 times
- arch/arm64/include/asm/hardirq.h, 2 times
- arch/arm64/include/asm/kvm_asm.h, line 160
- arch/arm64/include/asm/percpu.h, line 263
- arch/arm64/include/asm/spectre.h, line 79
- arch/arm64/kernel/cpuinfo.c, line 471
- arch/arm64/kernel/fpsimd.c, 9 times
- arch/arm64/kernel/hw_breakpoint.c, 11 times
- arch/arm64/kernel/paravirt.c, 2 times
- arch/arm64/kernel/proton-pack.c, 2 times
- arch/arm64/kernel/traps.c, line 882
- arch/arm64/kvm/arm.c, 2 times
- arch/arm64/kvm/hyp/include/hyp/debug-sr.h, 2 times
- arch/arm64/kvm/hyp/include/hyp/switch.h, 5 times
- arch/arm64/kvm/hyp/nvhe/mem_protect.c, 2 times
- arch/arm64/kvm/hyp/nvhe/mm.c, 3 times
- arch/arm64/kvm/hyp/nvhe/psci-relay.c, 7 times
- arch/arm64/kvm/hyp/nvhe/setup.c, 2 times
- arch/arm64/kvm/hyp/nvhe/stacktrace.c, 6 times
- arch/arm64/kvm/hyp/nvhe/switch.c, 3 times
- arch/arm64/kvm/hyp/vhe/switch.c, 2 times
- arch/arm64/kvm/hyp/vhe/sysreg-sr.c, 2 times
- arch/arm64/kvm/pmu.c, 2 times
- arch/arm64/kvm/stacktrace.c, line 63
- arch/arm64/kvm/vmid.c, 4 times
- arch/arm64/mm/context.c, 3 times
- arch/csky/kernel/perf_event.c, 5 times
- arch/csky/kernel/smp.c, 2 times
- arch/loongarch/kernel/hw_breakpoint.c, 6 times
- arch/loongarch/kernel/kfpu.c, 2 times
- arch/loongarch/kernel/perf_event.c, 7 times
- arch/mips/cavium-octeon/octeon-irq.c, 11 times
- arch/mips/dec/setup.c, line 759
- arch/mips/kernel/mips-cm.c, 4 times
- arch/mips/kernel/perf_event_mipsxx.c, 7 times
- arch/mips/kernel/pm-cps.c, line 115
- arch/powerpc/include/asm/book3s/64/tlbflush-hash.h, 2 times
- arch/powerpc/include/asm/idle.h, 6 times
- arch/powerpc/include/asm/xics.h, 4 times
- arch/powerpc/kernel/hw_breakpoint.c, 2 times
- arch/powerpc/kernel/process.c, 5 times
- arch/powerpc/kernel/smp.c, line 328
- arch/powerpc/kernel/time.c, 3 times
- arch/powerpc/kernel/watchdog.c, 3 times
- arch/powerpc/kvm/book3s_hv.c, 2 times
- arch/powerpc/kvm/e500.c, 3 times
- arch/powerpc/lib/qspinlock.c, line 539
- arch/powerpc/mm/book3s64/hash_native.c, line 788
- arch/powerpc/mm/book3s64/hash_utils.c, line 2009
- arch/powerpc/perf/core-book3s.c, 14 times
- arch/powerpc/perf/core-fsl-emb.c, 3 times
- arch/powerpc/platforms/cell/interrupt.c, 3 times
- arch/powerpc/platforms/powernv/opal-call.c, 2 times
- arch/powerpc/platforms/powernv/opal-tracepoints.c, 2 times
- arch/powerpc/platforms/powernv/subcore.c, 3 times
- arch/powerpc/platforms/ps3/interrupt.c, line 704
- arch/powerpc/platforms/pseries/dtl.c, line 67
- arch/powerpc/platforms/pseries/hvCall_inst.c, 2 times
- arch/powerpc/platforms/pseries/lpar.c, 4 times
- arch/powerpc/sysdev/xics/xics-common.c, line 151
- arch/powerpc/xmon/xmon.c, line 3707
- arch/riscv/kernel/cpu.c, line 170
- arch/riscv/kernel/traps.c, line 401
- arch/riscv/kernel/traps_misaligned.c, line 416
- arch/s390/kernel/idle.c, 2 times
- arch/s390/kernel/nmi.c, 3 times
- arch/s390/kernel/perf_cpum_sf.c, 8 times
- arch/s390/kernel/perf_pai_crypto.c, 4 times
- arch/s390/kernel/perf_pai_ext.c, 4 times
- arch/s390/kernel/processor.c, 2 times
- arch/s390/kernel/time.c, 3 times
- arch/s390/kernel/trace.c, line 26
- arch/s390/kernel/vtime.c, 2 times
- arch/s390/lib/spinlock.c, line 125
- arch/sh/kernel/hw_breakpoint.c, 2 times
- arch/sh/kernel/kprobes.c, 6 times
- arch/sh/kernel/perf_event.c, 4 times
- arch/sparc/include/asm/cpudata_32.h, line 30
- arch/sparc/include/asm/cpudata_64.h, line 36
- arch/sparc/kernel/leon_smp.c, line 345
- arch/sparc/kernel/pci_sun4v.c, 4 times
- arch/sparc/kernel/perf_event.c, 12 times
- arch/sparc/kernel/sun4d_smp.c, line 208
- arch/sparc/kernel/time_64.c, line 761
- arch/sparc/mm/tlb.c, 2 times
- arch/x86/events/amd/brs.c, 7 times
- arch/x86/events/amd/core.c, 6 times
- arch/x86/events/amd/ibs.c, 5 times
- arch/x86/events/amd/lbr.c, 8 times
- arch/x86/events/core.c, 13 times
- arch/x86/events/intel/bts.c, 12 times
- arch/x86/events/intel/core.c, 22 times
- arch/x86/events/intel/ds.c, 20 times
- arch/x86/events/intel/knc.c, line 221
- arch/x86/events/intel/lbr.c, 14 times
- arch/x86/events/intel/p4.c, 3 times
- arch/x86/events/intel/pt.c, 13 times
- arch/x86/events/perf_event.h, 2 times
- arch/x86/hyperv/hv_apic.c, line 119
- arch/x86/hyperv/hv_init.c, 4 times
- arch/x86/hyperv/hv_proc.c, 4 times
- arch/x86/hyperv/hv_vtl.c, 2 times
- arch/x86/hyperv/irqdomain.c, 3 times
- arch/x86/hyperv/ivm.c, 4 times
- arch/x86/hyperv/mmu.c, 2 times
- arch/x86/hyperv/nested.c, 2 times
- arch/x86/include/asm/desc.h, line 59
- arch/x86/include/asm/resctrl.h, line 54
- arch/x86/include/asm/uv/uv_hub.h, line 191
- arch/x86/kernel/apic/apic.c, 4 times
- arch/x86/kernel/apic/vector.c, line 859
- arch/x86/kernel/cpu/aperfmperf.c, line 384
- arch/x86/kernel/cpu/common.c, line 2203
- arch/x86/kernel/cpu/mce/amd.c, 5 times
- arch/x86/kernel/cpu/mce/core.c, 21 times
- arch/x86/kernel/cpu/mce/inject.c, 3 times
- arch/x86/kernel/cpu/mce/intel.c, 11 times
- arch/x86/kernel/cpu/mce/internal.h, line 228
- arch/x86/kernel/cpu/resctrl/core.c, line 601
- arch/x86/kernel/hw_breakpoint.c, 3 times
- arch/x86/kernel/kvm.c, 3 times
- arch/x86/kernel/nmi.c, line 495
- arch/x86/kernel/perf_regs.c, line 136
- arch/x86/kernel/process.c, 4 times
- arch/x86/kernel/smp.c, line 230
- arch/x86/kernel/smpboot.c, line 1492
- arch/x86/kernel/tsc.c, 2 times
- arch/x86/kernel/tsc_sync.c, 4 times
- arch/x86/mm/kmmio.c, 2 times
- arch/x86/mm/tlb.c, 2 times
- arch/x86/platform/uv/uv_time.c, line 334
- arch/x86/xen/enlighten_pv.c, 3 times
- arch/x86/xen/multicalls.c, 4 times
- arch/x86/xen/pmu.c, 4 times
- arch/x86/xen/spinlock.c, line 40
- arch/x86/xen/time.c, 2 times
- arch/xtensa/kernel/hw_breakpoint.c, 7 times
- arch/xtensa/kernel/perf_event.c, 3 times
- arch/xtensa/kernel/process.c, 3 times
- arch/xtensa/kernel/time.c, 2 times
- arch/xtensa/kernel/traps.c, 4 times
- block/blk-cgroup.c, line 2134
- block/blk-mq.c, 2 times
- crypto/cryptd.c, line 138
- drivers/base/arch_topology.c, line 121
- drivers/block/zram/zcomp.c, line 109
- drivers/char/random.c, 4 times
- drivers/clocksource/arc_timer.c, 3 times
- drivers/clocksource/arm_arch_timer.c, 2 times
- drivers/clocksource/arm_global_timer.c, 2 times
- drivers/clocksource/hyperv_timer.c, line 62
- drivers/clocksource/jcore-pit.c, 2 times
- drivers/clocksource/mips-gic-timer.c, 3 times
- drivers/clocksource/numachip.c, 2 times
- drivers/clocksource/timer-clint.c, line 156
- drivers/clocksource/timer-mp-csky.c, line 64
- drivers/clocksource/timer-riscv.c, line 133
- drivers/clocksource/timer-tegra.c, line 257
- drivers/cpuidle/cpuidle-psci.c, line 55
- drivers/cpuidle/cpuidle-riscv-sbi.c, 5 times
- drivers/cpuidle/governors/ladder.c, line 69
- drivers/cpuidle/governors/menu.c, 3 times
- drivers/dma/hsu/hsu.c, line 222
- drivers/dma/idma64.c, line 143
- drivers/hv/hv.c, 3 times
- drivers/hv/hv_balloon.c, line 1627
- drivers/hv/hv_common.c, 2 times
- drivers/hv/vmbus_drv.c, line 1292
- drivers/hwtracing/coresight/coresight-etm-perf.c, 2 times
- drivers/hwtracing/coresight/coresight-etm4x-core.c, 2 times
- drivers/hwtracing/coresight/coresight-trbe.c, 5 times
- drivers/infiniband/ulp/rtrs/rtrs-clt.c, line 799
- drivers/irqchip/irq-gic-v3.c, line 141
- drivers/irqchip/irq-mips-gic.c, line 158
- drivers/irqchip/irq-sifive-plic.c, 4 times
- drivers/leds/trigger/ledtrig-cpu.c, line 53
- drivers/md/raid5.c, line 2299
- drivers/misc/vcpu_stall_detector.c, line 84
- drivers/net/ethernet/asix/ax88796c_main.c, 2 times
- drivers/net/ethernet/chelsio/cxgb/sge.c, 2 times
- drivers/net/ethernet/freescale/dpaa/dpaa_eth.c, 12 times
- drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c, 13 times
- drivers/net/ethernet/freescale/dpaa2/dpaa2-xsk.c, 4 times
- drivers/net/ethernet/marvell/mvneta.c, 10 times
- drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c, 3 times
- drivers/net/ethernet/mellanox/mlxsw/spectrum.c, 2 times
- drivers/net/ethernet/mellanox/mlxsw/spectrum_trap.c, line 77
- drivers/net/ethernet/netronome/nfp/nfp_net_repr.c, 2 times
- drivers/net/ethernet/qualcomm/rmnet/rmnet_vnd.c, 2 times
- drivers/net/ethernet/ti/am65-cpsw-nuss.c, 2 times
- drivers/net/hyperv/netvsc_drv.c, 2 times
- drivers/net/ipvlan/ipvlan_core.c, line 20
- drivers/net/ipvlan/ipvlan_main.c, line 226
- drivers/net/macsec.c, 8 times
- drivers/net/macvlan.c, line 585
- drivers/net/ppp/ppp_generic.c, 5 times
- drivers/net/team/team.c, 2 times
- drivers/net/team/team_mode_loadbalance.c, 2 times
- drivers/net/usb/usbnet.c, 2 times
- drivers/net/vrf.c, 2 times
- drivers/net/vxlan/vxlan_vnifilter.c, line 150
- drivers/net/wireless/intel/iwlwifi/queue/tx.c, line 294
- drivers/net/xen-netfront.c, 3 times
- drivers/pci/controller/pci-hyperv.c, 4 times
- drivers/perf/apple_m1_cpu_pmu.c, line 384
- drivers/perf/arm_pmu.c, 5 times
- drivers/perf/arm_pmuv3.c, 2 times
- drivers/perf/arm_spe_pmu.c, 2 times
- drivers/perf/riscv_pmu.c, 2 times
- drivers/perf/riscv_pmu_sbi.c, 6 times
- drivers/s390/cio/ccwreq.c, line 257
- drivers/s390/cio/chsc_sch.c, line 58
- drivers/s390/cio/cio.c, 2 times
- drivers/s390/cio/device_fsm.c, 2 times
- drivers/s390/cio/eadm_sch.c, line 126
- drivers/s390/cio/vfio_ccw_fsm.c, line 360
- drivers/scsi/fcoe/fcoe.c, line 1456
- drivers/scsi/lpfc/lpfc_sli.c, line 15589
- drivers/scsi/qedi/qedi_main.c, 2 times
- drivers/soc/fsl/qbman/qman_test_stash.c, 2 times
- drivers/spi/spi.c, line 324
- fs/aio.c, 2 times
- fs/bcachefs/btree_gc.c, line 1414
- fs/bcachefs/btree_key_cache.c, 4 times
- fs/bcachefs/buckets.c, 2 times
- fs/bcachefs/buckets.h, line 313
- fs/bcachefs/replicas.c, line 309
- fs/bcachefs/util.c, 2 times
- fs/buffer.c, 2 times
- fs/gfs2/glock.c, line 1199
- fs/gfs2/incore.h, line 862
- fs/gfs2/lock_dlm.c, 2 times
- fs/gfs2/rgrp.c, line 1943
- fs/locks.c, line 605
- fs/squashfs/decompressor_multi_percpu.c, line 86
- fs/xfs/xfs_icache.c, line 2077
- fs/xfs/xfs_log_cil.c, line 587
- include/linux/context_tracking.h, 2 times
- include/linux/context_tracking_state.h, 2 times
- include/linux/cookie.h, line 32
- include/linux/cpumask.h, line 935
- include/linux/filter.h, 5 times
- include/linux/kernel_stat.h, 2 times
- include/linux/kprobes.h, line 404
- include/linux/local_lock_internal.h, 8 times
- include/linux/netdevice.h, 3 times
- include/linux/netfilter/x_tables.h, line 436
- include/linux/percpu-defs.h, 2 times
- include/linux/perf_event.h, line 1441
- include/linux/relay.h, line 197
- include/linux/spi/spi.h, 2 times
- include/net/act_api.h, 3 times
- include/net/sch_generic.h, 2 times
- include/rv/da_monitor.h, line 272
- include/trace/perf.h, line 33
- include/uapi/linux/bpf.h, line 5830
- kernel/bpf/arraymap.c, 3 times
- kernel/bpf/cgroup.c, line 1573
- kernel/bpf/cpumap.c, 4 times
- kernel/bpf/devmap.c, 4 times
- kernel/bpf/hashtab.c, 5 times
- kernel/bpf/helpers.c, 2 times
- kernel/bpf/memalloc.c, 7 times
- kernel/bpf/mmap_unlock_work.h, line 31
- kernel/bpf/percpu_freelist.c, line 86
- kernel/bpf/syscall.c, line 2188
- kernel/bpf/trampoline.c, line 877
- kernel/context_tracking.c, 6 times
- kernel/cpu.c, 8 times
- kernel/events/callchain.c, 3 times
- kernel/events/core.c, 44 times
- kernel/irq/internals.h, line 371
- kernel/irq/ipi-mux.c, 4 times
- kernel/irq/matrix.c, 6 times
- kernel/irq/timings.c, 5 times
- kernel/irq_work.c, 11 times
- kernel/kcov.c, 3 times
- kernel/livepatch/transition.c, line 265
- kernel/locking/lockdep.c, line 339
- kernel/locking/osq_lock.c, 2 times
- kernel/locking/qspinlock.c, line 401
- kernel/locking/qspinlock_stat.h, line 122
- kernel/printk/printk.c, 3 times
- kernel/rcu/rcuscale.c, 3 times
- kernel/rcu/rcutorture.c, line 2057
- kernel/rcu/refscale.c, 6 times
- kernel/rcu/srcutree.c, line 781
- kernel/rcu/tasks.h, line 1463
- kernel/rcu/tree.c, 23 times
- kernel/rcu/tree_exp.h, 4 times
- kernel/rcu/tree_nocb.h, line 1075
- kernel/rcu/tree_plugin.h, 9 times
- kernel/rcu/tree_stall.h, 2 times
- kernel/scftorture.c, line 261
- kernel/sched/clock.c, line 98
- kernel/sched/core.c, line 9475
- kernel/sched/cpufreq.c, line 73
- kernel/sched/cputime.c, 2 times
- kernel/sched/fair.c, line 7904
- kernel/sched/sched.h, 4 times
- kernel/smp.c, 5 times
- kernel/softirq.c, 3 times
- kernel/time/hrtimer.c, 14 times
- kernel/time/tick-broadcast.c, 6 times
- kernel/time/tick-common.c, 4 times
- kernel/time/tick-oneshot.c, line 75
- kernel/time/tick-sched.c, 18 times
- kernel/time/timer.c, 7 times
- kernel/trace/blktrace.c, line 169
- kernel/trace/bpf_trace.c, 5 times
- kernel/trace/ftrace.c, 2 times
- kernel/trace/ring_buffer.c, 2 times
- kernel/trace/trace.c, 2 times
- kernel/trace/trace_branch.c, line 58
- kernel/trace/trace_event_perf.c, 3 times
- kernel/trace/trace_events.c, line 489
- kernel/trace/trace_events_filter.c, 2 times
- kernel/trace/trace_events_user.c, line 1592
- kernel/trace/trace_fprobe.c, 2 times
- kernel/trace/trace_hwlat.c, line 123
- kernel/trace/trace_kprobe.c, 2 times
- kernel/trace/trace_osnoise.c, 4 times
- kernel/trace/trace_syscalls.c, 2 times
- kernel/trace/trace_uprobe.c, line 1365
- kernel/user-return-notifier.c, 2 times
- kernel/watchdog.c, 10 times
- lib/debugobjects.c, 2 times
- lib/irq_poll.c, 3 times
- lib/locking-selftest.c, 2 times
- lib/radix-tree.c, 3 times
- mm/kasan/quarantine.c, 5 times
- mm/memcontrol.c, 6 times
- mm/mlock.c, 4 times
- mm/mmap_lock.c, 2 times
- mm/page-writeback.c, 2 times
- mm/page_alloc.c, 2 times
- mm/slab.c, line 394
- mm/slub.c, 6 times
- mm/swap.c, 7 times
- mm/swapfile.c, 2 times
- mm/vmstat.c, 4 times
- mm/z3fold.c, 2 times
- mm/zsmalloc.c, 2 times
- net/8021q/vlan_core.c, line 63
- net/8021q/vlan_dev.c, line 130
- net/bpf/test_run.c, line 284
- net/bridge/br_multicast.c, 2 times
- net/bridge/br_netfilter_hooks.c, 3 times
- net/bridge/br_vlan.c, 2 times
- net/can/raw.c, 6 times
- net/core/dev.c, 9 times
- net/core/drop_monitor.c, 4 times
- net/core/dst_cache.c, 6 times
- net/core/filter.c, 17 times
- net/core/gro_cells.c, line 27
- net/core/skbuff.c, 8 times
- net/devlink/trap.c, line 1459
- net/ipv4/ip_input.c, line 378
- net/ipv4/tcp_output.c, line 1217
- net/ipv4/tcp_sigpool.c, line 280
- net/ipv6/route.c, 2 times
- net/ipv6/seg6_hmac.c, 3 times
- net/ipv6/seg6_local.c, 3 times
- net/mac80211/rx.c, 2 times
- net/mptcp/protocol.h, line 595
- net/netfilter/ipvs/ip_vs_core.c, 9 times
- net/netfilter/nf_tables_api.c, line 2001
- net/netfilter/nf_tables_core.c, line 193
- net/netfilter/nft_counter.c, 7 times
- net/netfilter/nft_inner.c, line 251
- net/openvswitch/actions.c, 5 times
- net/openvswitch/datapath.c, 3 times
- net/openvswitch/flow_table.c, 2 times
- net/sched/act_api.c, 3 times
- net/sched/act_bpf.c, 2 times
- net/sched/act_ife.c, 9 times
- net/sched/act_mpls.c, 2 times
- net/sched/act_police.c, 3 times
- net/sched/act_sample.c, line 174
- net/sched/act_skbedit.c, 2 times
- net/sched/act_skbmod.c, 2 times
- net/sched/sch_frag.c, 2 times
- net/xdp/xsk.c, 3 times
- net/xfrm/xfrm_device.c, 2 times
- net/xfrm/xfrm_input.c, line 765
- net/xfrm/xfrm_interface_bpf.c, line 80
- net/xfrm/xfrm_ipcomp.c, 4 times
- tools/include/uapi/linux/bpf.h, line 5830
- tools/testing/selftests/bpf/bpf_testmod/bpf_testmod.c, line 108