Searched refs:sys_dir (Results 1 – 1 of 1) sorted by relevance
135 #define for_each_subsystem(sys_dir, sys_dirent, sys_next) \ argument136 while (!readdir_r(sys_dir, &sys_dirent, &sys_next) && sys_next) \141 static int tp_event_has_id(struct dirent *sys_dir, struct dirent *evt_dir) in tp_event_has_id() argument147 sys_dir->d_name, evt_dir->d_name); in tp_event_has_id()169 DIR *sys_dir, *evt_dir; in tracepoint_id_to_path() local180 sys_dir = opendir(debugfs_path); in tracepoint_id_to_path()181 if (!sys_dir) in tracepoint_id_to_path()184 for_each_subsystem(sys_dir, sys_dirent, sys_next) { in tracepoint_id_to_path()207 closedir(sys_dir); in tracepoint_id_to_path()230 closedir(sys_dir); in tracepoint_id_to_path()[all …]