Searched refs:st_buf (Results 1 – 4 of 4) sorted by relevance
47 struct stat st_buf; in check_mntent_file() local57 if (stat(file, &st_buf) == 0) { in check_mntent_file()58 if (S_ISBLK(st_buf.st_mode)) { in check_mntent_file()60 file_rdev = st_buf.st_rdev; in check_mntent_file()63 file_dev = st_buf.st_dev; in check_mntent_file()64 file_ino = st_buf.st_ino; in check_mntent_file()72 if (stat(mnt->mnt_fsname, &st_buf) == 0) { in check_mntent_file()73 if (S_ISBLK(st_buf.st_mode)) { in check_mntent_file()75 if (file_rdev && (file_rdev == st_buf.st_rdev)) in check_mntent_file()79 if (file_dev && ((file_dev == st_buf.st_dev) && in check_mntent_file()[all …]
81 struct stat st_buf; in check_mntent_file() local91 if (stat(file, &st_buf) == 0) { in check_mntent_file()92 if (S_ISBLK(st_buf.st_mode)) { in check_mntent_file()94 file_rdev = st_buf.st_rdev; in check_mntent_file()97 file_dev = st_buf.st_dev; in check_mntent_file()98 file_ino = st_buf.st_ino; in check_mntent_file()119 if (stat(device, &st_buf) == 0) { in check_mntent_file()120 if (S_ISBLK(st_buf.st_mode)) { in check_mntent_file()122 if (file_rdev && (file_rdev == st_buf.st_rdev)) in check_mntent_file()126 if (file_dev && ((file_dev == st_buf.st_dev) && in check_mntent_file()[all …]
168 struct stat64 st_buf; in main() local170 struct stat st_buf; in main() local271 ret = fstat64(fd, &st_buf); in main()273 ret = fstat(fd, &st_buf); in main()292 if (!S_ISREG(st_buf.st_mode )) { in main()417 (((__u64) 1) << (sizeof(st_buf.st_size)*8 - 1)) - 1) in main()419 if ((new_file_size > st_buf.st_size) && in main()469 if ((st_buf.st_size > new_file_size) && in main()
90 struct stat * st_buf) in make_pathname_from_dirent() argument97 if (stat(name, st_buf) != 0) in make_pathname_from_dirent()