Home
last modified time | relevance | path

Searched refs:st_rdev (Results 1 – 25 of 171) sorted by relevance

1234567

/external/kernel-headers/original/uapi/asm-arm/asm/
Dstat.h12 unsigned short st_rdev; member
34 unsigned short st_rdev; member
37 unsigned long st_rdev; member
69 unsigned long long st_rdev; member
/external/mtools/
Dmzip.c128 if (MAJOR(st_mnt.st_rdev) == MAJOR(st_dev.st_rdev) && in test_mounted()
129 MINOR(st_mnt.st_rdev) >= MINOR(st_dev.st_rdev) && in test_mounted()
130 MINOR(st_mnt.st_rdev) <= MINOR(st_dev.st_rdev)+15){ in test_mounted()
134 MINOR(st_mnt.st_rdev) - in test_mounted()
135 MINOR(st_dev.st_rdev), in test_mounted()
138 if(st_mnt.st_rdev != st_dev.st_rdev) { in test_mounted()
Ddevices.h174 MAJOR(statbuf.st_rdev) != FLOPPY_MAJOR) in UNUSED()
177 return MINOR( statbuf.st_rdev ); in UNUSED()
/external/kernel-headers/original/uapi/asm-x86/asm/
Dstat.h17 unsigned long st_rdev; member
54 unsigned long long st_rdev; member
92 __kernel_ulong_t st_rdev; member
124 unsigned short st_rdev; member
/external/mesa3d/src/gallium/auxiliary/util/
Du_hash_table.c66 return stat.st_dev ^ stat.st_ino ^ stat.st_rdev; in hash_fd()
85 stat1.st_rdev == stat2.st_rdev; in equal_fd()
/external/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Posix/
Ddevname_r.cpp21 assert(!devname_r(st.st_rdev, type, name, sizeof(name))); in main()
23 assert(devname_r(st.st_rdev, type, name, sizeof(name))); in main()
Ddevname.cpp14 assert((name = devname(st.st_rdev, S_ISCHR(st.st_mode) ? S_IFCHR : S_IFBLK))); in main()
/external/kernel-headers/original/uapi/asm-generic/
Dstat.h31 unsigned long st_rdev; /* Device number, if device. */ member
56 unsigned long long st_rdev; /* Device number, if device. */ member
/external/mesa3d/src/gallium/winsys/etnaviv/drm/
Detnaviv_drm_winsys.c50 return stat.st_dev ^ stat.st_ino ^ stat.st_rdev; in hash_file_description()
88 stat1.st_rdev == stat2.st_rdev; in equal_file_description()
/external/toybox/toys/other/
Dstat.c108 dev_t dev = stat->st_rdev ? stat->st_rdev : stat->st_dev; in print_stat()
123 else if (type == 't') out('x', dev_major(stat->st_rdev)); in print_stat()
124 else if (type == 'T') out('x', dev_minor(stat->st_rdev)); in print_stat()
Dmountpoint.c43 printf("%u:%u\n", dev_major(st1.st_rdev), dev_minor(st1.st_rdev)); in mountpoint_main()
/external/e2fsprogs/lib/ext2fs/
Dismounted.c121 file_rdev = st_buf.st_rdev; in check_mntent_file()
136 if (file_rdev && (file_rdev == st_buf.st_rdev)) in check_mntent_file()
139 st_buf.st_rdev, file_dev, in check_mntent_file()
315 file_dev = st_buf.st_rdev; in is_swap_device()
342 file_dev == st_buf.st_rdev) { in is_swap_device()
/external/rust/crates/libc/src/fuchsia/
Daarch64.rs15 pub st_rdev: ::dev_t,
37 pub st_rdev: ::dev_t,
Dx86_64.rs16 pub st_rdev: ::dev_t,
37 pub st_rdev: ::dev_t,
/external/libdrm/libkms/
Dlinux.c81 maj = major(buffer.st_rdev); in linux_name_from_sysfs()
82 min = minor(buffer.st_rdev); in linux_name_from_sysfs()
/external/e2fsprogs/misc/
Dismounted.c97 file_rdev = st_buf.st_rdev; in check_mntent_file()
125 if (file_rdev && (file_rdev == st_buf.st_rdev)) in check_mntent_file()
/external/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_screen.c82 vws = util_hash_table_get(dev_hash, &stat_buf.st_rdev); in vmw_winsys_create()
92 vws->device = stat_buf.st_rdev; in vmw_winsys_create()
/external/libdrm/
Dxf86drm.c216 st.st_rdev = 0; in drmGetKeyFromFd()
218 return st.st_rdev; in drmGetKeyFromFd()
439 if (st.st_rdev != dev) { in drmOpenDevice()
2807 maj = major(sbuf.st_rdev); in drmGetDeviceNameFromFd()
2808 min = minor(sbuf.st_rdev); in drmGetDeviceNameFromFd()
2823 d = sbuf.st_rdev; in drmGetDeviceNameFromFd()
2827 if (stat(name, &sbuf) == 0 && sbuf.st_rdev == d) in drmGetDeviceNameFromFd()
2869 maj = major(sbuf.st_rdev); in drmGetNodeTypeFromFd()
2870 min = minor(sbuf.st_rdev); in drmGetNodeTypeFromFd()
2935 maj = major(sbuf.st_rdev); in drmGetMinorNameForFD()
[all …]
/external/fsck_msdos/
Dfsutil.c193 mntdevstat.st_rdev == devstat.st_rdev) in getmntpt()
/external/mesa3d/src/drm-shim/
Ddrm_shim.c303 st->st_rdev = makedev(DRM_MAJOR, render_node_minor); in __xstat()
337 st->st_rdev = makedev(DRM_MAJOR, render_node_minor); in __xstat64()
354 st->st_rdev = makedev(DRM_MAJOR, render_node_minor); in __fxstat()
370 st->st_rdev = makedev(DRM_MAJOR, render_node_minor); in __fxstat64()
/external/ltp/testcases/kernel/uevents/
Duevent03.c46 snprintf(major, buf_sizes, "MAJOR=%i", major(stbuf.st_rdev)); in get_minor_major()
47 snprintf(minor, buf_sizes, "MINOR=%i", minor(stbuf.st_rdev)); in get_minor_major()
/external/strace/tests/
Dxstatx.c171 (unsigned int) major(zero_extend_signed_to_ull(st->st_rdev)), in print_stat()
172 (unsigned int) minor(zero_extend_signed_to_ull(st->st_rdev))); in print_stat()
380 LOG_STAT_OFFSETOF_SIZEOF(*st, st_rdev); in main()
/external/strace/tests-mx32/
Dxstatx.c171 (unsigned int) major(zero_extend_signed_to_ull(st->st_rdev)), in print_stat()
172 (unsigned int) minor(zero_extend_signed_to_ull(st->st_rdev))); in print_stat()
380 LOG_STAT_OFFSETOF_SIZEOF(*st, st_rdev); in main()
/external/strace/tests-m32/
Dxstatx.c171 (unsigned int) major(zero_extend_signed_to_ull(st->st_rdev)), in print_stat()
172 (unsigned int) minor(zero_extend_signed_to_ull(st->st_rdev))); in print_stat()
380 LOG_STAT_OFFSETOF_SIZEOF(*st, st_rdev); in main()
/external/rust/crates/libc/src/unix/linux_like/linux/uclibc/mips/mips64/
Dmod.rs25 pub st_rdev: ::c_ulong,
49 pub st_rdev: ::c_ulong,

1234567