Lines Matching refs:d
156 DIR *d; in add_threads() local
159 d = opendir(path); in add_threads()
160 if(d == 0) return; in add_threads()
161 while((de = readdir(d)) != 0){ in add_threads()
167 closedir(d); in add_threads()
193 static void update_table(DIR *d, uint32_t flags) in update_table() argument
198 rewinddir(d); in update_table()
199 while((de = readdir(d)) != 0){ in update_table()
271 DIR *d; in schedtop_main() local
312 d = opendir("/proc"); in schedtop_main()
313 if(d == 0) return -1; in schedtop_main()
325 update_table(d, flags); in schedtop_main()
328 closedir(d); in schedtop_main()