Searched refs:st_buf (Results 1 – 8 of 8) sorted by relevance
/third_party/e2fsprogs/lib/ext2fs/ |
D | ismounted.c | 100 struct stat st_buf; in check_mntent_file() local 118 if (stat(file, &st_buf) == 0) { in check_mntent_file() 119 if (ext2fsP_is_disk_device(st_buf.st_mode)) { in check_mntent_file() 121 file_rdev = st_buf.st_rdev; in check_mntent_file() 124 file_dev = st_buf.st_dev; in check_mntent_file() 125 file_ino = st_buf.st_ino; in check_mntent_file() 132 if (stat(mnt->mnt_dir, &st_buf) != 0) in check_mntent_file() 134 if (file_rdev && (file_rdev != st_buf.st_dev)) { in check_mntent_file() 144 if (stat(mnt->mnt_fsname, &st_buf) == 0) { in check_mntent_file() 145 if (ext2fsP_is_disk_device(st_buf.st_mode)) { in check_mntent_file() [all …]
|
/third_party/e2fsprogs/misc/ |
D | ismounted.c | 84 struct stat st_buf; in check_mntent_file() local 94 if (stat(file, &st_buf) == 0) { in check_mntent_file() 95 if (S_ISBLK(st_buf.st_mode)) { in check_mntent_file() 97 file_rdev = st_buf.st_rdev; in check_mntent_file() 100 file_dev = st_buf.st_dev; in check_mntent_file() 101 file_ino = st_buf.st_ino; in check_mntent_file() 122 if (stat(device, &st_buf) == 0) { in check_mntent_file() 123 if (S_ISBLK(st_buf.st_mode)) { in check_mntent_file() 125 if (file_rdev && (file_rdev == st_buf.st_rdev)) in check_mntent_file() 129 if (file_dev && ((file_dev == st_buf.st_dev) && in check_mntent_file() [all …]
|
/third_party/ltp/testcases/kernel/syscalls/nftw/ |
D | test_func64.c | 173 struct stat st_buf; in test_func8() local 189 stat(path_name, &st_buf) : lstat(path_name, in test_func8() 190 &st_buf)) == -1) { in test_func8() 195 if (st_buf.st_dev != stat_pointer->st_dev) { in test_func8() 202 if (st_buf.st_ino != stat_pointer->st_ino) { in test_func8() 209 if (st_buf.st_mode != stat_pointer->st_mode) { in test_func8() 216 if (st_buf.st_nlink != stat_pointer->st_nlink) { in test_func8() 223 if (st_buf.st_uid != stat_pointer->st_uid) { in test_func8() 230 if (st_buf.st_gid != stat_pointer->st_gid) { in test_func8() 237 if (st_buf.st_size != stat_pointer->st_size) { in test_func8()
|
D | test_func.c | 172 struct stat st_buf; in test_func8() local 187 stat(path_name, &st_buf) : lstat(path_name, in test_func8() 188 &st_buf)) == -1) { in test_func8() 193 if (st_buf.st_dev != stat_pointer->st_dev) { in test_func8() 200 if (st_buf.st_ino != stat_pointer->st_ino) { in test_func8() 207 if (st_buf.st_mode != stat_pointer->st_mode) { in test_func8() 214 if (st_buf.st_nlink != stat_pointer->st_nlink) { in test_func8() 221 if (st_buf.st_uid != stat_pointer->st_uid) { in test_func8() 228 if (st_buf.st_gid != stat_pointer->st_gid) { in test_func8() 235 if (st_buf.st_size != stat_pointer->st_size) { in test_func8()
|
/third_party/e2fsprogs/resize/ |
D | main.c | 265 ext2fs_struct_stat st_buf; in main() local 373 ret = ext2fs_fstat(fd, &st_buf); in main() 391 if (!S_ISREG(st_buf.st_mode )) { in main() 577 (((__u64) 1) << (sizeof(st_buf.st_size)*8 - 1)) - 1) in main() 579 if ((new_file_size > st_buf.st_size) && in main() 667 if ((st_buf.st_size > new_file_size) && in main()
|
/third_party/f2fs-tools/lib/ |
D | libf2fs.c | 736 struct stat *st_buf; in f2fs_dev_is_umounted() 787 st_buf = malloc(sizeof(struct stat)); in f2fs_dev_is_umounted() 788 ASSERT(st_buf); in f2fs_dev_is_umounted() 790 if (stat(path, st_buf) == 0 && S_ISBLK(st_buf->st_mode)) { in f2fs_dev_is_umounted() 797 free(st_buf); in f2fs_dev_is_umounted() 801 free(st_buf); in f2fs_dev_is_umounted()
|
/third_party/curl/src/ |
D | tool_doswin.c | 468 struct_stat st_buf; in rename_if_reserved_dos_device_name() local 565 if(base && ((stat(base, &st_buf)) == 0) && (S_ISCHR(st_buf.st_mode))) { in rename_if_reserved_dos_device_name()
|
/third_party/ffmpeg/libavformat/ |
D | segment.c | 444 char st_buf[AV_TIMECODE_STR_SIZE]; in segment_end() local 454 … av_dict_set(&s->streams[i]->metadata, "timecode", av_timecode_make_string(&st_tc, st_buf, 0), 0); in segment_end()
|