/external/e2fsprogs/misc/ |
ismounted.c | 84 struct stat st_buf; local 94 if (stat(file, &st_buf) == 0) { 95 if (S_ISBLK(st_buf.st_mode)) { 97 file_rdev = st_buf.st_rdev; 100 file_dev = st_buf.st_dev; 101 file_ino = st_buf.st_ino; 122 if (stat(device, &st_buf) == 0) { 123 if (S_ISBLK(st_buf.st_mode)) { 125 if (file_rdev && (file_rdev == st_buf.st_rdev)) 129 if (file_dev && ((file_dev == st_buf.st_dev) & [all...] |
/external/e2fsprogs/lib/ext2fs/ |
ismounted.c | 99 struct stat st_buf; local 117 if (stat(file, &st_buf) == 0) { 118 if (S_ISBLK(st_buf.st_mode)) { 120 file_rdev = st_buf.st_rdev; 123 file_dev = st_buf.st_dev; 124 file_ino = st_buf.st_ino; 132 if (stat(mnt->mnt_fsname, &st_buf) == 0) { 133 if (S_ISBLK(st_buf.st_mode)) { 135 if (file_rdev && (file_rdev == st_buf.st_rdev)) 138 st_buf.st_rdev, file_dev 307 struct stat st_buf; local 405 struct stat st_buf; local [all...] |
/external/ltp/testcases/kernel/syscalls/nftw/ |
test_func.c | 172 struct stat st_buf; local 187 stat(path_name, &st_buf) : lstat(path_name, 188 &st_buf)) == -1) { 193 if (st_buf.st_dev != stat_pointer->st_dev) { 200 if (st_buf.st_ino != stat_pointer->st_ino) { 207 if (st_buf.st_mode != stat_pointer->st_mode) { 214 if (st_buf.st_nlink != stat_pointer->st_nlink) { 221 if (st_buf.st_uid != stat_pointer->st_uid) { 228 if (st_buf.st_gid != stat_pointer->st_gid) { 235 if (st_buf.st_size != stat_pointer->st_size) [all...] |
test_func64.c | 173 struct stat st_buf; local 189 stat(path_name, &st_buf) : lstat(path_name, 190 &st_buf)) == -1) { 195 if (st_buf.st_dev != stat_pointer->st_dev) { 202 if (st_buf.st_ino != stat_pointer->st_ino) { 209 if (st_buf.st_mode != stat_pointer->st_mode) { 216 if (st_buf.st_nlink != stat_pointer->st_nlink) { 223 if (st_buf.st_uid != stat_pointer->st_uid) { 230 if (st_buf.st_gid != stat_pointer->st_gid) { 237 if (st_buf.st_size != stat_pointer->st_size) [all...] |
/external/minijail/ |
system.c | 258 struct stat st_buf; local 261 rc = stat(dest, &st_buf); 275 rc = stat(source, &st_buf); 290 domkdir = S_ISDIR(st_buf.st_mode) || 291 (!bind && (S_ISBLK(st_buf.st_mode) || 292 S_ISCHR(st_buf.st_mode)));
|
/external/eigen/unsupported/Eigen/src/SparseExtra/ |
MatrixMarketIterator.h | 197 // struct stat st_buf; 198 // stat (curfile.c_str(), &st_buf); 199 // if (S_ISDIR(st_buf.st_mode)) continue;
|
/external/e2fsprogs/resize/ |
main.c | 264 ext2fs_struct_stat st_buf; local 370 ret = ext2fs_fstat(fd, &st_buf); 388 if (!S_ISREG(st_buf.st_mode )) { 549 (((__u64) 1) << (sizeof(st_buf.st_size)*8 - 1)) - 1) 551 if ((new_file_size > st_buf.st_size) && 633 if ((st_buf.st_size > new_file_size) &&
|
/external/f2fs-tools/lib/ |
libf2fs.c | 662 struct stat *st_buf; 709 st_buf = malloc(sizeof(struct stat)); 710 if (stat(path, st_buf) == 0 && S_ISBLK(st_buf->st_mode)) { 717 free(st_buf); 721 free(st_buf);
|
/external/curl/src/ |
tool_doswin.c | 492 struct_stat st_buf; local 589 if(base && ((stat(base, &st_buf)) == 0) && (S_ISCHR(st_buf.st_mode))) {
|