Searched defs:st_buf (Results 1 - 5 of 5) sorted by relevance

/external/e2fsprogs/misc/
H A Dismounted.c83 struct stat st_buf; local
93 if (stat(file, &st_buf) == 0) {
94 if (S_ISBLK(st_buf.st_mode)) {
96 file_rdev = st_buf.st_rdev;
99 file_dev = st_buf.st_dev;
100 file_ino = st_buf.st_ino;
121 if (stat(device, &st_buf) == 0) {
122 if (S_ISBLK(st_buf.st_mode)) {
124 if (file_rdev && (file_rdev == st_buf.st_rdev))
128 if (file_dev && ((file_dev == st_buf
[all...]
/external/e2fsprogs/lib/ext2fs/
H A Dismounted.c84 struct stat st_buf; local
101 if (stat(file, &st_buf) == 0) {
102 if (S_ISBLK(st_buf.st_mode)) {
104 file_rdev = st_buf.st_rdev;
107 file_dev = st_buf.st_dev;
108 file_ino = st_buf.st_ino;
116 if (stat(mnt->mnt_fsname, &st_buf) == 0) {
117 if (S_ISBLK(st_buf.st_mode)) {
119 if (file_rdev && (file_rdev == st_buf.st_rdev))
122 st_buf
291 struct stat st_buf; local
376 struct stat st_buf; local
[all...]
/external/oprofile/libutil/
H A Dop_file.c90 struct stat * st_buf)
97 if (stat(name, st_buf) != 0)
88 make_pathname_from_dirent(char const * basedir, struct dirent * ent, struct stat * st_buf) argument
/external/e2fsprogs/resize/
H A Dmain.c180 ext2fs_struct_stat st_buf; local
276 ret = ext2fs_fstat(fd, &st_buf);
294 if (!S_ISREG(st_buf.st_mode )) {
422 (((__u64) 1) << (sizeof(st_buf.st_size)*8 - 1)) - 1)
424 if ((new_file_size > st_buf.st_size) &&
476 if ((st_buf.st_size > new_file_size) &&
/external/f2fs-tools/lib/
H A Dlibf2fs.c385 struct stat st_buf; local
408 if (stat(c->device_name, &st_buf) == 0 && S_ISBLK(st_buf.st_mode)) {

Completed in 1010 milliseconds