Lines Matching refs:file
33 #include <linux/file.h>
53 /** @file drm_gem.c
55 * This file provides some of the base ioctls and library routines for
67 * struct file. However, file descriptors as handles to a struct file have
76 * ioctls. The objects themselves will still include the struct file so
126 struct file *filp;
227 * Called at device or object close to release the file's
251 * drm_gem_handle_delete - deletes the given file-private handle
252 * @filp: drm file-private structure to use for the handle look up
286 * @file: drm file-private structure containing the gem object
297 int drm_gem_dumb_map_offset(struct drm_file *file, struct drm_device *dev,
303 obj = drm_gem_object_lookup(file, handle);
327 * @file: drm file-private structure to remove the dumb handle from
334 int drm_gem_dumb_destroy(struct drm_file *file,
338 return drm_gem_handle_delete(file, handle);
344 * @file_priv: drm file-private structure to register the handle for
417 * @file_priv: drm file-private structure to register the handle for
673 * @filp: DRM file private date
729 * @filp: DRM file private date
752 * @filep: DRM file private date
791 * @file_priv: drm file-private structure
814 * @file_priv: drm file-private structure
864 * @file_priv: drm file-private structure
906 * gem_gem_open - initalizes GEM file-private structures at devnode open time
908 * @file_private: drm file-private structure to set up
921 * drm_gem_release - release file-private GEM resources
923 * @file_private: drm file-private structure to clean up
1103 * @filp: DRM file pointer
1106 * If a driver supports GEM object mapping, mmap calls on the DRM file
1116 int drm_gem_mmap(struct file *filp, struct vm_area_struct *vma)