Searched refs:dir_fd (Results 1 – 2 of 2) sorted by relevance
294 DIR *dir_fd; in read_dir() local335 dir_fd = opendir(dir->string_mb); in read_dir()336 if (dir_fd == NULL) { in read_dir()341 while ((dp = readdir(dir_fd)) != NULL) { in read_dir()413 (void) closedir(dir_fd); in read_dir()480 dir_fd = opendir(dir->string_mb); in read_dir()481 if (dir_fd == NULL) { in read_dir()488 while ((dp = readdir(dir_fd)) != NULL) { in read_dir()547 (void) closedir(dir_fd); in read_dir()
477 getentry(DIR *dir_fd, int looking_for_lognames) in getentry() argument494 if (dirp = readdir(dir_fd)) in getentry()528 DIR *dir_fd; in search2() local550 dir_fd = opendir_(*tilded_dir ? tilded_dir : S_DOT /* "." */); in search2()551 if (dir_fd == NULL) in search2()557 for (numitems = 0; entry = getentry(dir_fd, looking_for_lognames); ) { in search2()591 rewinddir(dir_fd); in search2()598 unsetfd(dir_fd->dd_fd); in search2()599 closedir_(dir_fd); in search2()