Home
last modified time | relevance | path

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

1234

/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()
109 if (!node->parent) TT.st_dev = node->st.st_dev; in do_du()
113 if ((toys.optflags & FLAG_x) && (TT.st_dev != node->st.st_dev)) in do_du()
121 if (node->st.st_dev==try->st.st_dev && node->st.st_ino==try->st.st_ino) in do_du()
Ddf.c182 if (st.st_dev == mt->stat.st_dev in df_main()
183 || (st.st_rdev && (st.st_rdev == mt->stat.st_dev))) in df_main()
197 if (!mt->stat.st_dev) continue; in df_main()
202 if (mt->stat.st_dev == mt2->stat.st_dev) { in df_main()
205 if (!toys.optflags & FLAG_a) mt3->stat.st_dev = 0; in df_main()
207 } else mt2->stat.st_dev = 0; in df_main()
216 if (mt->stat.st_dev) show_mt(mt, measuring); in df_main()
Dpwd.c45 st1.st_dev != st2.st_dev) s = NULL; in pwd_main()
Dcp.c164 if ((TT.top.st_dev == try->st.st_dev && TT.top.st_ino == try->st.st_ino in cp_node()
166 || (!fstatat(cfd, catch, &cst, 0) && cst.st_dev == try->st.st_dev in cp_node()
/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.c80 else if (type == 'd') out('d', stat->st_dev); in print_stat()
81 else if (type == 'D') out('x', 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/strace/
Dfile.c102 unsigned int st_dev; member
124 unsigned int st_dev; member
146 unsigned short st_dev; member
186 unsigned st_dev; member
281 unsigned long long st_dev; member
408 newbuf->st_dev = oldbuf->st_dev; in convertoldstat()
Dprintstat.h56 (unsigned int) STAT_MAJOR(statbuf->st_dev), in DO_PRINTSTAT()
57 (unsigned int) STAT_MINOR(statbuf->st_dev), in DO_PRINTSTAT()
/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/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/strace/linux/x32/
Dasm_stat.h13 kernel_ulong_t st_dev; member
34 unsigned short st_dev; member
/external/strace/tests/
Dxstatx.c164 (unsigned int) major(st->st_dev), in print_stat()
165 (unsigned int) minor(st->st_dev)); in print_stat()
266 STRUCT_STAT_STR, offsetof(STRUCT_STAT, st_dev), in main()
267 sizeof(st[0].st_dev)); in main()
/external/toybox/toys/pending/
Dlsof.c55 dev_t st_dev; member
64 if (sb->st_dev == fi->st_dev && sb->st_ino == fi->st_ino) return 1; in filter_matches()
269 dev = (S_ISBLK(sb.st_mode) || S_ISCHR(sb.st_mode)) ? sb.st_rdev : sb.st_dev; in fill_stat()
283 fi->st_dev = sb.st_dev; in fill_stat()
/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/avahi/avahi-daemon/
Dsd-daemon.c158 st_path.st_dev == st_fd.st_dev && in sd_is_fifo()
438 return a.st_dev != b.st_dev; in sd_booted()
/external/dbus/dbus/
Dsd-daemon.c153 st_path.st_dev == st_fd.st_dev && in sd_is_fifo()
433 return a.st_dev != b.st_dev; in sd_booted()
/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/libdwfl/
Dfind-debuginfo.c62 && st.st_dev == main_stat->st_dev) in try_open()
213 main_stat.st_dev = 0; in find_debuginfo_in_path()
/external/rootdev/
Drootdev.c415 if (sizeof(root_statbuf.st_dev) == sizeof(*root_dev)) { in rootdev()
417 root_dev = (dev_t *)&root_statbuf.st_dev; in rootdev()
419 *root_dev = root_statbuf.st_dev; in rootdev()

1234