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()
2185 struct dirent *sys_dirent, *evt_dirent; in print_tracepoint_events() local
2203 for_each_subsystem(sys_dir, sys_dirent) { in print_tracepoint_events()
2205 !strglobmatch(sys_dirent->d_name, subsys_glob)) in print_tracepoint_events()
2208 dir_path = get_events_file(sys_dirent->d_name); in print_tracepoint_events()
2226 sys_dirent->d_name, evt_dirent->d_name); in print_tracepoint_events()
2283 struct dirent *sys_dirent, *evt_dirent; in is_valid_tracepoint() local
2291 for_each_subsystem(sys_dir, sys_dirent) { in is_valid_tracepoint()
2292 dir_path = get_events_file(sys_dirent->d_name); in is_valid_tracepoint()
2301 sys_dirent->d_name, evt_dirent->d_name); in is_valid_tracepoint()