Searched refs:dirfp (Results 1 – 8 of 8) sorted by relevance
73 DIR *dirfp; in isreloc() local77 if ((dirfp = opendir(pkginstdir)) != NULL) { in isreloc()78 while ((drp = readdir(dirfp)) != NULL) { in isreloc()88 (void) closedir(dirfp); in isreloc()
379 DIR *dirfp; in ckrdeps() local383 if ((dirfp = opendir(pkgdir)) == NULL) in ckrdeps()386 while ((drp = readdir(dirfp)) != NULL) { in ckrdeps()399 (void) closedir(dirfp); in ckrdeps()
763 DIR *dirfp;773 if ((dirfp = opendir(inst_dir)) == NULL)776 while ((dp = readdir(dirfp)) != NULL) {851 (void) closedir(dirfp);
204 DIR *dirfp; in rckpriv() local215 if ((dirfp = opendir(path)) == NULL) in rckpriv()219 while ((dp = readdir(dirfp)) != NULL) { in rckpriv()227 (void) closedir(dirfp); in rckpriv()
204 DIR *dirfp; in xdir() local218 if ((dirfp = opendir(dirname)) == NULL) { in xdir()226 while ((drp = readdir(dirfp)) != NULL) { in xdir()283 (void) closedir(dirfp); in xdir()
603 DIR *dirfp; in look_for_installed() local606 if ((dirfp = opendir(pkgdir)) == NULL) in look_for_installed()609 while (drp = readdir(dirfp)) { in look_for_installed()621 (void) closedir(dirfp); in look_for_installed()
988 DIR *dirfp; in ckpriv() local997 if ((dirfp = opendir(path)) == NULL) { in ckpriv()1002 while ((dp = readdir(dirfp)) != NULL) { in ckpriv()1010 (void) closedir(dirfp); in ckpriv()
1174 DIR *dirfp; in dir_is_populated() local1178 if ((dirfp = opendir(dirpath)) != NULL) { in dir_is_populated()1179 while ((drp = readdir(dirfp)) != NULL) { in dir_is_populated()1193 (void) closedir(dirfp); in dir_is_populated()