Lines Matching refs:drm_file
35 #include <drm/drm_file.h>
46 * primary/legacy device nodes. For every &struct drm_file which has had at
50 * This is noted in &drm_file.is_master. All other clients have just a pointer
64 static bool drm_is_current_master_locked(struct drm_file *fpriv)
82 bool drm_is_current_master(struct drm_file *fpriv)
94 int drm_getmagic(struct drm_device *dev, void *data, struct drm_file *file_priv)
115 struct drm_file *file_priv)
118 struct drm_file *file;
155 static void drm_set_master(struct drm_device *dev, struct drm_file *fpriv,
165 static int drm_new_set_master(struct drm_device *dev, struct drm_file *fpriv)
236 drm_master_check_perm(struct drm_device *dev, struct drm_file *file_priv)
249 struct drm_file *file_priv)
292 struct drm_file *fpriv)
300 struct drm_file *file_priv)
334 int drm_master_open(struct drm_file *file_priv)
355 void drm_master_release(struct drm_file *file_priv)
400 * drm_file_get_master - reference &drm_file.master of @file_priv
403 * Increments the reference count of @file_priv's &drm_file.master and returns
404 * the &drm_file.master. If @file_priv has no &drm_file.master, returns NULL.
409 struct drm_master *drm_file_get_master(struct drm_file *file_priv)