Home
last modified time | relevance | path

Searched refs:st_buf (Results 1 – 4 of 4) sorted by relevance

/external/e2fsprogs/lib/ext2fs/
Dismounted.c84 struct stat st_buf; in check_mntent_file() local
101 if (stat(file, &st_buf) == 0) { in check_mntent_file()
102 if (S_ISBLK(st_buf.st_mode)) { in check_mntent_file()
104 file_rdev = st_buf.st_rdev; in check_mntent_file()
107 file_dev = st_buf.st_dev; in check_mntent_file()
108 file_ino = st_buf.st_ino; in check_mntent_file()
116 if (stat(mnt->mnt_fsname, &st_buf) == 0) { in check_mntent_file()
117 if (S_ISBLK(st_buf.st_mode)) { in check_mntent_file()
119 if (file_rdev && (file_rdev == st_buf.st_rdev)) in check_mntent_file()
122 st_buf.st_rdev, file_dev, in check_mntent_file()
[all …]
/external/e2fsprogs/misc/
Dismounted.c83 struct stat st_buf; in check_mntent_file() local
93 if (stat(file, &st_buf) == 0) { in check_mntent_file()
94 if (S_ISBLK(st_buf.st_mode)) { in check_mntent_file()
96 file_rdev = st_buf.st_rdev; in check_mntent_file()
99 file_dev = st_buf.st_dev; in check_mntent_file()
100 file_ino = st_buf.st_ino; in check_mntent_file()
121 if (stat(device, &st_buf) == 0) { in check_mntent_file()
122 if (S_ISBLK(st_buf.st_mode)) { in check_mntent_file()
124 if (file_rdev && (file_rdev == st_buf.st_rdev)) in check_mntent_file()
128 if (file_dev && ((file_dev == st_buf.st_dev) && in check_mntent_file()
[all …]
/external/e2fsprogs/resize/
Dmain.c180 ext2fs_struct_stat st_buf; in main() local
276 ret = ext2fs_fstat(fd, &st_buf); in main()
294 if (!S_ISREG(st_buf.st_mode )) { in main()
422 (((__u64) 1) << (sizeof(st_buf.st_size)*8 - 1)) - 1) in main()
424 if ((new_file_size > st_buf.st_size) && in main()
476 if ((st_buf.st_size > new_file_size) && in main()
/external/f2fs-tools/lib/
Dlibf2fs.c386 struct stat st_buf; in f2fs_dev_is_umounted() local
409 if (stat(c->device_name, &st_buf) == 0 && S_ISBLK(st_buf.st_mode)) { in f2fs_dev_is_umounted()