Searched refs:nr_pmu (Results 1 – 2 of 2) sorted by relevance
1602 int nr_pmu = 0; in write_pmu_caps() local1616 nr_pmu++; in write_pmu_caps()1619 ret = do_write(ff, &nr_pmu, sizeof(nr_pmu)); in write_pmu_caps()1623 if (!nr_pmu) in write_pmu_caps()3330 u32 nr_pmu, i; in process_pmu_caps() local3334 if (do_read_u32(ff, &nr_pmu)) in process_pmu_caps()3337 if (!nr_pmu) { in process_pmu_caps()3342 pmu_caps = zalloc(sizeof(*pmu_caps) * nr_pmu); in process_pmu_caps()3346 for (i = 0; i < nr_pmu; i++) { in process_pmu_caps()3364 ff->ph->env.nr_pmus_with_caps = nr_pmu; in process_pmu_caps()[all …]
429 u32 nr_pmu;437 } [nr_pmu];