Home
last modified time | relevance | path

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

12345678

/external/toybox/toys/posix/
Ddu.c43 dev_t st_dev;
93 if(new->ino == st->st_ino && new->dev == st->st_dev) in seen_inode()
98 new->dev = st->st_dev; in seen_inode()
111 if (!node->parent) TT.st_dev = node->st.st_dev; in do_du()
115 if (FLAG(x) && (TT.st_dev != node->st.st_dev)) in do_du()
123 if (node->st.st_dev==try->st.st_dev && node->st.st_ino==try->st.st_ino) in do_du()
Ddf.c204 if (st.st_dev == mt->stat.st_dev in df_main()
205 || (st.st_rdev && (st.st_rdev == mt->stat.st_dev))) in df_main()
219 if (!mt->stat.st_dev) continue; in df_main()
224 if (mt->stat.st_dev == mt2->stat.st_dev) { in df_main()
227 if (!(toys.optflags & FLAG_a)) mt3->stat.st_dev = 0; in df_main()
229 } else mt2->stat.st_dev = 0; in df_main()
238 if (mt->stat.st_dev) show_mt(mt, measuring); in df_main()
/external/perfetto/src/traced/probes/filesystem/
Dinode_file_data_source_unittest.cc61 buf.st_dev, in TestInodeFileDataSource()
109 data_source->OnInodes({{buf.st_ino, buf.st_dev}}); in TEST_F()
113 EXPECT_THAT(cache_.Get(std::make_pair(buf.st_dev, buf.st_ino)), in TEST_F()
135 data_source->OnInodes({{buf.st_ino, buf.st_dev}}); in TEST_F()
137 EXPECT_THAT(cache_.Get(std::make_pair(buf.st_dev, buf.st_ino)), IsNull()); in TEST_F()
156 cache_.Insert(std::make_pair(buf.st_dev, buf.st_ino), value); in TEST_F()
160 data_source->OnInodes({{buf.st_ino, buf.st_dev}}); in TEST_F()
Dfs_mount_unittest.cc43 EXPECT_THAT(mounts, Contains(Pair(buf.st_dev, "/proc"))); in TEST()
62 EXPECT_THAT(mounts, Contains(Pair(dev_stat.st_dev, "/dev"))); in TEST()
63 EXPECT_THAT(mounts, Contains(Pair(root_stat.st_dev, "/"))); in TEST()
/external/kernel-headers/original/uapi/asm-arm/asm/
Dstat.h6 unsigned short st_dev; member
23 unsigned short st_dev; member
26 unsigned long st_dev;
58 unsigned long long st_dev; member
/external/linux-kselftest/tools/testing/selftests/proc/
Dfd-002-posix-eq.c50 assert(st0.st_dev == st1.st_dev); in main()
53 assert(st0.st_dev == st2.st_dev); in main()
/external/toybox/toys/other/
Dmountpoint.c61 toys.exitval = !(st1.st_dev != st2.st_dev || st1.st_ino == st2.st_ino); in mountpoint_main()
63 printf("%u:%u\n", dev_major(st1.st_dev), 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()
/external/kernel-headers/original/uapi/asm-x86/asm/
Dstat.h11 unsigned long st_dev; member
43 unsigned long long st_dev; member
84 __kernel_ulong_t st_dev; member
118 unsigned short st_dev; member
/external/u-boot/include/linux/
Dstat.h48 dev_t st_dev; /* file system id */ member
74 unsigned short st_dev; member
101 dev_t st_dev; member
132 unsigned long st_dev; member
/external/e2fsprogs/misc/
Dismounted.c100 file_dev = st_buf.st_dev; in check_mntent_file()
129 if (file_dev && ((file_dev == st_buf.st_dev) && in check_mntent_file()
146 (st_buf.st_dev == file_rdev)) in check_mntent_file()
169 if (file_rdev && (st_buf.st_dev != file_rdev)) { in check_mntent_file()
/external/ltp/testcases/kernel/syscalls/vfork/
Dvfork01.c226 (StatPbuf.st_dev != StatCbuf.st_dev)) { in main()
243 (Stat_cwd_Pbuf.st_dev != in main()
244 Stat_cwd_Cbuf.st_dev)) { in main()
/external/python/cryptography/src/_cffi_src/openssl/src/
Dosrandom_engine.c93 dev_t st_dev; member
143 || st.st_dev != urandom_cache.st_dev in dev_urandom_fd()
172 urandom_cache.st_dev = st.st_dev; in dev_urandom_fd()
224 && st.st_dev == urandom_cache.st_dev in dev_urandom_close()
/external/ltp/testcases/kernel/syscalls/rename/
Drename13.c123 if (buf2.st_dev != olddev || buf2.st_ino != oldino) { in main()
132 if (buf1.st_dev != olddev || buf1.st_ino != oldino) { in main()
167 olddev = buf1.st_dev; in setup()
Drename03.c139 if (buf2.st_dev != *TC[i].olddev || in main()
203 f_olddev = buf1.st_dev; in setup2()
212 d_olddev = buf1.st_dev; in setup2()
Drename01.c142 if (buf1.st_dev != *TC[i].olddev || in main()
195 f_olddev = buf1.st_dev; in setup()
203 d_olddev = buf1.st_dev; in setup()
/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/ltp/testcases/kernel/syscalls/inotify/
Dinotify08.c149 major(buf.st_dev), minor(buf.st_dev)); in setup()
160 major(buf.st_dev), minor(buf.st_dev)); in setup()
/external/mesa3d/src/gallium/auxiliary/util/
Du_hash_table.c66 return stat.st_dev ^ stat.st_ino ^ stat.st_rdev; in hash_fd()
83 return stat1.st_dev == stat2.st_dev && in equal_fd()
/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/python/cpython3/Python/
Dbootstrap_hash.c273 dev_t st_dev; member
321 || st.st_dev != urandom_cache.st_dev in dev_urandom()
355 urandom_cache.st_dev = st.st_dev; in dev_urandom()
/external/python/cpython2/Python/
Drandom.c170 dev_t st_dev; member
221 || st.st_dev != urandom_cache.st_dev in dev_urandom_python()
267 urandom_cache.st_dev = st.st_dev; in dev_urandom_python()
/external/f2fs-tools/tools/
Dfibmap.c70 printf("dev [%d:%d]\n", major(st->st_dev), minor(st->st_dev)); in print_stat()
103 sprintf(devname, "/dev/block/%d:%d", major(st->st_dev), minor(st->st_dev)); in stat_bdev()
/external/strace/tests-m32/
Dqual_inject-retval.c57 if (before.st_dev != after.st_dev || before.st_ino != after.st_ino) in main()
/external/strace/tests/
Dqual_inject-retval.c57 if (before.st_dev != after.st_dev || before.st_ino != after.st_ino) in main()

12345678