Lines Matching refs:auth
190 struct drm_auth *auth = data;
194 auth->magic = file->magic;
198 auth->magic = old + 1;
199 if (!atomic_cmpset_int(&sequence, old, auth->magic))
201 } while (drm_find_file(file->master, auth->magic));
202 file->magic = auth->magic;
203 (void) drm_add_magic(file->master, file, auth->magic);
206 DRM_DEBUG("%u\n", auth->magic);
227 struct drm_auth *auth = data;
230 DRM_DEBUG("%u\n", auth->magic);
231 if ((file_priv = drm_find_file(file->master, auth->magic))) {
233 (void) drm_remove_magic(file->master, auth->magic);