Home
last modified time | relevance | path

Searched refs:makedev (Results 1 – 25 of 73) sorted by relevance

123

/external/e2fsprogs/include/mingw/sys/
Dsysmacros.h9 #ifndef makedev
10 #define makedev(maj, min) (((maj) << 8) + (min)) macro
/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/python/cpython2/Lib/test/
Dtest_posix.py295 self.assertEqual(posix.makedev(major, minor), dev)
296 self.assertEqual(posix.makedev(int(major), int(minor)), dev)
297 self.assertEqual(posix.makedev(long(major), long(minor)), dev)
298 self.assertRaises(TypeError, posix.makedev, float(major), minor)
299 self.assertRaises(TypeError, posix.makedev, major, float(minor))
300 self.assertRaises(TypeError, posix.makedev, major)
301 self.assertRaises(TypeError, posix.makedev)
/external/ltp/testcases/kernel/syscalls/mknod/
Dmknod01.c85 dev = makedev(1, 3); in main()
Dmknod07.c155 makedev(test_case->major, test_case->minor))); in mknod_verify()
/external/strace/tests-m32/
Dmknod.c50 dev = (unsigned long) 0xdeadbeef00000000ULL | makedev(1, 7); in main()
Dmknodat.c50 dev = (unsigned long) 0xdeadbeef00000000ULL | makedev(1, 7); in main()
/external/strace/tests-mx32/
Dmknodat.c50 dev = (unsigned long) 0xdeadbeef00000000ULL | makedev(1, 7); in main()
Dmknod.c50 dev = (unsigned long) 0xdeadbeef00000000ULL | makedev(1, 7); in main()
/external/strace/tests/
Dmknodat.c50 dev = (unsigned long) 0xdeadbeef00000000ULL | makedev(1, 7); in main()
Dmknod.c50 dev = (unsigned long) 0xdeadbeef00000000ULL | makedev(1, 7); in main()
/external/ltp/testcases/kernel/device-drivers/dev_sim_framework/user_space/
Duser_tmod.c58 devt = makedev(TMOD_MAJOR, 0); in tmodopen()
/external/ltp/testcases/kernel/device-drivers/include/
DuserBlockInclude.c84 devt = makedev(INCLUDEMAJOR, 0); in open_block_device()
/external/ltp/testcases/kernel/device-drivers/nls/
DuserBlockNLS.c82 devt = makedev(NLSMAJOR, 0); in open_block_device()
/external/e2fsprogs/lib/blkid/
Ddevname.c294 ret = makedev(ma, mi); in lvm_get_devno()
386 probe_one(cache, device, makedev(ma, mi), BLKID_PRI_EVMS, in evms_probe_all()
438 devs[which] = makedev(ma, mi); in probe_all()
/external/ltp/testcases/kernel/syscalls/getxattr/
Dgetxattr02.c143 dev = makedev(1, 3); in setup()
/external/ltp/testcases/kernel/device-drivers/usb/user_usb/
Duser_tusb.c39 devt = makedev(TUSB_MAJOR, 0); in tusbopen()
/external/rootdev/
Dmain.c126 root_dev = makedev(flag_major, flag_minor); in main()
Drootdev.c80 dev = makedev(major_num, minor_num); in devt_from_file()
330 dev = makedev(major_num, minor_num + config[i].offset); in rootdev_create_devices()
/external/e2fsprogs/misc/
Dmk_hugefiles.c106 #ifndef makedev
107 #define makedev(maj, min) (((maj) << 8) + (min)) macro
132 if (makedev(major, minor) == devno) { in search_sysfs_block()
/external/ltp/testcases/kernel/syscalls/statx/
Dstatx01.c157 SAFE_MKNOD(DEVICEFILE, S_IFBLK | 0777, makedev(MAJOR, MINOR)); in setup()
/external/ltp/testcases/kernel/device-drivers/base/user_base/
Duser_tbase.c54 devt = makedev(TBASEMAJOR, 0); in tbaseopen()
/external/ltp/testcases/kernel/device-drivers/agp/user_space/
Duser_tagp.c54 devt = makedev(TAGP_MAJOR, 0); in tagpopen()
/external/e2fsprogs/lib/ext2fs/
Dfinddev.c204 device = makedev(major, minor); in main()
/external/ltp/testcases/kernel/syscalls/setxattr/
Dsetxattr02.c184 dev_t dev = makedev(1, 3); in setup()

123