Lines Matching refs:sys_dirent
156 #define for_each_subsystem(sys_dir, sys_dirent) \ argument
157 while ((sys_dirent = readdir(sys_dir)) != NULL) \
158 if (sys_dirent->d_type == DT_DIR && \
159 (strcmp(sys_dirent->d_name, ".")) && \
160 (strcmp(sys_dirent->d_name, "..")))
190 struct dirent *sys_dirent, *evt_dirent; in tracepoint_id_to_path() local
201 for_each_subsystem(sys_dir, sys_dirent) { in tracepoint_id_to_path()
202 dir_path = get_events_file(sys_dirent->d_name); in tracepoint_id_to_path()
240 strncpy(path->system, sys_dirent->d_name, in tracepoint_id_to_path()
2196 struct dirent *sys_dirent, *evt_dirent; in print_tracepoint_events() local
2214 for_each_subsystem(sys_dir, sys_dirent) { in print_tracepoint_events()
2216 !strglobmatch(sys_dirent->d_name, subsys_glob)) in print_tracepoint_events()
2219 dir_path = get_events_file(sys_dirent->d_name); in print_tracepoint_events()
2237 sys_dirent->d_name, evt_dirent->d_name); in print_tracepoint_events()
2294 struct dirent *sys_dirent, *evt_dirent; in is_valid_tracepoint() local
2302 for_each_subsystem(sys_dir, sys_dirent) { in is_valid_tracepoint()
2303 dir_path = get_events_file(sys_dirent->d_name); in is_valid_tracepoint()
2312 sys_dirent->d_name, evt_dirent->d_name); in is_valid_tracepoint()