Lines Matching defs:statbuf
764 struct stat statbuf;
801 if (stat(file, &statbuf) != 0)
805 if (stat(path, &statbuf) != 0)
808 if (!S_ISDIR(statbuf.st_mode)) {
959 struct stat statbuf;
963 if (stat(path, &statbuf) == 0)
967 if (stat(path, &statbuf) == 0)
971 if (stat(path, &statbuf) == 0)
978 if (stat(path, &statbuf) == 0)
994 if (stat(path, &statbuf) == 0)
998 if (stat(path, &statbuf) == 0)
1007 if (stat(path, &statbuf) == 0)
1011 if (stat(path, &statbuf) == 0)
1015 if (stat(path, &statbuf) == 0)
1467 struct stat statbuf;
1484 if (lstat(path, &statbuf) != 0) {
1489 if (S_ISLNK(statbuf.st_mode)) {
1509 if (S_ISDIR(statbuf.st_mode))
1513 if ((statbuf.st_mode & S_IRUSR) == 0)
1550 struct stat statbuf;
1566 if (lstat(path, &statbuf) != 0) {
1572 if (S_ISLNK(statbuf.st_mode)) {
1578 if (S_ISDIR(statbuf.st_mode)) {
1584 if ((statbuf.st_mode & S_IRUSR) == 0) {
1638 struct stat statbuf;
1645 if (lstat(path, &statbuf) != 0)
1647 if ((statbuf.st_mode & S_IRUSR) == 0)