| /kernel/linux/linux-6.6/tools/testing/selftests/powerpc/pmu/sampling_tests/ |
| D | misc.h | 61 static inline int get_mmcr0_fc56(u64 mmcr0, int pmc) in get_mmcr0_fc56() 66 static inline int get_mmcr0_pmccext(u64 mmcr0, int pmc) in get_mmcr0_pmccext() 71 static inline int get_mmcr0_pmao(u64 mmcr0, int pmc) in get_mmcr0_pmao() 76 static inline int get_mmcr0_cc56run(u64 mmcr0, int pmc) in get_mmcr0_cc56run() 81 static inline int get_mmcr0_pmcjce(u64 mmcr0, int pmc) in get_mmcr0_pmcjce() 86 static inline int get_mmcr0_pmc1ce(u64 mmcr0, int pmc) in get_mmcr0_pmc1ce() 91 static inline int get_mmcr0_pmae(u64 mmcr0, int pmc) in get_mmcr0_pmae() 96 static inline int get_mmcr1_pmcxsel(u64 mmcr1, int pmc) in get_mmcr1_pmcxsel() 101 static inline int get_mmcr1_unit(u64 mmcr1, int pmc) in get_mmcr1_unit() 106 static inline int get_mmcr1_comb(u64 mmcr1, int pmc) in get_mmcr1_comb() [all …]
|
| /kernel/linux/linux-6.6/drivers/platform/x86/intel/pmc/ |
| D | core.c | 56 static inline u32 pmc_core_reg_read(struct pmc *pmc, int reg_offset) in pmc_core_reg_read() 61 static inline void pmc_core_reg_write(struct pmc *pmc, int reg_offset, in pmc_core_reg_write() 67 static inline u64 pmc_core_adjust_slp_s0_step(struct pmc *pmc, u32 value) in pmc_core_adjust_slp_s0_step() 85 struct pmc *pmc = pmcdev->pmcs[PMC_IDX_MAIN]; in set_etr3() local 124 struct pmc *pmc = pmcdev->pmcs[PMC_IDX_MAIN]; in etr3_is_visible() local 139 struct pmc *pmc = pmcdev->pmcs[PMC_IDX_MAIN]; in etr3_show() local 197 struct pmc *pmc = data; in pmc_core_dev_state_get() local 209 static int pmc_core_check_read_lock_bit(struct pmc *pmc) in pmc_core_check_read_lock_bit() 217 static void pmc_core_slps0_display(struct pmc *pmc, struct device *dev, in pmc_core_slps0_display() 254 static void pmc_core_lpm_display(struct pmc *pmc, struct device *dev, in pmc_core_lpm_display() [all …]
|
| /kernel/linux/linux-6.6/arch/x86/kvm/ |
| D | pmu.c | 96 static inline void __kvm_perf_overflow(struct kvm_pmc *pmc, bool in_pmi) in __kvm_perf_overflow() 127 struct kvm_pmc *pmc = perf_event->overflow_handler_context; in kvm_perf_overflow() local 142 static u64 pmc_get_pebs_precise_level(struct kvm_pmc *pmc) in pmc_get_pebs_precise_level() 164 static int pmc_reprogram_counter(struct kvm_pmc *pmc, u32 type, u64 config, in pmc_reprogram_counter() 218 static void pmc_pause_counter(struct kvm_pmc *pmc) in pmc_pause_counter() 231 static bool pmc_resume_counter(struct kvm_pmc *pmc) in pmc_resume_counter() 253 static void pmc_release_perf_event(struct kvm_pmc *pmc) in pmc_release_perf_event() 263 static void pmc_stop_counter(struct kvm_pmc *pmc) in pmc_stop_counter() 377 static bool check_pmu_event_filter(struct kvm_pmc *pmc) in check_pmu_event_filter() 392 static bool pmc_event_is_allowed(struct kvm_pmc *pmc) in pmc_event_is_allowed() [all …]
|
| D | pmu.h | 9 #define pmc_to_pmu(pmc) (&(pmc)->vcpu->arch.pmu) argument 58 static inline u64 pmc_bitmask(struct kvm_pmc *pmc) in pmc_bitmask() 65 static inline u64 pmc_read_counter(struct kvm_pmc *pmc) in pmc_read_counter() 77 static inline void pmc_write_counter(struct kvm_pmc *pmc, u64 val) in pmc_write_counter() 83 static inline bool pmc_is_gp(struct kvm_pmc *pmc) in pmc_is_gp() 88 static inline bool pmc_is_fixed(struct kvm_pmc *pmc) in pmc_is_fixed() 131 static inline u64 get_sample_period(struct kvm_pmc *pmc, u64 counter_value) in get_sample_period() 140 static inline void pmc_update_sample_period(struct kvm_pmc *pmc) in pmc_update_sample_period() 150 static inline bool pmc_speculative_in_use(struct kvm_pmc *pmc) in pmc_speculative_in_use() 205 static inline void kvm_pmu_request_counter_reprogram(struct kvm_pmc *pmc) in kvm_pmu_request_counter_reprogram() [all …]
|
| /kernel/linux/linux-5.10/arch/x86/kvm/ |
| D | pmu.c | 64 struct kvm_pmc *pmc = perf_event->overflow_handler_context; in kvm_perf_overflow() local 77 struct kvm_pmc *pmc = perf_event->overflow_handler_context; in kvm_perf_overflow_intr() local 99 static void pmc_reprogram_counter(struct kvm_pmc *pmc, u32 type, in pmc_reprogram_counter() 144 static void pmc_pause_counter(struct kvm_pmc *pmc) in pmc_pause_counter() 156 static bool pmc_resume_counter(struct kvm_pmc *pmc) in pmc_resume_counter() 181 void reprogram_gp_counter(struct kvm_pmc *pmc, u64 eventsel) in reprogram_gp_counter() 241 void reprogram_fixed_counter(struct kvm_pmc *pmc, u8 ctrl, int idx) in reprogram_fixed_counter() 279 struct kvm_pmc *pmc = kvm_x86_ops.pmu_ops->pmc_idx_to_pmc(pmu, pmc_idx); in reprogram_counter() local 301 struct kvm_pmc *pmc = kvm_x86_ops.pmu_ops->pmc_idx_to_pmc(pmu, bit); in kvm_pmu_handle_event() local 364 struct kvm_pmc *pmc; in kvm_pmu_rdpmc() local [all …]
|
| D | pmu.h | 9 #define pmc_to_pmu(pmc) (&(pmc)->vcpu->arch.pmu) argument 43 static inline u64 pmc_bitmask(struct kvm_pmc *pmc) in pmc_bitmask() 50 static inline u64 pmc_read_counter(struct kvm_pmc *pmc) in pmc_read_counter() 62 static inline void pmc_release_perf_event(struct kvm_pmc *pmc) in pmc_release_perf_event() 72 static inline void pmc_stop_counter(struct kvm_pmc *pmc) in pmc_stop_counter() 80 static inline bool pmc_is_gp(struct kvm_pmc *pmc) in pmc_is_gp() 85 static inline bool pmc_is_fixed(struct kvm_pmc *pmc) in pmc_is_fixed() 90 static inline bool pmc_is_enabled(struct kvm_pmc *pmc) in pmc_is_enabled() 133 static inline u64 get_sample_period(struct kvm_pmc *pmc, u64 counter_value) in get_sample_period()
|
| /kernel/linux/linux-6.6/drivers/soc/tegra/ |
| D | pmc.c | 269 struct tegra_pmc *pmc; member 472 static struct tegra_pmc *pmc = &(struct tegra_pmc) { variable 483 static u32 tegra_pmc_readl(struct tegra_pmc *pmc, unsigned long offset) in tegra_pmc_readl() 505 static void tegra_pmc_writel(struct tegra_pmc *pmc, u32 value, in tegra_pmc_writel() 526 static u32 tegra_pmc_scratch_readl(struct tegra_pmc *pmc, unsigned long offset) in tegra_pmc_scratch_readl() 534 static void tegra_pmc_scratch_writel(struct tegra_pmc *pmc, u32 value, in tegra_pmc_scratch_writel() 556 static inline bool tegra_powergate_is_valid(struct tegra_pmc *pmc, int id) in tegra_powergate_is_valid() 561 static inline bool tegra_powergate_is_available(struct tegra_pmc *pmc, int id) in tegra_powergate_is_available() 566 static int tegra_powergate_lookup(struct tegra_pmc *pmc, const char *name) in tegra_powergate_lookup() 584 static int tegra20_powergate_set(struct tegra_pmc *pmc, unsigned int id, in tegra20_powergate_set() [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/kvm/ |
| D | pmu-emul.c | 29 static struct kvm_vcpu *kvm_pmc_to_vcpu(const struct kvm_pmc *pmc) in kvm_pmc_to_vcpu() 67 static bool kvm_pmc_is_64bit(struct kvm_pmc *pmc) in kvm_pmc_is_64bit() 73 static bool kvm_pmc_has_64bit_overflow(struct kvm_pmc *pmc) in kvm_pmc_has_64bit_overflow() 81 static bool kvm_pmu_counter_can_chain(struct kvm_pmc *pmc) in kvm_pmu_counter_can_chain() 97 static u64 kvm_pmu_get_pmc_value(struct kvm_pmc *pmc) in kvm_pmu_get_pmc_value() 132 static void kvm_pmu_set_pmc_value(struct kvm_pmc *pmc, u64 val, bool force) in kvm_pmu_set_pmc_value() 177 static void kvm_pmu_release_perf_event(struct kvm_pmc *pmc) in kvm_pmu_release_perf_event() 192 static void kvm_pmu_stop_counter(struct kvm_pmc *pmc) in kvm_pmu_stop_counter() 279 struct kvm_pmc *pmc; in kvm_pmu_enable_counter_mask() local 311 struct kvm_pmc *pmc; in kvm_pmu_disable_counter_mask() local [all …]
|
| /kernel/linux/linux-5.10/drivers/platform/x86/ |
| D | pmc_atom.c | 203 static inline u32 pmc_reg_read(struct pmc_dev *pmc, int reg_offset) in pmc_reg_read() 208 static inline void pmc_reg_write(struct pmc_dev *pmc, int reg_offset, u32 val) in pmc_reg_write() 215 struct pmc_dev *pmc = &pmc_device; in pmc_atom_read() local 227 struct pmc_dev *pmc = &pmc_device; in pmc_atom_write() local 254 static void pmc_hw_reg_setup(struct pmc_dev *pmc) in pmc_hw_reg_setup() 285 struct pmc_dev *pmc = s->private; in pmc_dev_state_show() local 308 struct pmc_dev *pmc = s->private; in pmc_pss_state_show() local 325 struct pmc_dev *pmc = s->private; in pmc_sleep_tmr_show() local 344 static void pmc_dbgfs_register(struct pmc_dev *pmc) in pmc_dbgfs_register() 360 static void pmc_dbgfs_register(struct pmc_dev *pmc) in pmc_dbgfs_register() [all …]
|
| /kernel/linux/linux-5.10/drivers/soc/tegra/ |
| D | pmc.c | 236 struct tegra_pmc *pmc; member 410 static struct tegra_pmc *pmc = &(struct tegra_pmc) { variable 421 static u32 tegra_pmc_readl(struct tegra_pmc *pmc, unsigned long offset) in tegra_pmc_readl() 443 static void tegra_pmc_writel(struct tegra_pmc *pmc, u32 value, in tegra_pmc_writel() 464 static u32 tegra_pmc_scratch_readl(struct tegra_pmc *pmc, unsigned long offset) in tegra_pmc_scratch_readl() 472 static void tegra_pmc_scratch_writel(struct tegra_pmc *pmc, u32 value, in tegra_pmc_scratch_writel() 494 static inline bool tegra_powergate_is_valid(struct tegra_pmc *pmc, int id) in tegra_powergate_is_valid() 499 static inline bool tegra_powergate_is_available(struct tegra_pmc *pmc, int id) in tegra_powergate_is_available() 504 static int tegra_powergate_lookup(struct tegra_pmc *pmc, const char *name) in tegra_powergate_lookup() 522 static int tegra20_powergate_set(struct tegra_pmc *pmc, unsigned int id, in tegra20_powergate_set() [all …]
|
| /kernel/linux/linux-6.6/drivers/mfd/ |
| D | intel_pmc_bxt.c | 83 int intel_pmc_gcr_read64(struct intel_pmc_dev *pmc, u32 offset, u64 *data) in intel_pmc_gcr_read64() 108 int intel_pmc_gcr_update(struct intel_pmc_dev *pmc, u32 offset, u32 mask, u32 val) in intel_pmc_gcr_update() 139 int intel_pmc_s0ix_counter_read(struct intel_pmc_dev *pmc, u64 *data) in intel_pmc_s0ix_counter_read() 169 struct intel_pmc_dev *pmc = dev_get_drvdata(dev); in simplecmd_store() local 205 struct intel_pmc_dev *pmc = dev_get_drvdata(dev); in northpeak_store() local 304 struct intel_pmc_dev *pmc, in intel_pmc_get_resources() 393 static int intel_pmc_create_devices(struct intel_pmc_dev *pmc) in intel_pmc_create_devices() 426 struct intel_pmc_dev *pmc; in intel_pmc_probe() local
|
| /kernel/linux/linux-5.10/drivers/mfd/ |
| D | intel_pmc_bxt.c | 83 int intel_pmc_gcr_read64(struct intel_pmc_dev *pmc, u32 offset, u64 *data) in intel_pmc_gcr_read64() 108 int intel_pmc_gcr_update(struct intel_pmc_dev *pmc, u32 offset, u32 mask, u32 val) in intel_pmc_gcr_update() 139 int intel_pmc_s0ix_counter_read(struct intel_pmc_dev *pmc, u64 *data) in intel_pmc_s0ix_counter_read() 169 struct intel_pmc_dev *pmc = dev_get_drvdata(dev); in simplecmd_store() local 205 struct intel_pmc_dev *pmc = dev_get_drvdata(dev); in northpeak_store() local 304 struct intel_pmc_dev *pmc, in intel_pmc_get_resources() 393 static int intel_pmc_create_devices(struct intel_pmc_dev *pmc) in intel_pmc_create_devices() 426 struct intel_pmc_dev *pmc; in intel_pmc_probe() local
|
| /kernel/linux/linux-6.6/drivers/platform/x86/ |
| D | pmc_atom.c | 204 static inline u32 pmc_reg_read(struct pmc_dev *pmc, int reg_offset) in pmc_reg_read() 209 static inline void pmc_reg_write(struct pmc_dev *pmc, int reg_offset, u32 val) in pmc_reg_write() 216 struct pmc_dev *pmc = &pmc_device; in pmc_atom_read() local 242 static void pmc_hw_reg_setup(struct pmc_dev *pmc) in pmc_hw_reg_setup() 273 struct pmc_dev *pmc = s->private; in pmc_dev_state_show() local 296 struct pmc_dev *pmc = s->private; in pmc_pss_state_show() local 313 struct pmc_dev *pmc = s->private; in pmc_sleep_tmr_show() local 332 static void pmc_dbgfs_register(struct pmc_dev *pmc) in pmc_dbgfs_register() 348 static void pmc_dbgfs_register(struct pmc_dev *pmc) in pmc_dbgfs_register() 453 struct pmc_dev *pmc = &pmc_device; in pmc_setup_dev() local
|
| /kernel/linux/linux-6.6/drivers/net/wireless/ath/wil6210/ |
| D | pmc.c | 21 static int wil_is_pmc_allocated(struct pmc_ctx *pmc) in wil_is_pmc_allocated() 44 struct pmc_ctx *pmc = &wil->pmc; in wil_pmc_alloc() local 228 struct pmc_ctx *pmc = &wil->pmc; in wil_pmc_free() local 318 struct pmc_ctx *pmc = &wil->pmc; in wil_pmc_read() local 374 struct pmc_ctx *pmc = &wil->pmc; in wil_pmc_llseek() local 424 struct pmc_ctx *pmc = &wil->pmc; in wil_pmcring_read() local
|
| /kernel/linux/linux-5.10/drivers/net/wireless/ath/wil6210/ |
| D | pmc.c | 21 static int wil_is_pmc_allocated(struct pmc_ctx *pmc) in wil_is_pmc_allocated() 44 struct pmc_ctx *pmc = &wil->pmc; in wil_pmc_alloc() local 228 struct pmc_ctx *pmc = &wil->pmc; in wil_pmc_free() local 318 struct pmc_ctx *pmc = &wil->pmc; in wil_pmc_read() local 374 struct pmc_ctx *pmc = &wil->pmc; in wil_pmc_llseek() local 424 struct pmc_ctx *pmc = &wil->pmc; in wil_pmcring_read() local
|
| /kernel/linux/linux-5.10/arch/arm64/kvm/ |
| D | pmu-emul.c | 49 static struct kvm_vcpu *kvm_pmc_to_vcpu(struct kvm_pmc *pmc) in kvm_pmc_to_vcpu() 64 static bool kvm_pmu_pmc_is_chained(struct kvm_pmc *pmc) in kvm_pmu_pmc_is_chained() 87 static struct kvm_pmc *kvm_pmu_get_canonical_pmc(struct kvm_pmc *pmc) in kvm_pmu_get_canonical_pmc() 95 static struct kvm_pmc *kvm_pmu_get_alternate_pmc(struct kvm_pmc *pmc) in kvm_pmu_get_alternate_pmc() 129 struct kvm_pmc *pmc) in kvm_pmu_get_pair_counter_value() 167 struct kvm_pmc *pmc = &pmu->pmc[select_idx]; in kvm_pmu_get_counter_value() local 202 static void kvm_pmu_release_perf_event(struct kvm_pmc *pmc) in kvm_pmu_release_perf_event() 218 static void kvm_pmu_stop_counter(struct kvm_vcpu *vcpu, struct kvm_pmc *pmc) in kvm_pmu_stop_counter() 312 struct kvm_pmc *pmc; in kvm_pmu_enable_counter_mask() local 347 struct kvm_pmc *pmc; in kvm_pmu_disable_counter_mask() local [all …]
|
| /kernel/linux/linux-6.6/arch/powerpc/perf/ |
| D | isa207-common.h | 200 #define CNST_PMC_SHIFT(pmc) ((pmc - 1) * 2) argument 201 #define CNST_PMC_VAL(pmc) (1 << CNST_PMC_SHIFT(pmc)) argument 202 #define CNST_PMC_MASK(pmc) (2 << CNST_PMC_SHIFT(pmc)) argument 210 #define MMCR1_UNIT_SHIFT(pmc) (60 - (4 * ((pmc) - 1))) argument 211 #define MMCR1_COMBINE_SHIFT(pmc) (35 - ((pmc) - 1)) argument 212 #define MMCR1_PMCSEL_SHIFT(pmc) (24 - (((pmc) - 1)) * 8) argument 218 #define p9_MMCR1_COMBINE_SHIFT(pmc) (38 - ((pmc - 1) * 2)) argument 250 #define MMCR2_FCS(pmc) (1ull << (63 - (((pmc) - 1) * 9))) argument 251 #define MMCR2_FCP(pmc) (1ull << (62 - (((pmc) - 1) * 9))) argument 252 #define MMCR2_FCWAIT(pmc) (1ull << (58 - (((pmc) - 1) * 9))) argument [all …]
|
| /kernel/linux/linux-5.10/arch/powerpc/perf/ |
| D | isa207-common.h | 193 #define CNST_PMC_SHIFT(pmc) ((pmc - 1) * 2) argument 194 #define CNST_PMC_VAL(pmc) (1 << CNST_PMC_SHIFT(pmc)) argument 195 #define CNST_PMC_MASK(pmc) (2 << CNST_PMC_SHIFT(pmc)) argument 203 #define MMCR1_UNIT_SHIFT(pmc) (60 - (4 * ((pmc) - 1))) argument 204 #define MMCR1_COMBINE_SHIFT(pmc) (35 - ((pmc) - 1)) argument 205 #define MMCR1_PMCSEL_SHIFT(pmc) (24 - (((pmc) - 1)) * 8) argument 211 #define p9_MMCR1_COMBINE_SHIFT(pmc) (38 - ((pmc - 1) * 2)) argument 242 #define MMCR2_FCS(pmc) (1ull << (63 - (((pmc) - 1) * 9))) argument 243 #define MMCR2_FCP(pmc) (1ull << (62 - (((pmc) - 1) * 9))) argument 244 #define MMCR2_FCH(pmc) (1ull << (57 - (((pmc) - 1) * 9))) argument [all …]
|
| D | mpc7450-pmu.c | 39 int pmc; in mpc7450_classify_event() local 79 int pmc, sel; in mpc7450_threshold_use() local 153 int pmc, class; in mpc7450_get_constraint() local 268 u32 ev, pmc, thresh; in mpc7450_compute_mmcr() local 341 static void mpc7450_disable_pmc(unsigned int pmc, struct mmcr_regs *mmcr) in mpc7450_disable_pmc()
|
| D | power6-pmu.c | 139 int pmc, psel, ptype; in power6_marked_instr_event() local 181 unsigned int pmc, ev, b, u, s, psel; in p6_compute_mmcr() local 271 int pmc, byte, sh, subunit; in p6_get_constraint() local 304 int pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; in p6_limited_pmc_event() local 363 unsigned int psel, pmc; in p6_get_alternatives() local 462 static void p6_disable_pmc(unsigned int pmc, struct mmcr_regs *mmcr) in p6_disable_pmc()
|
| /kernel/linux/linux-5.10/arch/x86/kvm/vmx/ |
| D | pmu_intel.c | 45 struct kvm_pmc *pmc; in reprogram_fixed_counters() local 71 static unsigned int intel_pmc_perf_hw_id(struct kvm_pmc *pmc) in intel_pmc_perf_hw_id() 103 static bool intel_pmc_is_enabled(struct kvm_pmc *pmc) in intel_pmc_is_enabled() 205 struct kvm_pmc *pmc; in intel_msr_idx_to_pmc() local 217 struct kvm_pmc *pmc; in intel_pmu_get_msr() local 257 struct kvm_pmc *pmc; in intel_pmu_set_msr() local 428 struct kvm_pmc *pmc = NULL; in intel_pmu_reset() local
|
| /kernel/linux/linux-6.6/net/ipv4/ |
| D | igmp.c | 175 #define for_each_pmc_rcu(in_dev, pmc) \ argument 180 #define for_each_pmc_rtnl(in_dev, pmc) \ argument 272 static int is_in(struct ip_mc_list *pmc, struct ip_sf_list *psf, int type, in is_in() 317 igmp_scount(struct ip_mc_list *pmc, int type, int gdeleted, int sdeleted) in igmp_scount() 430 static int grec_size(struct ip_mc_list *pmc, int type, int gdel, int sdel) in grec_size() 435 static struct sk_buff *add_grhead(struct sk_buff *skb, struct ip_mc_list *pmc, in add_grhead() 460 static struct sk_buff *add_grec(struct sk_buff *skb, struct ip_mc_list *pmc, in add_grec() 588 static int igmpv3_send_report(struct in_device *in_dev, struct ip_mc_list *pmc) in igmpv3_send_report() 646 static void kfree_pmc(struct ip_mc_list *pmc) in kfree_pmc() 655 struct ip_mc_list *pmc, *pmc_prev, *pmc_next; in igmpv3_send_cr() local [all …]
|
| /kernel/linux/linux-5.10/net/ipv4/ |
| D | igmp.c | 175 #define for_each_pmc_rcu(in_dev, pmc) \ argument 180 #define for_each_pmc_rtnl(in_dev, pmc) \ argument 272 static int is_in(struct ip_mc_list *pmc, struct ip_sf_list *psf, int type, in is_in() 317 igmp_scount(struct ip_mc_list *pmc, int type, int gdeleted, int sdeleted) in igmp_scount() 430 static int grec_size(struct ip_mc_list *pmc, int type, int gdel, int sdel) in grec_size() 435 static struct sk_buff *add_grhead(struct sk_buff *skb, struct ip_mc_list *pmc, in add_grhead() 460 static struct sk_buff *add_grec(struct sk_buff *skb, struct ip_mc_list *pmc, in add_grec() 588 static int igmpv3_send_report(struct in_device *in_dev, struct ip_mc_list *pmc) in igmpv3_send_report() 646 static void kfree_pmc(struct ip_mc_list *pmc) in kfree_pmc() 655 struct ip_mc_list *pmc, *pmc_prev, *pmc_next; in igmpv3_send_cr() local [all …]
|
| /kernel/linux/linux-5.10/arch/x86/kvm/svm/ |
| D | pmu.c | 145 static unsigned int amd_pmc_perf_hw_id(struct kvm_pmc *pmc) in amd_pmc_perf_hw_id() 177 static bool amd_pmc_is_enabled(struct kvm_pmc *pmc) in amd_pmc_is_enabled() 232 struct kvm_pmc *pmc; in amd_msr_idx_to_pmc() local 243 struct kvm_pmc *pmc; in amd_pmu_get_msr() local 265 struct kvm_pmc *pmc; in amd_pmu_set_msr() local 328 struct kvm_pmc *pmc = &pmu->gp_counters[i]; in amd_pmu_reset() local
|
| /kernel/linux/linux-6.6/arch/riscv/kvm/ |
| D | vcpu_pmu.c | 36 static u64 kvm_pmu_get_sample_period(struct kvm_pmc *pmc) in kvm_pmu_get_sample_period() 77 static void kvm_pmu_release_perf_event(struct kvm_pmc *pmc) in kvm_pmu_release_perf_event() 203 struct kvm_pmc *pmc; in pmu_ctr_read() local 232 static int kvm_pmu_create_perf_event(struct kvm_pmc *pmc, struct perf_event_attr *attr, in kvm_pmu_create_perf_event() 344 struct kvm_pmc *pmc; in kvm_riscv_vcpu_pmu_ctr_start() local 401 struct kvm_pmc *pmc; in kvm_riscv_vcpu_pmu_ctr_stop() local 466 struct kvm_pmc *pmc = NULL; in kvm_riscv_vcpu_pmu_ctr_cfg_match() local 550 struct kvm_pmc *pmc; in kvm_riscv_vcpu_pmu_init() local 615 struct kvm_pmc *pmc; in kvm_riscv_vcpu_pmu_deinit() local
|