Lines Matching defs:file
33 #include <linux/file.h>
44 /** @file drm_gem.c
46 * This file provides some of the base ioctls and library routines for
58 * struct file. However, file descriptors as handles to a struct file have
67 * ioctls. The objects themselves will still include the struct file so
136 struct file *filp;
243 * drm_gem_handle_delete - deletes the given file-private handle
244 * @filp: drm file-private structure to use for the handle look up
293 * @file: drm file-private structure to remove the dumb handle from
300 int drm_gem_dumb_destroy(struct drm_file *file,
304 return drm_gem_handle_delete(file, handle);
310 * @file_priv: drm file-private structure to register the handle for
366 * @file_priv: drm file-private structure to register the handle for
573 * @file_priv: drm file-private structure
596 * @file_priv: drm file-private structure
648 * @file_priv: drm file-private structure
689 * gem_gem_open - initalizes GEM file-private structures at devnode open time
691 * @file_private: drm file-private structure to set up
704 * Called at device close to release the file's
727 * drm_gem_release - release file-private GEM resources
729 * @file_private: drm file-private structure to clean up
861 * @filp: DRM file pointer
864 * If a driver supports GEM object mapping, mmap calls on the DRM file
874 int drm_gem_mmap(struct file *filp, struct vm_area_struct *vma)