Lines Matching refs:file

46 struct file;
152 * userspace closes the file before the event is delivered.
158 * struct drm_file - DRM file private data
160 * This structure tracks DRM state per open file descriptor.
270 * @pid: Process that is using this file.
293 /** @minor: &struct drm_minor for this file. */
312 /** @filp: Pointer to the core file structure. */
313 struct file *filp;
326 * List of &struct drm_framebuffer associated with this file, using the
354 * events in case this file gets closed before the event is signalled.
386 * Per-file buffer caches used by the PRIME buffer sharing code.
392 * drm_is_primary_client - is this an open file of the primary node
393 * @file_priv: DRM file
395 * Returns true if this is an open file of the primary node, i.e.
407 * drm_is_render_client - is this an open file of the render node
408 * @file_priv: DRM file
410 * Returns true if this is an open file of the render node, i.e.
421 * drm_is_accel_client - is this an open file of the compute acceleration node
422 * @file_priv: DRM file
424 * Returns true if this is an open file of the compute acceleration node, i.e.
437 int drm_open(struct inode *inode, struct file *filp);
438 int drm_open_helper(struct file *filp, struct drm_minor *minor);
439 ssize_t drm_read(struct file *filp, char __user *buffer,
441 int drm_release(struct inode *inode, struct file *filp);
442 int drm_release_noglobal(struct inode *inode, struct file *filp);
443 __poll_t drm_poll(struct file *filp, struct poll_table_struct *wait);
485 void drm_show_memory_stats(struct drm_printer *p, struct drm_file *file);
486 void drm_show_fdinfo(struct seq_file *m, struct file *f);
488 struct file *mock_drm_getfile(struct drm_minor *minor, unsigned int flags);