Lines Matching refs:auth
147 drm_auth_t auth;
151 auth.magic = priv->magic;
157 auth.magic = sequence++;
159 } while (drm_find_file(dev, auth.magic));
160 priv->magic = auth.magic;
161 drm_add_magic(dev, priv, auth.magic);
164 DRM_DEBUG("%u\n", auth.magic);
165 if (copy_to_user((drm_auth_t __user *) arg, &auth, sizeof(auth)))
186 drm_auth_t auth;
189 if (copy_from_user(&auth, (drm_auth_t __user *) arg, sizeof(auth)))
191 DRM_DEBUG("%u\n", auth.magic);
192 if ((file = drm_find_file(dev, auth.magic))) {
194 drm_remove_magic(dev, auth.magic);