Lines Matching refs:dir_info

363     struct stat dir_info;  in ok_localname()  local
365 if (!ok_stat(src, &dir_info) in ok_localname()
366 || !ok_file_or_dir(&dir_info)) { in ok_localname()
667 struct stat dir_info; in not_already_exists() local
669 if (!OK_STAT(name, &dir_info)) { in not_already_exists()
675 } else if (S_ISDIR(dir_info.st_mode)) { in not_already_exists()
677 } else if (S_ISREG(dir_info.st_mode)) { in not_already_exists()
728 struct stat dir_info; in remove_tagged() local
748 if (!ok_stat(testpath, &dir_info)) { in remove_tagged()
892 struct stat dir_info; in modify_name() local
900 if (ok_stat(testpath, &dir_info)) { in modify_name()
905 if (S_ISDIR(dir_info.st_mode)) { in modify_name()
907 } else if (S_ISREG(dir_info.st_mode)) { in modify_name()
910 return ok_file_or_dir(&dir_info); in modify_name()
955 struct stat dir_info; in modify_location() local
962 if (!ok_stat(testpath, &dir_info)) { in modify_location()
969 if (S_ISDIR(dir_info.st_mode)) { in modify_location()
971 } else if (S_ISREG(dir_info.st_mode)) { in modify_location()
974 return ok_file_or_dir(&dir_info); in modify_location()
1009 old_info = dir_info; in modify_location()
1010 if (!ok_stat(newpath, &dir_info)) { in modify_location()
1012 } else if (same_location(&old_info, &dir_info)) { in modify_location()
1014 } else if (dir_has_same_owner(&dir_info, &old_info)) { in modify_location()
1211 struct stat dir_info; in remove_single() local
1214 if (!ok_lstat(testpath, &dir_info)) { in remove_single()
1226 if (S_ISDIR(dir_info.st_mode)) { in remove_single()
1239 } else if (S_ISREG(dir_info.st_mode)) { in remove_single()
1246 } else if (S_ISLNK(dir_info.st_mode)) { in remove_single()
1353 struct stat dir_info; in permit_location() local
1369 if (!ok_lstat(srcpath, &dir_info) in permit_location()
1370 || !ok_file_or_dir(&dir_info)) in permit_location()
1387 group_name = HTAA_GidToName((int) dir_info.st_gid); in permit_location()
1409 (dir_info.st_mode & S_IRUSR) ? "checked" : ""); in permit_location()
1412 (dir_info.st_mode & S_IWUSR) ? "checked" : ""); in permit_location()
1416 if (!no_change_exec_perms || S_ISDIR(dir_info.st_mode)) in permit_location()
1419 (dir_info.st_mode & S_IXUSR) ? "checked" : "", in permit_location()
1420 S_ISDIR(dir_info.st_mode) ? "Search" : "Execute"); in permit_location()
1425 (dir_info.st_mode & S_IRGRP) ? "checked" : ""); in permit_location()
1428 (dir_info.st_mode & S_IWGRP) ? "checked" : ""); in permit_location()
1432 if (!no_change_exec_perms || S_ISDIR(dir_info.st_mode)) in permit_location()
1435 (dir_info.st_mode & S_IXGRP) ? "checked" : "", in permit_location()
1436 S_ISDIR(dir_info.st_mode) ? "Search" : "Execute"); in permit_location()
1441 (dir_info.st_mode & S_IROTH) ? "checked" : ""); in permit_location()
1444 (dir_info.st_mode & S_IWOTH) ? "checked" : ""); in permit_location()
1448 if (!no_change_exec_perms || S_ISDIR(dir_info.st_mode)) in permit_location()
1451 (dir_info.st_mode & S_IXOTH) ? "checked" : "", in permit_location()
1452 S_ISDIR(dir_info.st_mode) ? "Search" : "Execute"); in permit_location()
1457 S_ISDIR(dir_info.st_mode) ? "directory" : "file", in permit_location()
1521 if (!ok_stat(destpath, &dir_info) in permit_location()
1522 || !ok_file_or_dir(&dir_info)) { in permit_location()
1548 || S_ISDIR(dir_info.st_mode)) { in permit_location()
2052 struct stat dir_info; in dired_options() local
2074 if (!ok_lstat(path, &dir_info)) { in dired_options()
2082 memset(&dir_info, 0, sizeof(dir_info)); in dired_options()
2153 (!*path || !S_ISDIR(dir_info.st_mode))) in dired_options()
2156 (!*path || !S_ISREG(dir_info.st_mode))) in dired_options()
2160 (!*path || !S_ISLNK(dir_info.st_mode))) in dired_options()
2312 struct stat dir_info; in local_install() local
2374 if (!ok_stat(destpath, &dir_info)) { in local_install()
2377 } else if (!S_ISDIR(dir_info.st_mode)) { in local_install()