Lines Matching refs:fake_cpuc
2351 struct cpu_hw_events *fake_cpuc; in validate_event() local
2355 fake_cpuc = allocate_fake_cpuc(event->pmu); in validate_event()
2356 if (IS_ERR(fake_cpuc)) in validate_event()
2357 return PTR_ERR(fake_cpuc); in validate_event()
2359 c = x86_pmu.get_event_constraints(fake_cpuc, 0, event); in validate_event()
2365 x86_pmu.put_event_constraints(fake_cpuc, event); in validate_event()
2367 free_fake_cpuc(fake_cpuc); in validate_event()
2386 struct cpu_hw_events *fake_cpuc; in validate_group() local
2409 fake_cpuc = allocate_fake_cpuc(event->pmu); in validate_group()
2410 if (IS_ERR(fake_cpuc)) in validate_group()
2411 return PTR_ERR(fake_cpuc); in validate_group()
2418 n = collect_events(fake_cpuc, leader, true); in validate_group()
2422 fake_cpuc->n_events = n; in validate_group()
2423 n = collect_events(fake_cpuc, event, false); in validate_group()
2427 fake_cpuc->n_events = 0; in validate_group()
2428 ret = x86_pmu.schedule_events(fake_cpuc, n, NULL); in validate_group()
2431 free_fake_cpuc(fake_cpuc); in validate_group()