Lines Matching refs:dirent
563 struct dirent *dent; in perf_event__walk_cgroup_tree()
708 static int filter_task(const struct dirent *dirent) in filter_task() argument
710 return isdigit(dirent->d_name[0]); in filter_task()
722 struct dirent **dirent; in __event__synthesize_thread() local
757 n = scandir(filename, &dirent, filter_task, alphasort); in __event__synthesize_thread()
766 _pid = strtol(dirent[i]->d_name, &end, 10); in __event__synthesize_thread()
800 zfree(&dirent[i]); in __event__synthesize_thread()
801 free(dirent); in __event__synthesize_thread()
888 struct dirent **dirent, in __perf_event__synthesize_threads() argument
918 if (!isdigit(dirent[i]->d_name[0])) in __perf_event__synthesize_threads()
921 pid = (pid_t)strtol(dirent[i]->d_name, &end, 10); in __perf_event__synthesize_threads()
952 struct dirent **dirent; member
964 args->dirent, in synthesize_threads_worker()
978 struct dirent **dirent; in perf_event__synthesize_threads() local
990 n = scandir(proc_path, &dirent, filter_task, alphasort); in perf_event__synthesize_threads()
1003 dirent, base, n); in perf_event__synthesize_threads()
1025 args[i].dirent = dirent; in perf_event__synthesize_threads()
1052 zfree(&dirent[i]); in perf_event__synthesize_threads()
1053 free(dirent); in perf_event__synthesize_threads()