Lines Matching refs:PATH_MAX
62 char path[PATH_MAX]; in perf_pmu__format_parse()
69 snprintf(path, PATH_MAX, "%s/%s", dir, name); in perf_pmu__format_parse()
92 char path[PATH_MAX]; in pmu_format()
98 snprintf(path, PATH_MAX, in pmu_format()
153 char path[PATH_MAX]; in perf_pmu__parse_scale()
155 scnprintf(path, PATH_MAX, "%s/%s.scale", dir, name); in perf_pmu__parse_scale()
181 char path[PATH_MAX]; in perf_pmu__parse_unit()
185 scnprintf(path, PATH_MAX, "%s/%s.unit", dir, name); in perf_pmu__parse_unit()
212 char path[PATH_MAX]; in perf_pmu__parse_per_pkg()
215 scnprintf(path, PATH_MAX, "%s/%s.per-pkg", dir, name); in perf_pmu__parse_per_pkg()
230 char path[PATH_MAX]; in perf_pmu__parse_snapshot()
233 scnprintf(path, PATH_MAX, "%s/%s.snapshot", dir, name); in perf_pmu__parse_snapshot()
462 char path[PATH_MAX]; in pmu_aliases_parse()
475 scnprintf(path, PATH_MAX, "%s/%s", dir, name); in pmu_aliases_parse()
498 char path[PATH_MAX]; in pmu_aliases()
504 snprintf(path, PATH_MAX, in pmu_aliases()
547 char path[PATH_MAX]; in pmu_type()
555 snprintf(path, PATH_MAX, in pmu_type()
575 char path[PATH_MAX]; in pmu_read_sysfs()
583 snprintf(path, PATH_MAX, in pmu_read_sysfs()
623 char path[PATH_MAX]; in pmu_cpumask()
637 snprintf(path, PATH_MAX, *template, sysfs, name); in pmu_cpumask()
648 char path[PATH_MAX]; in pmu_is_uncore()
655 snprintf(path, PATH_MAX, CPUS_TEMPLATE_UNCORE, sysfs, name); in pmu_is_uncore()
661 char path[PATH_MAX], *str; in pmu_id()
664 snprintf(path, PATH_MAX, SYS_TEMPLATE_ID, name); in pmu_id()
681 char path[PATH_MAX]; in is_arm_pmu_core()
688 scnprintf(path, PATH_MAX, "%s/bus/event_source/devices/%s/cpus", in is_arm_pmu_core()
962 char path[PATH_MAX]; in pmu_max_precise()
965 scnprintf(path, PATH_MAX, in pmu_max_precise()
1826 char path[PATH_MAX]; in perf_pmu__open_file()
1833 snprintf(path, PATH_MAX, in perf_pmu__open_file()
1889 char caps_path[PATH_MAX]; in perf_pmu__caps_parse()
1898 snprintf(caps_path, PATH_MAX, in perf_pmu__caps_parse()
1909 char path[PATH_MAX + NAME_MAX + 1]; in perf_pmu__caps_parse()