Lines Matching refs:magic
70 unsigned long magic, iocs; in check_auth() local
75 if (drmGetClient(fd, i, &auth, &pid, &uid, &magic, &iocs) != 0) in check_auth()
90 drm_magic_t magic, *magics = NULL; in test_many_magics() local
131 igt_assert(drmGetMagic(slave, &magic) == 0); in test_many_magics()
132 igt_assert(magic > 0); in test_many_magics()
134 magics[i] = magic; in test_many_magics()
163 drm_magic_t magic, old_magic; in test_basic_auth() local
172 igt_assert(drmGetMagic(slave, &magic) == 0); in test_basic_auth()
173 igt_assert(magic > 0); in test_basic_auth()
176 old_magic = magic; in test_basic_auth()
177 igt_assert(drmGetMagic(slave, &magic) == 0); in test_basic_auth()
178 igt_assert_eq(magic, old_magic); in test_basic_auth()
181 igt_assert(drmAuthMagic(slave, magic) < 0); in test_basic_auth()
182 igt_assert(drmAuthMagic(master, magic) == 0); in test_basic_auth()
183 igt_assert(drmAuthMagic(master, magic) < 0); in test_basic_auth()
186 old_magic = magic; in test_basic_auth()
187 igt_assert(drmGetMagic(slave, &magic) == 0); in test_basic_auth()
188 igt_assert_eq(magic, old_magic); in test_basic_auth()