Lines Matching refs:ctr
123 if (sysctl.ctr[i].enabled) in pmc_start_all()
124 data->ctr_count[i] = sysctl.ctr[i].count; in pmc_start_all()
150 if (!sysctl.ctr[i].enabled) in pmc_check_params()
155 if (!sysctl.ctr[i].user && !sysctl.ctr[i].kernel) { in pmc_check_params()
161 if (check_range(sysctl.ctr[i].count, 1, OP_MAX_PERF_COUNT, in pmc_check_params()
328 …tab[0] = ((ctl_table) { 1, "enabled", &sysctl_parms.ctr[i].enabled, sizeof(int), 0644, NULL, lproc… in pmc_add_sysctls()
329 …tab[1] = ((ctl_table) { 1, "event", &sysctl_parms.ctr[i].event, sizeof(int), 0644, NULL, lproc_doi… in pmc_add_sysctls()
330 …tab[2] = ((ctl_table) { 1, "count", &sysctl_parms.ctr[i].count, sizeof(int), 0644, NULL, lproc_doi… in pmc_add_sysctls()
331 …tab[3] = ((ctl_table) { 1, "unit_mask", &sysctl_parms.ctr[i].unit_mask, sizeof(int), 0644, NULL, l… in pmc_add_sysctls()
332 …tab[4] = ((ctl_table) { 1, "kernel", &sysctl_parms.ctr[i].kernel, sizeof(int), 0644, NULL, lproc_d… in pmc_add_sysctls()
333 …tab[5] = ((ctl_table) { 1, "user", &sysctl_parms.ctr[i].user, sizeof(int), 0644, NULL, lproc_doint… in pmc_add_sysctls()