/include/media/ |
D | v4l2-ioctl.h | 300 int (*vidioc_querycap)(struct file *file, void *fh, 304 int (*vidioc_enum_fmt_vid_cap)(struct file *file, void *fh, 306 int (*vidioc_enum_fmt_vid_overlay)(struct file *file, void *fh, 308 int (*vidioc_enum_fmt_vid_out)(struct file *file, void *fh, 310 int (*vidioc_enum_fmt_sdr_cap)(struct file *file, void *fh, 312 int (*vidioc_enum_fmt_sdr_out)(struct file *file, void *fh, 314 int (*vidioc_enum_fmt_meta_cap)(struct file *file, void *fh, 316 int (*vidioc_enum_fmt_meta_out)(struct file *file, void *fh, 320 int (*vidioc_g_fmt_vid_cap)(struct file *file, void *fh, 322 int (*vidioc_g_fmt_vid_overlay)(struct file *file, void *fh, [all …]
|
D | videobuf2-v4l2.h | 302 __poll_t vb2_poll(struct vb2_queue *q, struct file *file, poll_table *wait); 314 int vb2_ioctl_reqbufs(struct file *file, void *priv, 316 int vb2_ioctl_create_bufs(struct file *file, void *priv, 318 int vb2_ioctl_prepare_buf(struct file *file, void *priv, 320 int vb2_ioctl_querybuf(struct file *file, void *priv, struct v4l2_buffer *p); 321 int vb2_ioctl_qbuf(struct file *file, void *priv, struct v4l2_buffer *p); 322 int vb2_ioctl_dqbuf(struct file *file, void *priv, struct v4l2_buffer *p); 323 int vb2_ioctl_streamon(struct file *file, void *priv, enum v4l2_buf_type i); 324 int vb2_ioctl_streamoff(struct file *file, void *priv, enum v4l2_buf_type i); 325 int vb2_ioctl_expbuf(struct file *file, void *priv, [all …]
|
D | v4l2-mem2mem.h | 336 int v4l2_m2m_reqbufs(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 348 int v4l2_m2m_querybuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 359 int v4l2_m2m_qbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 370 int v4l2_m2m_dqbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 381 int v4l2_m2m_prepare_buf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 392 int v4l2_m2m_create_bufs(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 403 int v4l2_m2m_expbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 413 int v4l2_m2m_streamon(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 423 int v4l2_m2m_streamoff(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 453 int v4l2_m2m_encoder_cmd(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, [all …]
|
D | media-devnode.h | 49 ssize_t (*read) (struct file *, char __user *, size_t, loff_t *); 50 ssize_t (*write) (struct file *, const char __user *, size_t, loff_t *); 51 __poll_t (*poll) (struct file *, struct poll_table_struct *); 52 long (*ioctl) (struct file *, unsigned int, unsigned long); 53 long (*compat_ioctl) (struct file *, unsigned int, unsigned long); 54 int (*open) (struct file *); 55 int (*release) (struct file *); 147 static inline struct media_devnode *media_devnode_data(struct file *filp) in media_devnode_data()
|
D | v4l2-dev.h | 203 ssize_t (*read) (struct file *, char __user *, size_t, loff_t *); 204 ssize_t (*write) (struct file *, const char __user *, size_t, loff_t *); 205 __poll_t (*poll) (struct file *, struct poll_table_struct *); 206 long (*unlocked_ioctl) (struct file *, unsigned int, unsigned long); 208 long (*compat_ioctl32) (struct file *, unsigned int, unsigned long); 210 unsigned long (*get_unmapped_area) (struct file *, unsigned long, 212 int (*mmap) (struct file *, struct vm_area_struct *); 213 int (*open) (struct file *); 214 int (*release) (struct file *); 510 struct video_device *video_devdata(struct file *file); [all …]
|
D | dvbdev.h | 175 int (*kernel_ioctl)(struct file *file, unsigned int cmd, void *arg); 340 int dvb_generic_open(struct inode *inode, struct file *file); 351 int dvb_generic_release(struct inode *inode, struct file *file); 363 long dvb_generic_ioctl(struct file *file, 379 int dvb_usercopy(struct file *file, unsigned int cmd, unsigned long arg, 380 int (*func)(struct file *file, unsigned int cmd, void *arg));
|
/include/linux/ |
D | file.h | 14 struct file; 16 extern void fput(struct file *); 17 extern void fput_many(struct file *, unsigned int); 25 extern struct file *alloc_file_pseudo(struct inode *, struct vfsmount *, 27 extern struct file *alloc_file_clone(struct file *, int flags, 30 static inline void fput_light(struct file *file, int fput_needed) in fput_light() argument 33 fput(file); in fput_light() 37 struct file *file; member 46 fput(fd.file); in fdput() 49 extern struct file *fget(unsigned int fd); [all …]
|
D | eventpoll.h | 16 struct file; 22 struct file *get_epoll_tfile_raw_ptr(struct file *file, int tfd, unsigned long toff); 26 void eventpoll_release_file(struct file *file); 34 static inline void eventpoll_release(struct file *file) in eventpoll_release() argument 45 if (likely(!file->f_ep)) in eventpoll_release() 53 eventpoll_release_file(file); in eventpoll_release() 67 static inline void eventpoll_release(struct file *file) {} in eventpoll_release() argument
|
D | ima.h | 20 extern int ima_file_check(struct file *file, int mask); 23 extern void ima_file_free(struct file *file); 24 extern int ima_file_mmap(struct file *file, unsigned long reqprot, 30 extern int ima_read_file(struct file *file, enum kernel_read_file_id id, 32 extern int ima_post_read_file(struct file *file, void *buf, loff_t size, 36 extern int ima_file_hash(struct file *file, char *buf, size_t buf_size); 80 static inline int ima_file_check(struct file *file, int mask) in ima_file_check() argument 90 static inline void ima_file_free(struct file *file) in ima_file_free() argument 95 static inline int ima_file_mmap(struct file *file, unsigned long reqprot, in ima_file_mmap() argument 119 static inline int ima_read_file(struct file *file, enum kernel_read_file_id id, in ima_read_file() argument [all …]
|
D | dlm_plock.h | 10 int dlm_posix_lock(dlm_lockspace_t *lockspace, u64 number, struct file *file, 12 int dlm_posix_unlock(dlm_lockspace_t *lockspace, u64 number, struct file *file, 14 int dlm_posix_get(dlm_lockspace_t *lockspace, u64 number, struct file *file,
|
D | fs.h | 239 struct file *ia_file; 328 struct file *ki_filp; 376 int (*readpage)(struct file *, struct page *); 388 int (*readpages)(struct file *filp, struct address_space *mapping, 392 int (*write_begin)(struct file *, struct address_space *mapping, 395 int (*write_end)(struct file *, struct address_space *mapping, 420 int (*swap_activate)(struct swap_info_struct *sis, struct file *file, 422 void (*swap_deactivate)(struct file *file); 436 int pagecache_write_begin(struct file *, struct address_space *mapping, 440 int pagecache_write_end(struct file *, struct address_space *mapping, [all …]
|
D | splice.h | 38 struct file *file; /* file to read/write */ member 70 extern ssize_t splice_from_pipe(struct pipe_inode_info *, struct file *, 79 extern ssize_t splice_direct_to_actor(struct file *, struct splice_desc *, 81 extern long do_splice(struct file *in, loff_t *off_in, 82 struct file *out, loff_t *off_out, 85 extern long do_tee(struct file *in, struct file *out, size_t len,
|
D | if_tap.h | 6 struct socket *tap_get_socket(struct file *); 7 struct ptr_ring *tap_get_ptr_ring(struct file *file); 11 struct file; 13 static inline struct socket *tap_get_socket(struct file *f) in tap_get_socket() 17 static inline struct ptr_ring *tap_get_ptr_ring(struct file *f) in tap_get_ptr_ring() 67 struct file *file; member
|
D | if_tun.h | 28 struct socket *tun_get_socket(struct file *); 29 struct ptr_ring *tun_get_tx_ring(struct file *file); 46 struct file; 48 static inline struct socket *tun_get_socket(struct file *f) in tun_get_socket() 52 static inline struct ptr_ring *tun_get_tx_ring(struct file *f) in tun_get_tx_ring()
|
D | fdtable.h | 29 struct file __rcu **fd; /* current fd array */ 67 struct file __rcu * fd_array[NR_OPEN_DEFAULT]; 83 static inline struct file *files_lookup_fd_raw(struct files_struct *files, unsigned int fd) in files_lookup_fd_raw() 94 static inline struct file *files_lookup_fd_locked(struct files_struct *files, unsigned int fd) in files_lookup_fd_locked() 101 static inline struct file *files_lookup_fd_rcu(struct files_struct *files, unsigned int fd) in files_lookup_fd_rcu() 108 static inline struct file *lookup_fd_rcu(unsigned int fd) in lookup_fd_rcu() 113 struct file *task_lookup_fd_rcu(struct task_struct *task, unsigned int fd); 114 struct file *task_lookup_next_fd_rcu(struct task_struct *task, unsigned int *fd); 123 int (*)(const void *, struct file *, unsigned), 128 extern int close_fd_get_file(unsigned int fd, struct file **res);
|
D | fsverity.h | 33 int (*begin_enable_verity)(struct file *filp); 55 int (*end_enable_verity)(struct file *filp, const void *desc, 129 int fsverity_ioctl_enable(struct file *filp, const void __user *arg); 133 int fsverity_ioctl_measure(struct file *filp, void __user *arg); 137 int fsverity_file_open(struct inode *inode, struct file *filp); 143 int fsverity_ioctl_read_metadata(struct file *filp, const void __user *uarg); 160 static inline int fsverity_ioctl_enable(struct file *filp, in fsverity_ioctl_enable() 168 static inline int fsverity_ioctl_measure(struct file *filp, void __user *arg) in fsverity_ioctl_measure() 175 static inline int fsverity_file_open(struct inode *inode, struct file *filp) in fsverity_file_open() 192 static inline int fsverity_ioctl_read_metadata(struct file *filp, in fsverity_ioctl_read_metadata()
|
D | dnotify.h | 16 struct file * dn_filp; 33 extern void dnotify_flush(struct file *, fl_owner_t); 34 extern int fcntl_dirnotify(int, struct file *, unsigned long); 38 static inline void dnotify_flush(struct file *filp, fl_owner_t id) in dnotify_flush() 42 static inline int fcntl_dirnotify(int fd, struct file *filp, unsigned long arg) in fcntl_dirnotify()
|
D | shm.h | 10 struct file; 19 bool is_file_shm_hugepages(struct file *file); 33 static inline bool is_file_shm_hugepages(struct file *file) in is_file_shm_hugepages() argument
|
D | seq_file.h | 27 const struct file *file; member 108 int seq_open(struct file *, const struct seq_operations *); 109 ssize_t seq_read(struct file *, char __user *, size_t, loff_t *); 111 loff_t seq_lseek(struct file *, loff_t, int); 112 int seq_release(struct inode *, struct file *); 145 int seq_file_path(struct seq_file *, struct file *, const char *); 150 int single_open(struct file *, int (*)(struct seq_file *, void *), void *); 151 int single_open_size(struct file *, int (*)(struct seq_file *, void *), void *, size_t); 152 int single_release(struct inode *, struct file *); 153 void *__seq_open_private(struct file *, const struct seq_operations *, int); [all …]
|
D | fsnotify.h | 92 static inline int fsnotify_file(struct file *file, __u32 mask) in fsnotify_file() argument 94 const struct path *path = &file->f_path; in fsnotify_file() 96 if (file->f_mode & FMODE_NONOTIFY) in fsnotify_file() 125 static inline int fsnotify_perm(struct file *file, int mask) in fsnotify_perm() argument 136 if (file->f_flags & __FMODE_EXEC) { in fsnotify_perm() 137 ret = fsnotify_file(file, FS_OPEN_EXEC_PERM); in fsnotify_perm() 146 return fsnotify_file(file, fsnotify_mask); in fsnotify_perm() 312 static inline void fsnotify_access(struct file *file) in fsnotify_access() argument 314 fsnotify_file(file, FS_ACCESS); in fsnotify_access() 320 static inline void fsnotify_modify(struct file *file) in fsnotify_modify() argument [all …]
|
D | binfmts.h | 48 struct file *executable; /* Executable to pass to the interpreter */ 49 struct file *interpreter; 50 struct file *file; member 84 struct file *file; member 103 int (*load_shlib)(struct file *); 127 extern void would_dump(struct linux_binprm *, struct file *); 144 extern ssize_t read_code(struct file *, unsigned long, loff_t, size_t);
|
/include/sound/ |
D | hwdep.h | 18 long long (*llseek)(struct snd_hwdep *hw, struct file *file, 24 int (*open)(struct snd_hwdep *hw, struct file * file); 25 int (*release)(struct snd_hwdep *hw, struct file * file); 26 __poll_t (*poll)(struct snd_hwdep *hw, struct file *file, 28 int (*ioctl)(struct snd_hwdep *hw, struct file *file, 30 int (*ioctl_compat)(struct snd_hwdep *hw, struct file *file, 32 int (*mmap)(struct snd_hwdep *hw, struct file *file,
|
/include/misc/ |
D | cxl.h | 181 struct file *cxl_get_fd(struct cxl_context *ctx, struct file_operations *fops, 184 struct cxl_context *cxl_fops_get_context(struct file *file); 194 int cxl_fd_open(struct inode *inode, struct file *file); 195 int cxl_fd_release(struct inode *inode, struct file *file); 196 long cxl_fd_ioctl(struct file *file, unsigned int cmd, unsigned long arg); 197 int cxl_fd_mmap(struct file *file, struct vm_area_struct *vm); 198 __poll_t cxl_fd_poll(struct file *file, struct poll_table_struct *poll); 199 ssize_t cxl_fd_read(struct file *file, char __user *buf, size_t count,
|
/include/trace/hooks/ |
D | syscall_check.h | 19 struct file; 23 TP_PROTO(const struct file *file, unsigned long prot, 25 TP_ARGS(file, prot, flag, ret)); 28 TP_PROTO(const struct file *file), 29 TP_ARGS(file));
|
/include/trace/events/ |
D | filemap.h | 83 TP_PROTO(struct file *file, errseq_t old), 85 TP_ARGS(file, old), 88 __field(struct file *, file) 96 __entry->file = file; 97 __entry->i_ino = file->f_mapping->host->i_ino; 98 if (file->f_mapping->host->i_sb) 100 file->f_mapping->host->i_sb->s_dev; 103 file->f_mapping->host->i_rdev; 105 __entry->new = file->f_wb_err; 109 __entry->file, MAJOR(__entry->s_dev),
|