Lines Matching refs:arr
1380 struct perf_guest_switch_msr *arr = cpuc->guest_switch_msrs; in intel_guest_get_msrs() local
1382 arr[0].msr = MSR_CORE_PERF_GLOBAL_CTRL; in intel_guest_get_msrs()
1383 arr[0].host = x86_pmu.intel_ctrl & ~cpuc->intel_ctrl_guest_mask; in intel_guest_get_msrs()
1384 arr[0].guest = x86_pmu.intel_ctrl & ~cpuc->intel_ctrl_host_mask; in intel_guest_get_msrs()
1387 return arr; in intel_guest_get_msrs()
1393 struct perf_guest_switch_msr *arr = cpuc->guest_switch_msrs; in core_guest_get_msrs() local
1399 arr[idx].msr = x86_pmu_config_addr(idx); in core_guest_get_msrs()
1400 arr[idx].host = arr[idx].guest = 0; in core_guest_get_msrs()
1405 arr[idx].host = arr[idx].guest = in core_guest_get_msrs()
1409 arr[idx].host &= ~ARCH_PERFMON_EVENTSEL_ENABLE; in core_guest_get_msrs()
1411 arr[idx].guest &= ~ARCH_PERFMON_EVENTSEL_ENABLE; in core_guest_get_msrs()
1415 return arr; in core_guest_get_msrs()