Lines Matching refs:fake_cpuc
2374 struct cpu_hw_events *fake_cpuc; in validate_event() local
2378 fake_cpuc = allocate_fake_cpuc(event->pmu); in validate_event()
2379 if (IS_ERR(fake_cpuc)) in validate_event()
2380 return PTR_ERR(fake_cpuc); in validate_event()
2382 c = x86_pmu.get_event_constraints(fake_cpuc, 0, event); in validate_event()
2388 x86_pmu.put_event_constraints(fake_cpuc, event); in validate_event()
2390 free_fake_cpuc(fake_cpuc); in validate_event()
2409 struct cpu_hw_events *fake_cpuc; in validate_group() local
2432 fake_cpuc = allocate_fake_cpuc(event->pmu); in validate_group()
2433 if (IS_ERR(fake_cpuc)) in validate_group()
2434 return PTR_ERR(fake_cpuc); in validate_group()
2441 n = collect_events(fake_cpuc, leader, true); in validate_group()
2445 fake_cpuc->n_events = n; in validate_group()
2446 n = collect_events(fake_cpuc, event, false); in validate_group()
2450 fake_cpuc->n_events = 0; in validate_group()
2451 ret = x86_pmu.schedule_events(fake_cpuc, n, NULL); in validate_group()
2454 free_fake_cpuc(fake_cpuc); in validate_group()