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

/external/e2fsprogs/misc/
H A Dismounted.c84 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
[all...]
/external/ltp/testcases/kernel/syscalls/nftw/
H A Dtest_func.c172 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
[all...]
H A Dtest_func64.c173 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
[all...]
/external/minijail/
H A Dsystem.c233 struct stat st_buf; local
235 rc = stat(dest, &st_buf);
245 rc = stat(source, &st_buf);
246 if (rc || S_ISDIR(st_buf.st_mode) || S_ISBLK(st_buf.st_mode)) {
/external/curl/src/
H A Dtool_doswin.c492 struct_stat st_buf; local
589 if(base && ((stat(base, &st_buf)) == 0) && (S_ISCHR(st_buf.st_mode))) {
/external/e2fsprogs/lib/ext2fs/
H A Dismounted.c99 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
307 struct stat st_buf; local
405 struct stat st_buf; local
[all...]
/external/e2fsprogs/resize/
H A Dmain.c264 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/
H A Dlibf2fs.c607 struct stat st_buf; local
647 if (stat(path, &st_buf) == 0 && S_ISBLK(st_buf.st_mode)) {

Completed in 613 milliseconds