Lines Matching refs:file
91 static int compat_drm_version(struct file *file, unsigned int cmd, in compat_drm_version() argument
111 err = drm_ioctl_kernel(file, drm_version, &v, in compat_drm_version()
132 static int compat_drm_getunique(struct file *file, unsigned int cmd, in compat_drm_getunique() argument
149 err = drm_ioctl_kernel(file, drm_getunique, &uq, 0); in compat_drm_getunique()
159 static int compat_drm_setunique(struct file *file, unsigned int cmd, in compat_drm_setunique() argument
176 static int compat_drm_getmap(struct file *file, unsigned int cmd, in compat_drm_getmap() argument
188 err = drm_ioctl_kernel(file, drm_legacy_getmap_ioctl, &map, 0); in compat_drm_getmap()
204 static int compat_drm_addmap(struct file *file, unsigned int cmd, in compat_drm_addmap() argument
220 err = drm_ioctl_kernel(file, drm_legacy_addmap_ioctl, &map, in compat_drm_addmap()
238 static int compat_drm_rmmap(struct file *file, unsigned int cmd, in compat_drm_rmmap() argument
248 return drm_ioctl_kernel(file, drm_legacy_rmmap_ioctl, &map, DRM_AUTH); in compat_drm_rmmap()
261 static int compat_drm_getclient(struct file *file, unsigned int cmd, in compat_drm_getclient() argument
276 err = drm_ioctl_kernel(file, drm_getclient, &client, 0); in compat_drm_getclient()
300 static int compat_drm_getstats(struct file *file, unsigned int cmd, in compat_drm_getstats() argument
321 static int compat_drm_addbufs(struct file *file, unsigned int cmd, in compat_drm_addbufs() argument
337 err = drm_ioctl_kernel(file, drm_legacy_addbufs, &desc, in compat_drm_addbufs()
352 static int compat_drm_markbufs(struct file *file, unsigned int cmd, in compat_drm_markbufs() argument
366 return drm_ioctl_kernel(file, drm_legacy_markbufs, &buf, in compat_drm_markbufs()
397 static int compat_drm_infobufs(struct file *file, unsigned int cmd, in compat_drm_infobufs() argument
410 err = drm_ioctl_kernel(file, drm_legacy_infobufs32, &req32, DRM_AUTH); in compat_drm_infobufs()
461 static int compat_drm_mapbufs(struct file *file, unsigned int cmd, in compat_drm_mapbufs() argument
473 err = drm_ioctl_kernel(file, drm_legacy_mapbufs32, &req32, DRM_AUTH); in compat_drm_mapbufs()
489 static int compat_drm_freebufs(struct file *file, unsigned int cmd, in compat_drm_freebufs() argument
501 return drm_ioctl_kernel(file, drm_legacy_freebufs, &request, DRM_AUTH); in compat_drm_freebufs()
509 static int compat_drm_setsareactx(struct file *file, unsigned int cmd, in compat_drm_setsareactx() argument
521 return drm_ioctl_kernel(file, drm_legacy_setsareactx, &request, in compat_drm_setsareactx()
525 static int compat_drm_getsareactx(struct file *file, unsigned int cmd, in compat_drm_getsareactx() argument
537 err = drm_ioctl_kernel(file, drm_legacy_getsareactx, &req, DRM_AUTH); in compat_drm_getsareactx()
553 static int compat_drm_resctx(struct file *file, unsigned int cmd, in compat_drm_resctx() argument
566 err = drm_ioctl_kernel(file, drm_legacy_resctx, &res, DRM_AUTH); in compat_drm_resctx()
590 static int compat_drm_dma(struct file *file, unsigned int cmd, in compat_drm_dma() argument
609 err = drm_ioctl_kernel(file, drm_legacy_dma_ioctl, &d, DRM_AUTH); in compat_drm_dma()
627 static int compat_drm_agp_enable(struct file *file, unsigned int cmd, in compat_drm_agp_enable() argument
636 return drm_ioctl_kernel(file, drm_legacy_agp_enable_ioctl, &mode, in compat_drm_agp_enable()
654 static int compat_drm_agp_info(struct file *file, unsigned int cmd, in compat_drm_agp_info() argument
662 err = drm_ioctl_kernel(file, drm_legacy_agp_info_ioctl, &info, DRM_AUTH); in compat_drm_agp_info()
688 static int compat_drm_agp_alloc(struct file *file, unsigned int cmd, in compat_drm_agp_alloc() argument
701 err = drm_ioctl_kernel(file, drm_legacy_agp_alloc_ioctl, &request, in compat_drm_agp_alloc()
709 drm_ioctl_kernel(file, drm_legacy_agp_free_ioctl, &request, in compat_drm_agp_alloc()
717 static int compat_drm_agp_free(struct file *file, unsigned int cmd, in compat_drm_agp_free() argument
726 return drm_ioctl_kernel(file, drm_legacy_agp_free_ioctl, &request, in compat_drm_agp_free()
735 static int compat_drm_agp_bind(struct file *file, unsigned int cmd, in compat_drm_agp_bind() argument
747 return drm_ioctl_kernel(file, drm_legacy_agp_bind_ioctl, &request, in compat_drm_agp_bind()
751 static int compat_drm_agp_unbind(struct file *file, unsigned int cmd, in compat_drm_agp_unbind() argument
760 return drm_ioctl_kernel(file, drm_legacy_agp_unbind_ioctl, &request, in compat_drm_agp_unbind()
770 static int compat_drm_sg_alloc(struct file *file, unsigned int cmd, in compat_drm_sg_alloc() argument
780 err = drm_ioctl_kernel(file, drm_legacy_sg_alloc, &request, in compat_drm_sg_alloc()
792 static int compat_drm_sg_free(struct file *file, unsigned int cmd, in compat_drm_sg_free() argument
802 return drm_ioctl_kernel(file, drm_legacy_sg_free, &request, in compat_drm_sg_free()
815 static int compat_drm_update_draw(struct file *file, unsigned int cmd, in compat_drm_update_draw() argument
841 static int compat_drm_wait_vblank(struct file *file, unsigned int cmd, in compat_drm_wait_vblank() argument
857 err = drm_ioctl_kernel(file, drm_wait_vblank_ioctl, &req, DRM_UNLOCKED); in compat_drm_wait_vblank()
882 static int compat_drm_mode_addfb2(struct file *file, unsigned int cmd, in compat_drm_mode_addfb2() argument
899 err = drm_ioctl_kernel(file, drm_mode_addfb2, &req64, 0); in compat_drm_mode_addfb2()
971 long drm_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in drm_compat_ioctl()