Lines Matching defs:file_priv

110  * \param file_priv DRM file private.
118 struct drm_file *file_priv)
124 master = file_priv->master;
146 static int drm_set_busid(struct drm_device *dev, struct drm_file *file_priv)
148 struct drm_master *master = file_priv->master;
174 * \param file_priv DRM file private.
184 struct drm_file *file_priv)
200 client->auth = file_priv->authenticated;
216 * \param file_priv DRM file private.
223 struct drm_file *file_priv)
236 static int drm_getcap(struct drm_device *dev, void *data, struct drm_file *file_priv)
316 drm_setclientcap(struct drm_device *dev, void *data, struct drm_file *file_priv)
330 file_priv->stereo_allowed = req->value;
335 file_priv->universal_planes = req->value;
347 file_priv->atomic = req->value;
348 file_priv->universal_planes = req->value;
352 file_priv->aspect_ratio_allowed = req->value;
357 file_priv->aspect_ratio_allowed = req->value;
360 if (!file_priv->atomic)
364 file_priv->writeback_connectors = req->value;
377 * \param file_priv DRM file private.
384 static int drm_setversion(struct drm_device *dev, void *data, struct drm_file *file_priv)
404 retcode = drm_set_busid(dev, file_priv);
433 * @file_priv: DRM file for the ioctl call
442 struct drm_file *file_priv)
453 * @file_priv: DRM file for the ioctl call
465 struct drm_file *file_priv)
512 struct drm_file *file_priv)
536 * @file_priv: Pointer to struct drm_file identifying the caller.
544 int drm_ioctl_permit(u32 flags, struct drm_file *file_priv)
551 if (unlikely((flags & DRM_AUTH) && !drm_is_render_client(file_priv) &&
552 !file_priv->authenticated))
557 !drm_is_current_master(file_priv)))
562 drm_is_render_client(file_priv)))
780 struct drm_file *file_priv = file->private_data;
781 struct drm_device *dev = file_priv->minor->dev;
787 retcode = drm_ioctl_permit(flags, file_priv);
794 retcode = func(dev, kdata, file_priv);
797 retcode = func(dev, kdata, file_priv);
820 struct drm_file *file_priv = filp->private_data;
831 dev = file_priv->minor->dev;
867 (long)old_encode_dev(file_priv->minor->kdev->devt),
868 file_priv->authenticated, ioctl->name);
905 (long)old_encode_dev(file_priv->minor->kdev->devt),
906 file_priv->authenticated, cmd, nr);