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()
272 DIR *d; in schedtop_main() local
316 d = opendir("/proc"); in schedtop_main()
317 if(d == 0) return -1; in schedtop_main()
329 update_table(d, flags); in schedtop_main()
332 closedir(d); in schedtop_main()