Lines Matching defs:file_priv

111  * \param file_priv DRM file private.
119 struct drm_file *file_priv)
125 master = file_priv->master;
147 static int drm_set_busid(struct drm_device *dev, struct drm_file *file_priv)
149 struct drm_master *master = file_priv->master;
179 * \param file_priv DRM file private.
189 struct drm_file *file_priv)
205 client->auth = file_priv->authenticated;
226 * \param file_priv DRM file private.
233 struct drm_file *file_priv)
246 static int drm_getcap(struct drm_device *dev, void *data, struct drm_file *file_priv)
325 drm_setclientcap(struct drm_device *dev, void *data, struct drm_file *file_priv)
339 file_priv->stereo_allowed = req->value;
344 file_priv->universal_planes = req->value;
360 file_priv->atomic = req->value;
361 file_priv->universal_planes = req->value;
365 file_priv->aspect_ratio_allowed = req->value;
370 file_priv->aspect_ratio_allowed = req->value;
373 if (!file_priv->atomic)
377 file_priv->writeback_connectors = req->value;
390 * \param file_priv DRM file private.
397 static int drm_setversion(struct drm_device *dev, void *data, struct drm_file *file_priv)
417 retcode = drm_set_busid(dev, file_priv);
446 * @file_priv: DRM file for the ioctl call
455 struct drm_file *file_priv)
466 * @file_priv: DRM file for the ioctl call
478 struct drm_file *file_priv)
525 struct drm_file *file_priv)
545 static int drm_ioctl_permit(u32 flags, struct drm_file *file_priv)
552 if (unlikely((flags & DRM_AUTH) && !drm_is_render_client(file_priv) &&
553 !file_priv->authenticated))
558 !drm_is_current_master(file_priv)))
563 drm_is_render_client(file_priv)))
846 struct drm_file *file_priv = file->private_data;
847 struct drm_device *dev = file_priv->minor->dev;
851 drm_file_update_pid(file_priv);
856 retcode = drm_ioctl_permit(flags, file_priv);
863 retcode = func(dev, kdata, file_priv);
866 retcode = func(dev, kdata, file_priv);
893 struct drm_file *file_priv = filp->private_data;
904 dev = file_priv->minor->dev;
940 (long)old_encode_dev(file_priv->minor->kdev->devt),
941 file_priv->authenticated, ioctl->name);
979 (long)old_encode_dev(file_priv->minor->kdev->devt),
980 file_priv->authenticated, cmd, nr);
1021 struct drm_file *file_priv;
1030 file_priv = drm_find_file_by_minor(dev, minor);
1032 if (file_priv == NULL) {
1039 file_priv->authenticated);
1075 retcode = drm_ioctl_permit(ioctl->flags, file_priv);
1087 retcode = func(dev, adata, file_priv);
1090 retcode = func(dev, adata, file_priv);