Lines Matching refs:statbuf
413 struct stat statbuf; in next_file() local
447 Mftent.fts_statp = &statbuf; in next_file()
451 if (lstat(Mftent.fts_path, &statbuf) == -1) { in next_file()
456 memset(&statbuf, 0, sizeof(statbuf)); in next_file()
457 statbuf.st_dev = MFTENT_DUMMY_DEV; in next_file()
458 statbuf.st_ino = ftnode->lineno; in next_file()
459 statbuf.st_size = 0; in next_file()
467 statbuf.st_mode = nodetoino(ftnode->type); in next_file()
471 statbuf.st_mtime = starttime; in next_file()
483 != (statbuf.st_mode & S_IFMT)) { in next_file()
488 inotype(statbuf.st_mode)); in next_file()
498 statbuf.st_mode &= ~ALLPERMS; in next_file()
499 statbuf.st_mode |= (ftnode->st_mode & ALLPERMS); in next_file()
502 statbuf.st_gid = ftnode->st_gid; in next_file()
504 statbuf.st_uid = ftnode->st_uid; in next_file()
507 statbuf.st_flags = ftnode->st_flags; in next_file()
511 statbuf.st_mtimespec = ftnode->st_mtimespec; in next_file()
513 statbuf.st_mtime = ftnode->st_mtimespec.tv_sec; in next_file()
516 statbuf.st_rdev = ftnode->st_rdev; in next_file()