Home
last modified time | relevance | path

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

123456789

/third_party/mesa3d/src/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()
/third_party/e2fsprogs/
D0005-resize2fs-resize2fs-disk-hardlinks-will-be-error.patch10 file_rdev and st_buf.st_rdev are the same, As a result, the system
46 - if (file_rdev && (file_rdev == st_buf.st_rdev))
48 + if (file_rdev && (file_rdev == st_buf.st_rdev)) {
55 st_buf.st_rdev, file_dev,
/third_party/mesa3d/src/drm-shim/
Ddrm_shim.c334 st->st_rdev = makedev(DRM_MAJOR, render_node_minor); in __xstat()
368 st->st_rdev = makedev(DRM_MAJOR, render_node_minor); in __xstat64()
385 st->st_rdev = makedev(DRM_MAJOR, render_node_minor); in __fxstat()
401 st->st_rdev = makedev(DRM_MAJOR, render_node_minor); in __fxstat64()
436 stat_buf->st_rdev = makedev(DRM_MAJOR, render_node_minor); in stat()
469 stat_buf->st_rdev = makedev(DRM_MAJOR, render_node_minor); in stat64()
485 stat_buf->st_rdev = makedev(DRM_MAJOR, render_node_minor); in fstat()
501 stat_buf->st_rdev = makedev(DRM_MAJOR, render_node_minor); in fstat64()
/third_party/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()
/third_party/mesa3d/src/gallium/winsys/etnaviv/drm/
Detnaviv_drm_winsys.c49 return stat.st_dev ^ stat.st_ino ^ stat.st_rdev; in hash_file_description()
87 stat1.st_rdev == stat2.st_rdev; in equal_file_description()
/third_party/ffmpeg/libavformat/
Dos_support.h73 _dev_t st_rdev; /* device ID (if special file) */ member
224 buf->st_rdev = crtstat->st_rdev; in copy_stat()
/third_party/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,
/third_party/musl/src/stat/
Dfstatat.c50 .st_rdev = makedev(stx.stx_rdev_major, stx.stx_rdev_minor), in fstatat_statx()
111 .st_rdev = kst.st_rdev, in fstatat_kstat()
/third_party/libdrm/
Dxf86drm.c639 st.st_rdev = 0; in drmGetKeyFromFd()
641 return st.st_rdev; in drmGetKeyFromFd()
862 if (st.st_rdev != dev) { in drmOpenDevice()
3230 maj = major(sbuf.st_rdev); in drmGetDeviceNameFromFd()
3231 min = minor(sbuf.st_rdev); in drmGetDeviceNameFromFd()
3246 d = sbuf.st_rdev; in drmGetDeviceNameFromFd()
3250 if (stat(name, &sbuf) == 0 && sbuf.st_rdev == d) in drmGetDeviceNameFromFd()
3292 maj = major(sbuf.st_rdev); in drmGetNodeTypeFromFd()
3293 min = minor(sbuf.st_rdev); in drmGetNodeTypeFromFd()
3367 maj = major(sbuf.st_rdev); in drmGetMinorNameForFD()
[all …]
/third_party/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()
/third_party/ltp/testcases/kernel/controllers/io/
Dio_control01.c145 dev_major = major(st.st_rdev); in setup()
146 dev_minor = minor(st.st_rdev); in setup()
/third_party/vk-gl-cts/framework/common/
DtcuLibDrm.cpp127 if (major == major(statBuf.st_rdev) && in findDeviceNode()
128 minor == minor(statBuf.st_rdev)) in findDeviceNode()
/third_party/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_screen.c141 vws = util_hash_table_get(dev_hash, &stat_buf.st_rdev); in vmw_winsys_create()
151 vws->device = stat_buf.st_rdev; in vmw_winsys_create()
/third_party/rust/crates/libc/src/unix/linux_like/linux/uclibc/mips/mips64/
Dmod.rs24 pub st_rdev: ::c_ulong,
48 pub st_rdev: ::c_ulong,
/third_party/rust/crates/libc/src/unix/linux_like/android/b32/
Dmod.rs34 pub st_rdev: ::c_ulonglong,
56 pub st_rdev: ::c_ulonglong,
/third_party/musl/arch/mips64/
Dkstat.h9 unsigned st_rdev; member
/third_party/musl/arch/powerpc64/bits/
Dstat.h8 dev_t st_rdev; member
/third_party/musl/arch/s390x/bits/
Dstat.h8 dev_t st_rdev; member
/third_party/musl/arch/powerpc64/
Dkstat.h8 dev_t st_rdev; member
/third_party/musl/arch/s390x/
Dkstat.h8 dev_t st_rdev; member
/third_party/musl/arch/mips/
Dkstat.h9 unsigned st_rdev; member
/third_party/musl/arch/x86_64/bits/
Dstat.h13 dev_t st_rdev; member
/third_party/musl/arch/mipsn32/
Dkstat.h9 unsigned st_rdev; member

123456789