Lines Matching refs:auth
144 struct drm_auth *auth = data; in drm_getmagic() local
148 auth->magic = file_priv->magic; in drm_getmagic()
154 auth->magic = sequence++; in drm_getmagic()
156 } while (drm_find_file(file_priv->master, auth->magic)); in drm_getmagic()
157 file_priv->magic = auth->magic; in drm_getmagic()
158 drm_add_magic(file_priv->master, file_priv, auth->magic); in drm_getmagic()
161 DRM_DEBUG("%u\n", auth->magic); in drm_getmagic()
180 struct drm_auth *auth = data; in drm_authmagic() local
183 DRM_DEBUG("%u\n", auth->magic); in drm_authmagic()
184 if ((file = drm_find_file(file_priv->master, auth->magic))) { in drm_authmagic()
186 drm_remove_magic(file_priv->master, auth->magic); in drm_authmagic()