| /include/media/ |
| D | v4l2-ioctl.h | 302 int (*vidioc_querycap)(struct file *file, void *fh, 306 int (*vidioc_enum_fmt_vid_cap)(struct file *file, void *fh, 308 int (*vidioc_enum_fmt_vid_overlay)(struct file *file, void *fh, 310 int (*vidioc_enum_fmt_vid_out)(struct file *file, void *fh, 312 int (*vidioc_enum_fmt_sdr_cap)(struct file *file, void *fh, 314 int (*vidioc_enum_fmt_sdr_out)(struct file *file, void *fh, 316 int (*vidioc_enum_fmt_meta_cap)(struct file *file, void *fh, 318 int (*vidioc_enum_fmt_meta_out)(struct file *file, void *fh, 322 int (*vidioc_g_fmt_vid_cap)(struct file *file, void *fh, 324 int (*vidioc_g_fmt_vid_overlay)(struct file *file, void *fh, [all …]
|
| D | videobuf2-v4l2.h | 296 __poll_t vb2_poll(struct vb2_queue *q, struct file *file, poll_table *wait); 320 static inline bool vb2_queue_is_busy(struct vb2_queue *q, struct file *file) in vb2_queue_is_busy() argument 322 return q->owner && q->owner != file->private_data; in vb2_queue_is_busy() 327 int vb2_ioctl_reqbufs(struct file *file, void *priv, 329 int vb2_ioctl_create_bufs(struct file *file, void *priv, 331 int vb2_ioctl_prepare_buf(struct file *file, void *priv, 333 int vb2_ioctl_querybuf(struct file *file, void *priv, struct v4l2_buffer *p); 334 int vb2_ioctl_qbuf(struct file *file, void *priv, struct v4l2_buffer *p); 335 int vb2_ioctl_dqbuf(struct file *file, void *priv, struct v4l2_buffer *p); 336 int vb2_ioctl_streamon(struct file *file, void *priv, enum v4l2_buf_type i); [all …]
|
| D | v4l2-mem2mem.h | 343 int v4l2_m2m_reqbufs(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 355 int v4l2_m2m_querybuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 366 int v4l2_m2m_qbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 377 int v4l2_m2m_dqbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 388 int v4l2_m2m_prepare_buf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 399 int v4l2_m2m_create_bufs(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 410 int v4l2_m2m_expbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 420 int v4l2_m2m_streamon(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 430 int v4l2_m2m_streamoff(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 460 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 *); 509 struct video_device *video_devdata(struct file *file); [all …]
|
| D | dvbdev.h | 179 int (*kernel_ioctl)(struct file *file, unsigned int cmd, void *arg); 344 int dvb_generic_open(struct inode *inode, struct file *file); 355 int dvb_generic_release(struct inode *inode, struct file *file); 367 long dvb_generic_ioctl(struct file *file, 383 int dvb_usercopy(struct file *file, unsigned int cmd, unsigned long arg, 384 int (*func)(struct file *file, unsigned int cmd, void *arg));
|
| /include/linux/ |
| D | file.h | 16 struct file; 18 extern void fput(struct file *); 26 extern struct file *alloc_file_pseudo(struct inode *, struct vfsmount *, 28 extern struct file *alloc_file_pseudo_noaccount(struct inode *, struct vfsmount *, 30 extern struct file *alloc_file_clone(struct file *, int flags, 33 static inline void fput_light(struct file *file, int fput_needed) in fput_light() argument 36 fput(file); in fput_light() 50 #define fd_file(f) ((struct file *)((f).word & ~(FDPUT_FPUT|FDPUT_POS_UNLOCK))) 57 static inline struct fd BORROWED_FD(struct file *f) in BORROWED_FD() 61 static inline struct fd CLONED_FD(struct file *f) in CLONED_FD() [all …]
|
| D | memfd.h | 8 extern long memfd_fcntl(struct file *file, unsigned int cmd, unsigned int arg); 9 struct folio *memfd_alloc_folio(struct file *memfd, pgoff_t idx); 10 unsigned int *memfd_file_seals_ptr(struct file *file); 12 static inline long memfd_fcntl(struct file *f, unsigned int c, unsigned int a) in memfd_fcntl() 16 static inline struct folio *memfd_alloc_folio(struct file *memfd, pgoff_t idx) in memfd_alloc_folio() 21 static inline unsigned int *memfd_file_seals_ptr(struct file *file) in memfd_file_seals_ptr() argument 28 static inline unsigned int memfd_file_seals(struct file *file) in memfd_file_seals() argument 30 unsigned int *sealsp = memfd_file_seals_ptr(file); in memfd_file_seals()
|
| 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(!READ_ONCE(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 | backing-file.h | 17 struct file *user_file; 18 void (*accessed)(struct file *); 19 void (*end_write)(struct file *, loff_t, ssize_t); 22 struct file *backing_file_open(const struct path *user_path, int flags, 25 struct file *backing_tmpfile_open(const struct path *user_path, int flags, 28 ssize_t backing_file_read_iter(struct file *file, struct iov_iter *iter, 31 ssize_t backing_file_write_iter(struct file *file, struct iov_iter *iter, 34 ssize_t backing_file_splice_read(struct file *in, loff_t *ppos, 39 struct file *out, loff_t *ppos, size_t len, 42 int backing_file_mmap(struct file *file, struct vm_area_struct *vma,
|
| 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_cancel(dlm_lockspace_t *lockspace, u64 number, struct file *file, 16 int dlm_posix_get(dlm_lockspace_t *lockspace, u64 number, struct file *file,
|
| D | splice.h | 38 struct file *file; /* file to read/write */ member 71 ssize_t splice_from_pipe(struct pipe_inode_info *pipe, struct file *out, 79 ssize_t vfs_splice_read(struct file *in, loff_t *ppos, 82 ssize_t splice_direct_to_actor(struct file *file, struct splice_desc *sd, 84 ssize_t do_splice(struct file *in, loff_t *off_in, struct file *out, 86 ssize_t do_splice_direct(struct file *in, loff_t *ppos, struct file *out, 88 ssize_t splice_file_range(struct file *in, loff_t *ppos, struct file *out, 91 static inline long splice_copy_file_range(struct file *in, loff_t pos_in, in splice_copy_file_range() 92 struct file *out, loff_t pos_out, in splice_copy_file_range() 98 ssize_t do_tee(struct file *in, struct file *out, size_t len, [all …]
|
| D | fs.h | 263 struct file *ia_file; 369 struct file *ki_filp; 401 int (*read_folio)(struct file *, struct folio *); 411 int (*write_begin)(struct file *, struct address_space *mapping, 414 int (*write_end)(struct file *, struct address_space *mapping, 437 int (*swap_activate)(struct swap_info_struct *sis, struct file *file, 439 void (*swap_deactivate)(struct file *file); 968 struct file *file; /* backpointer for security modules */ member 1034 struct file { struct 1084 static inline struct file *get_file(struct file *f) in get_file() [all …]
|
| D | fsnotify.h | 114 static inline int fsnotify_file(struct file *file, __u32 mask) in fsnotify_file() argument 124 if (file->f_mode & (FMODE_NONOTIFY | FMODE_PATH)) in fsnotify_file() 127 path = &file->f_path; in fsnotify_file() 166 static inline int fsnotify_file_area_perm(struct file *file, int perm_mask, in fsnotify_file_area_perm() argument 176 lockdep_assert_once(file_write_not_started(file)); in fsnotify_file_area_perm() 181 return fsnotify_file(file, fsnotify_mask); in fsnotify_file_area_perm() 187 static inline int fsnotify_file_perm(struct file *file, int perm_mask) in fsnotify_file_perm() argument 189 return fsnotify_file_area_perm(file, perm_mask, NULL, 0); in fsnotify_file_perm() 195 static inline int fsnotify_open_perm(struct file *file) in fsnotify_open_perm() argument 199 if (file->f_flags & __FMODE_EXEC) { in fsnotify_open_perm() [all …]
|
| D | filelock.h | 109 struct file *flc_file; 150 int fcntl_getlk(struct file *, unsigned int, struct flock *); 151 int fcntl_setlk(unsigned int, struct file *, unsigned int, 155 int fcntl_getlk64(struct file *, unsigned int, struct flock64 *); 156 int fcntl_setlk64(unsigned int, struct file *, unsigned int, 160 int fcntl_setlease(unsigned int fd, struct file *filp, int arg); 161 int fcntl_getlease(struct file *filp); 190 void locks_remove_posix(struct file *, fl_owner_t); 191 void locks_remove_file(struct file *); 193 void posix_test_lock(struct file *, struct file_lock *); [all …]
|
| D | fdtable.h | 28 struct file __rcu **fd; /* current fd array */ 56 struct file __rcu * fd_array[NR_OPEN_DEFAULT]; 72 static inline struct file *files_lookup_fd_raw(struct files_struct *files, unsigned int fd) in files_lookup_fd_raw() 76 struct file *needs_masking; in files_lookup_fd_raw() 85 return (struct file *)(mask & (unsigned long)needs_masking); in files_lookup_fd_raw() 88 static inline struct file *files_lookup_fd_locked(struct files_struct *files, unsigned int fd) in files_lookup_fd_locked() 95 struct file *lookup_fdget_rcu(unsigned int fd); 96 struct file *task_lookup_fdget_rcu(struct task_struct *task, unsigned int fd); 97 struct file *task_lookup_next_fdget_rcu(struct task_struct *task, unsigned int *fd); 114 int (*)(const void *, struct file *, unsigned), [all …]
|
| D | if_tap.h | 8 struct file; 12 struct socket *tap_get_socket(struct file *); 13 struct ptr_ring *tap_get_ptr_ring(struct file *file); 17 static inline struct socket *tap_get_socket(struct file *f) in tap_get_socket() 21 static inline struct ptr_ring *tap_get_ptr_ring(struct file *f) in tap_get_ptr_ring() 68 struct file *file; member
|
| D | debugfs.h | 49 static int __fops ## _open(struct inode *inode, struct file *file) \ 52 return simple_attr_open(inode, file, __get, __set, __fmt); \ 101 const struct file_operations *debugfs_real_fops(const struct file *filp); 106 ssize_t debugfs_attr_read(struct file *file, char __user *buf, 108 ssize_t debugfs_attr_write(struct file *file, const char __user *buf, 110 ssize_t debugfs_attr_write_signed(struct file *file, const char __user *buf, 164 ssize_t debugfs_read_file_bool(struct file *file, char __user *user_buf, 167 ssize_t debugfs_write_file_bool(struct file *file, const char __user *user_buf, 170 ssize_t debugfs_read_file_str(struct file *file, char __user *user_buf, 186 debugfs_enter_cancellation(struct file *file, [all …]
|
| D | if_tun.h | 28 struct socket *tun_get_socket(struct file *); 29 struct ptr_ring *tun_get_tx_ring(struct file *file); 50 struct file; 53 static inline struct socket *tun_get_socket(struct file *f) in tun_get_socket() 58 static inline struct ptr_ring *tun_get_tx_ring(struct file *f) in tun_get_tx_ring()
|
| D | dnotify.h | 16 struct file * dn_filp; 32 extern void dnotify_flush(struct file *, fl_owner_t); 33 extern int fcntl_dirnotify(int, struct file *, unsigned int); 37 static inline void dnotify_flush(struct file *filp, fl_owner_t id) in dnotify_flush() 41 static inline int fcntl_dirnotify(int fd, struct file *filp, unsigned int arg) in fcntl_dirnotify()
|
| 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 *); 170 int seq_file_path(struct seq_file *, struct file *, const char *); 176 int single_open(struct file *, int (*)(struct seq_file *, void *), void *); 177 int single_open_size(struct file *, int (*)(struct seq_file *, void *), void *, size_t); 178 int single_release(struct inode *, struct file *); 179 void *__seq_open_private(struct file *, const struct seq_operations *, int); [all …]
|
| D | fsverity.h | 45 int (*begin_enable_verity)(struct file *filp); 67 int (*end_enable_verity)(struct file *filp, const void *desc, 140 int fsverity_ioctl_enable(struct file *filp, const void __user *arg); 144 int fsverity_ioctl_measure(struct file *filp, void __user *arg); 151 int __fsverity_file_open(struct inode *inode, struct file *filp); 169 int fsverity_ioctl_read_metadata(struct file *filp, const void __user *uarg); 186 static inline int fsverity_ioctl_enable(struct file *filp, in fsverity_ioctl_enable() 194 static inline int fsverity_ioctl_measure(struct file *filp, void __user *arg) in fsverity_ioctl_measure() 212 static inline int __fsverity_file_open(struct inode *inode, struct file *filp) in __fsverity_file_open() 229 static inline int fsverity_ioctl_read_metadata(struct file *filp, in fsverity_ioctl_read_metadata() [all …]
|
| /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 | 13 struct file; 18 TP_PROTO(const struct file *file, unsigned long prot, 20 TP_ARGS(file, prot, flag, ret)); 23 TP_PROTO(const struct file *file), 24 TP_ARGS(file));
|