Searched refs:sys_dir (Results 1 – 2 of 2) sorted by relevance
156 #define for_each_subsystem(sys_dir, sys_dirent) \ argument157 while ((sys_dirent = readdir(sys_dir)) != NULL) \189 DIR *sys_dir, *evt_dir; in tracepoint_id_to_path() local197 sys_dir = tracing_events__opendir(); in tracepoint_id_to_path()198 if (!sys_dir) in tracepoint_id_to_path()201 for_each_subsystem(sys_dir, sys_dirent) { in tracepoint_id_to_path()225 closedir(sys_dir); in tracepoint_id_to_path()252 closedir(sys_dir); in tracepoint_id_to_path()2195 DIR *sys_dir, *evt_dir; in print_tracepoint_events() local2204 sys_dir = tracing_events__opendir(); in print_tracepoint_events()[all …]
1392 DIR *sys_dir; in count_tracepoints() local1404 sys_dir = opendir(sys_path); in count_tracepoints()1405 TEST_ASSERT_VAL("Can't open sys dir", sys_dir); in count_tracepoints()1407 while ((sys_ent = readdir(sys_dir))) { in count_tracepoints()1417 closedir(sys_dir); in count_tracepoints()