Home
last modified time | relevance | path

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

12

/external/e2fsprogs/include/mingw/sys/
Dsysmacros.h9 #ifndef makedev
10 #define makedev(maj, min) (((maj) << 8) + (min)) macro
/external/python/cpython2/Lib/test/
Dtest_posix.py290 self.assertEqual(posix.makedev(major, minor), dev)
291 self.assertEqual(posix.makedev(int(major), int(minor)), dev)
292 self.assertEqual(posix.makedev(long(major), long(minor)), dev)
293 self.assertRaises(TypeError, posix.makedev, float(major), minor)
294 self.assertRaises(TypeError, posix.makedev, major, float(minor))
295 self.assertRaises(TypeError, posix.makedev, major)
296 self.assertRaises(TypeError, posix.makedev)
/external/ltp/testcases/kernel/syscalls/mknod/
Dmknod01.c84 dev = makedev(1, 3); in main()
/external/strace/tests-m32/
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-mx32/
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/
Dmknod.c50 dev = (unsigned long) 0xdeadbeef00000000ULL | makedev(1, 7); in main()
Dmknodat.c50 dev = (unsigned long) 0xdeadbeef00000000ULL | makedev(1, 7); in main()
/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/ltp/testcases/kernel/device-drivers/dev_sim_framework/user_space/
Duser_tmod.c58 devt = makedev(TMOD_MAJOR, 0); in tmodopen()
/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/e2fsprogs/lib/blkid/
Ddevname.c293 ret = makedev(ma, mi); in lvm_get_devno()
385 probe_one(cache, device, makedev(ma, mi), BLKID_PRI_EVMS, in evms_probe_all()
437 devs[which] = makedev(ma, mi); in probe_all()
Ddevno.c225 devno = makedev(major, minor); in main()
/external/ltp/testcases/kernel/device-drivers/usb/user_usb/
Duser_tusb.c39 devt = makedev(TUSB_MAJOR, 0); in tusbopen()
/external/ltp/testcases/kernel/syscalls/getxattr/
Dgetxattr02.c143 dev = makedev(1, 3); in setup()
/external/rootdev/
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()
Dmain.c126 root_dev = makedev(flag_major, flag_minor); in main()
/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.c203 device = makedev(major, minor); in main()
/external/ltp/testcases/kernel/syscalls/setxattr/
Dsetxattr02.c217 dev = makedev(1, 3); in setup()
/external/ltp/testcases/kernel/syscalls/mount/
Dmount02.c195 dev = makedev(1, 3); in setup()
/external/ltp/testcases/kernel/device-drivers/drm/user_space/
Duser_tdrm.c52 devt = makedev(TDRM_MAJOR, 0); in tdrmopen()

12