Searched refs:master2_fd (Results 1 – 3 of 3) sorted by relevance
90 let master2_fd = posix_openpt(OFlag::O_RDWR).unwrap(); in test_ptsname_unique() localVariable91 assert!(master2_fd.as_raw_fd() > 0); in test_ptsname_unique()95 let slave_name2 = unsafe { ptsname(&master2_fd) }.unwrap(); in test_ptsname_unique()
698 int master2_fd; in master_tests() local702 master2_fd = drm_open_driver_master(DRIVER_ANY); in master_tests()704 igt_assert_eq(rmfb(master2_fd, f.fb_id), -ENOENT); in master_tests()706 igt_device_drop_master(master2_fd); in master_tests()707 close(master2_fd); in master_tests()
1152 int lease_fd, master2_fd, lease2_fd; in multimaster_lease() local1159 master2_fd = drm_open_driver(DRIVER_ANY); in multimaster_lease()1161 igt_assert(!is_master(master2_fd)); in multimaster_lease()1163 _create_simple_lease(master2_fd, data, -EACCES); in multimaster_lease()1166 igt_device_set_master(master2_fd); in multimaster_lease()1170 igt_assert(is_master(master2_fd)); in multimaster_lease()1172 drmSetClientCap(master2_fd, DRM_CLIENT_CAP_UNIVERSAL_PLANES, 1); in multimaster_lease()1173 lease2_fd = create_simple_lease(master2_fd, data); in multimaster_lease()1175 close(master2_fd); /* close is an implicit DropMaster */ in multimaster_lease()