Lines Matching refs:file

92 static int compat_drm_version(struct file *file, unsigned int cmd,  in compat_drm_version()  argument
112 err = drm_ioctl_kernel(file, drm_version, &v, in compat_drm_version()
133 static int compat_drm_getunique(struct file *file, unsigned int cmd, in compat_drm_getunique() argument
150 err = drm_ioctl_kernel(file, drm_getunique, &uq, 0); in compat_drm_getunique()
160 static int compat_drm_setunique(struct file *file, unsigned int cmd, in compat_drm_setunique() argument
177 static int compat_drm_getmap(struct file *file, unsigned int cmd, in compat_drm_getmap() argument
189 err = drm_ioctl_kernel(file, drm_legacy_getmap_ioctl, &map, 0); in compat_drm_getmap()
205 static int compat_drm_addmap(struct file *file, unsigned int cmd, in compat_drm_addmap() argument
221 err = drm_ioctl_kernel(file, drm_legacy_addmap_ioctl, &map, in compat_drm_addmap()
239 static int compat_drm_rmmap(struct file *file, unsigned int cmd, in compat_drm_rmmap() argument
249 return drm_ioctl_kernel(file, drm_legacy_rmmap_ioctl, &map, DRM_AUTH); in compat_drm_rmmap()
262 static int compat_drm_getclient(struct file *file, unsigned int cmd, in compat_drm_getclient() argument
277 err = drm_ioctl_kernel(file, drm_getclient, &client, 0); in compat_drm_getclient()
301 static int compat_drm_getstats(struct file *file, unsigned int cmd, in compat_drm_getstats() argument
307 err = drm_ioctl_kernel(file, drm_noop, NULL, 0); in compat_drm_getstats()
326 static int compat_drm_addbufs(struct file *file, unsigned int cmd, in compat_drm_addbufs() argument
342 err = drm_ioctl_kernel(file, drm_legacy_addbufs, &desc, in compat_drm_addbufs()
357 static int compat_drm_markbufs(struct file *file, unsigned int cmd, in compat_drm_markbufs() argument
371 return drm_ioctl_kernel(file, drm_legacy_markbufs, &buf, in compat_drm_markbufs()
402 static int compat_drm_infobufs(struct file *file, unsigned int cmd, in compat_drm_infobufs() argument
415 err = drm_ioctl_kernel(file, drm_legacy_infobufs32, &req32, DRM_AUTH); in compat_drm_infobufs()
466 static int compat_drm_mapbufs(struct file *file, unsigned int cmd, in compat_drm_mapbufs() argument
478 err = drm_ioctl_kernel(file, drm_legacy_mapbufs32, &req32, DRM_AUTH); in compat_drm_mapbufs()
494 static int compat_drm_freebufs(struct file *file, unsigned int cmd, in compat_drm_freebufs() argument
506 return drm_ioctl_kernel(file, drm_legacy_freebufs, &request, DRM_AUTH); in compat_drm_freebufs()
514 static int compat_drm_setsareactx(struct file *file, unsigned int cmd, in compat_drm_setsareactx() argument
526 return drm_ioctl_kernel(file, drm_legacy_setsareactx, &request, in compat_drm_setsareactx()
530 static int compat_drm_getsareactx(struct file *file, unsigned int cmd, in compat_drm_getsareactx() argument
542 err = drm_ioctl_kernel(file, drm_legacy_getsareactx, &req, DRM_AUTH); in compat_drm_getsareactx()
558 static int compat_drm_resctx(struct file *file, unsigned int cmd, in compat_drm_resctx() argument
571 err = drm_ioctl_kernel(file, drm_legacy_resctx, &res, DRM_AUTH); in compat_drm_resctx()
595 static int compat_drm_dma(struct file *file, unsigned int cmd, in compat_drm_dma() argument
614 err = drm_ioctl_kernel(file, drm_legacy_dma_ioctl, &d, DRM_AUTH); in compat_drm_dma()
631 static int compat_drm_agp_enable(struct file *file, unsigned int cmd, in compat_drm_agp_enable() argument
640 return drm_ioctl_kernel(file, drm_agp_enable_ioctl, &mode, in compat_drm_agp_enable()
658 static int compat_drm_agp_info(struct file *file, unsigned int cmd, in compat_drm_agp_info() argument
666 err = drm_ioctl_kernel(file, drm_agp_info_ioctl, &info, DRM_AUTH); in compat_drm_agp_info()
692 static int compat_drm_agp_alloc(struct file *file, unsigned int cmd, in compat_drm_agp_alloc() argument
705 err = drm_ioctl_kernel(file, drm_agp_alloc_ioctl, &request, in compat_drm_agp_alloc()
713 drm_ioctl_kernel(file, drm_agp_free_ioctl, &request, in compat_drm_agp_alloc()
721 static int compat_drm_agp_free(struct file *file, unsigned int cmd, in compat_drm_agp_free() argument
730 return drm_ioctl_kernel(file, drm_agp_free_ioctl, &request, in compat_drm_agp_free()
739 static int compat_drm_agp_bind(struct file *file, unsigned int cmd, in compat_drm_agp_bind() argument
751 return drm_ioctl_kernel(file, drm_agp_bind_ioctl, &request, in compat_drm_agp_bind()
755 static int compat_drm_agp_unbind(struct file *file, unsigned int cmd, in compat_drm_agp_unbind() argument
764 return drm_ioctl_kernel(file, drm_agp_unbind_ioctl, &request, in compat_drm_agp_unbind()
775 static int compat_drm_sg_alloc(struct file *file, unsigned int cmd, in compat_drm_sg_alloc() argument
785 err = drm_ioctl_kernel(file, drm_legacy_sg_alloc, &request, in compat_drm_sg_alloc()
797 static int compat_drm_sg_free(struct file *file, unsigned int cmd, in compat_drm_sg_free() argument
807 return drm_ioctl_kernel(file, drm_legacy_sg_free, &request, in compat_drm_sg_free()
820 static int compat_drm_update_draw(struct file *file, unsigned int cmd, in compat_drm_update_draw() argument
828 return drm_ioctl_kernel(file, drm_noop, NULL, in compat_drm_update_draw()
851 static int compat_drm_wait_vblank(struct file *file, unsigned int cmd, in compat_drm_wait_vblank() argument
867 err = drm_ioctl_kernel(file, drm_wait_vblank_ioctl, &req, DRM_UNLOCKED); in compat_drm_wait_vblank()
892 static int compat_drm_mode_addfb2(struct file *file, unsigned int cmd, in compat_drm_mode_addfb2() argument
909 err = drm_ioctl_kernel(file, drm_mode_addfb2, &req64, 0); in compat_drm_mode_addfb2()
981 long drm_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in drm_compat_ioctl()