Searched refs:sys_dir (Results 1 – 3 of 3) sorted by relevance
18 #define for_each_subsystem(sys_dir, sys_dirent) \ argument19 while ((sys_dirent = readdir(sys_dir)) != NULL) \
407 DIR *sys_dir, *evt_dir; in tracepoint_id_to_path() local415 sys_dir = tracing_events__opendir(); in tracepoint_id_to_path()416 if (!sys_dir) in tracepoint_id_to_path()419 for_each_subsystem(sys_dir, sys_dirent) { in tracepoint_id_to_path()443 closedir(sys_dir); in tracepoint_id_to_path()466 closedir(sys_dir); in tracepoint_id_to_path()
1834 DIR *sys_dir; in count_tracepoints() local1846 sys_dir = opendir(sys_path); in count_tracepoints()1847 TEST_ASSERT_VAL("Can't open sys dir", sys_dir); in count_tracepoints()1849 while ((sys_ent = readdir(sys_dir))) { in count_tracepoints()1859 closedir(sys_dir); in count_tracepoints()