Lines Matching refs:DIR
203 DIR *dir;
214 dir = opendir(NETNS_RUN_DIR);
215 if (!dir)
218 while ((entry = readdir(dir)) != NULL) {
228 closedir(dir);
235 DIR *dir;
238 dir = opendir(NETNS_RUN_DIR);
239 if (!dir)
242 while ((entry = readdir(dir)) != NULL) {
251 closedir(dir);
255 closedir(dir);
331 DIR *dir;
334 dir = opendir(NETNS_RUN_DIR);
335 if (!dir)
338 while ((entry = readdir(dir)) != NULL) {
351 closedir(dir);
442 DIR *dir;
467 dir = opendir("/proc/");
468 if (!dir) {
473 while((entry = readdir(dir))) {
487 closedir(dir);
498 DIR *dir;
527 dir = opendir(NETNS_RUN_DIR);
528 if (!dir) {
538 while((entry = readdir(dir))) {
558 closedir(dir);