Home
last modified time | relevance | path

Searched refs:st_dev (Results 1 – 25 of 69) sorted by relevance

123

/external/toybox/toys/posix/
Ddu.c41 dev_t st_dev;
91 if(new->ino == st->st_ino && new->dev == st->st_dev) in seen_inode()
96 new->dev = st->st_dev; in seen_inode()
107 if (!node->parent) TT.st_dev = node->st.st_dev; in do_du()
111 if ((toys.optflags & FLAG_x) && (TT.st_dev != node->st.st_dev)) in do_du()
119 if (node->st.st_dev==try->st.st_dev && node->st.st_ino==try->st.st_ino) in do_du()
Ddf.c111 if (st.st_dev == mt->stat.st_dev in df_main()
112 || (st.st_rdev && (st.st_rdev == mt->stat.st_dev))) in df_main()
125 if (!mt->stat.st_dev) continue; in df_main()
130 if (mt->stat.st_dev == mt2->stat.st_dev) { in df_main()
133 if (!toys.optflags & FLAG_a) mt3->stat.st_dev = 0; in df_main()
135 } else mt2->stat.st_dev = 0; in df_main()
140 for (mt = mtstart; mt; mt = mt->next) if (mt->stat.st_dev) show_mt(mt); in df_main()
Dpwd.c45 st1.st_dev != st2.st_dev) s = NULL; in pwd_main()
Dcp.c125 if ((TT.top.st_dev == try->st.st_dev && TT.top.st_ino == try->st.st_ino
127 || (!fstatat(cfd, catch, &cst, 0) && cst.st_dev == try->st.st_dev
141 if (S_ISDIR(try->st.st_dev)) {
Dfind.c193 if (TT.xdev && new->st.st_dev != new->parent->st.st_dev) recurse = 0; in do_find()
201 if (n->st.st_ino==new->st.st_ino && n->st.st_dev==new->st.st_dev) { in do_find()
285 if (check && S_ISDIR(new->st.st_dev) && !TT.depth) recurse = 0; in do_find()
316 m2 = new->st.st_dev & 07777; in do_find()
/external/kernel-headers/original/uapi/asm-arm/asm/
Dstat.h5 unsigned short st_dev; member
22 unsigned short st_dev; member
25 unsigned long st_dev;
57 unsigned long long st_dev; member
/external/toybox/toys/other/
Dmountpoint.c58 toys.exitval = !(st1.st_dev != st2.st_dev || st1.st_ino == st2.st_ino); in mountpoint_main()
60 printf("%u:%u\n", major(st1.st_dev), minor(st1.st_dev)); in mountpoint_main()
Dswitch_root.c32 if (node->st.st_dev == TT.rootdev && dirtree_notdotdot(node)) {
63 st1.st_dev == st2.st_dev) in switch_root_main()
68 TT.rootdev=st2.st_dev; in switch_root_main()
Dstat.c73 else if (type == 'd') xprintf("%ldd", stat->st_dev); in print_stat()
74 else if (type == 'D') xprintf("%llxh", stat->st_dev); in print_stat()
/external/kernel-headers/original/uapi/asm-x86/asm/
Dstat.h10 unsigned long st_dev; member
42 unsigned long long st_dev; member
83 __kernel_ulong_t st_dev; member
117 unsigned short st_dev; member
/external/e2fsprogs/misc/
Dismounted.c99 file_dev = st_buf.st_dev; in check_mntent_file()
128 if (file_dev && ((file_dev == st_buf.st_dev) && in check_mntent_file()
145 (st_buf.st_dev == file_rdev)) in check_mntent_file()
168 if (file_rdev && (st_buf.st_dev != file_rdev)) { in check_mntent_file()
/external/kernel-headers/original/uapi/asm-mips/asm/
Dstat.h19 unsigned st_dev; member
52 unsigned long st_dev; member
93 unsigned int st_dev; member
/external/squashfs-tools/squashfs-tools/
Dsort.c50 dev_t st_dev; member
87 if((s->st_dev == buf->st_dev) && (s->st_ino == buf->st_ino)) { in get_priority()
102 s->st_dev = buf.st_dev;\
124 "%lld\n", path, priority, (int) buf.st_dev, in add_sort_list()
/external/strace/
Dfile.c94 unsigned int st_dev; member
120 unsigned int st_dev; member
142 unsigned short st_dev; member
195 unsigned st_dev; member
311 unsigned long long st_dev; member
451 newbuf->st_dev = oldbuf->st_dev; in convertoldstat()
Dprintstat.h22 (unsigned int) STAT_MAJOR(statbuf->st_dev), in DO_PRINTSTAT()
23 (unsigned int) STAT_MINOR(statbuf->st_dev), in DO_PRINTSTAT()
/external/openssh/openbsd-compat/
Dgetcwd.c102 root_dev = s.st_dev; in getcwd()
114 dev = s.st_dev; in getcwd()
160 if (s.st_dev == dev) { in getcwd()
182 if (s.st_dev == dev && s.st_ino == ino) in getcwd()
/external/f2fs-tools/tools/
Dfibmap.c36 printf("dev [%d:%d]\n", major(st->st_dev), minor(st->st_dev)); in print_stat()
59 sprintf(devname, "/dev/block/%d:%d", major(st->st_dev), minor(st->st_dev)); in stat_bdev()
/external/kernel-headers/original/uapi/asm-generic/
Dstat.h24 unsigned long st_dev; /* Device. */ member
49 unsigned long long st_dev; /* Device. */ member
/external/linux-tools-perf/src/tools/perf/util/
Dabspath.c14 pwd_stat.st_dev == cwd_stat.st_dev && in get_pwd_cwd()
/external/e2fsprogs/lib/ext2fs/
Dismounted.c107 file_dev = st_buf.st_dev; in check_mntent_file()
127 if (file_dev && ((file_dev == st_buf.st_dev) && in check_mntent_file()
144 if (st_buf.st_dev == file_rdev) { in check_mntent_file()
172 if (file_rdev && (st_buf.st_dev != file_rdev)) { in check_mntent_file()
/external/e2fsprogs/util/
Dsymlinks.c204 if (single_fs && lstbuf.st_dev != my_dev) { in fix_symlink()
290 } else if (st.st_dev == dev) { in dirwalk()
378 fix_symlink(path, st.st_dev);
380 dirwalk(path, strlen(path), st.st_dev);
/external/elfutils/src/libdwfl/
Dfind-debuginfo.c62 && st.st_dev == main_stat->st_dev) in try_open()
203 main_stat.st_dev = 0; in find_debuginfo_in_path()
/external/strace/tests/
Dstat.c120 (unsigned int) major(stb.st_dev), in main()
121 (unsigned int) minor(stb.st_dev)); in main()
/external/compiler-rt/test/dfsan/
Dcustom.cc53 s.st_dev = i; in test_stat()
55 ASSERT_ZERO_LABEL(s.st_dev); in test_stat()
57 s.st_dev = i; in test_stat()
59 ASSERT_LABEL(s.st_dev, i_label); in test_stat()
68 s.st_dev = i; in test_fstat()
71 ASSERT_ZERO_LABEL(s.st_dev); in test_fstat()
/external/valgrind/include/vki/
Dvki-s390x-linux.h402 unsigned short st_dev; member
428 unsigned long long st_dev; member
454 unsigned long st_dev; member

123