/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 | 263 __poll_t vb2_poll(struct vb2_queue *q, struct file *file, poll_table *wait); 275 int vb2_ioctl_reqbufs(struct file *file, void *priv, 277 int vb2_ioctl_create_bufs(struct file *file, void *priv, 279 int vb2_ioctl_prepare_buf(struct file *file, void *priv, 281 int vb2_ioctl_querybuf(struct file *file, void *priv, struct v4l2_buffer *p); 282 int vb2_ioctl_qbuf(struct file *file, void *priv, struct v4l2_buffer *p); 283 int vb2_ioctl_dqbuf(struct file *file, void *priv, struct v4l2_buffer *p); 284 int vb2_ioctl_streamon(struct file *file, void *priv, enum v4l2_buf_type i); 285 int vb2_ioctl_streamoff(struct file *file, void *priv, enum v4l2_buf_type i); 286 int vb2_ioctl_expbuf(struct file *file, void *priv, [all …]
|
D | v4l2-mem2mem.h | 189 int v4l2_m2m_reqbufs(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 201 int v4l2_m2m_querybuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 212 int v4l2_m2m_qbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 223 int v4l2_m2m_dqbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 234 int v4l2_m2m_prepare_buf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 245 int v4l2_m2m_create_bufs(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 256 int v4l2_m2m_expbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 266 int v4l2_m2m_streamon(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 276 int v4l2_m2m_streamoff(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 291 __poll_t v4l2_m2m_poll(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 | 195 ssize_t (*read) (struct file *, char __user *, size_t, loff_t *); 196 ssize_t (*write) (struct file *, const char __user *, size_t, loff_t *); 197 __poll_t (*poll) (struct file *, struct poll_table_struct *); 198 long (*unlocked_ioctl) (struct file *, unsigned int, unsigned long); 200 long (*compat_ioctl32) (struct file *, unsigned int, unsigned long); 202 unsigned long (*get_unmapped_area) (struct file *, unsigned long, 204 int (*mmap) (struct file *, struct vm_area_struct *); 205 int (*open) (struct file *); 206 int (*release) (struct file *); 497 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 | eventpoll.h | 16 struct file; 22 struct file *get_epoll_tfile_raw_ptr(struct file *file, int tfd, unsigned long toff); 26 static inline void eventpoll_init_file(struct file *file) in eventpoll_init_file() argument 28 INIT_LIST_HEAD(&file->f_ep_links); in eventpoll_init_file() 29 INIT_LIST_HEAD(&file->f_tfile_llink); in eventpoll_init_file() 34 void eventpoll_release_file(struct file *file); 42 static inline void eventpoll_release(struct file *file) in eventpoll_release() argument 53 if (likely(list_empty(&file->f_ep_links))) in eventpoll_release() 61 eventpoll_release_file(file); in eventpoll_release() 66 static inline void eventpoll_init_file(struct file *file) {} in eventpoll_init_file() argument [all …]
|
D | file.h | 13 struct file; 15 extern void fput(struct file *); 16 extern void fput_many(struct file *, unsigned int); 23 extern struct file *alloc_file_pseudo(struct inode *, struct vfsmount *, 25 extern struct file *alloc_file_clone(struct file *, int flags, 28 static inline void fput_light(struct file *file, int fput_needed) in fput_light() argument 31 fput(file); in fput_light() 35 struct file *file; member 44 fput(fd.file); in fdput() 47 extern struct file *fget(unsigned int fd); [all …]
|
D | ima.h | 17 extern int ima_file_check(struct file *file, int mask); 19 extern void ima_file_free(struct file *file); 20 extern int ima_file_mmap(struct file *file, unsigned long reqprot, 23 extern int ima_read_file(struct file *file, enum kernel_read_file_id id); 24 extern int ima_post_read_file(struct file *file, void *buf, loff_t size, 54 static inline int ima_file_check(struct file *file, int mask) in ima_file_check() argument 63 static inline void ima_file_free(struct file *file) in ima_file_free() argument 68 static inline int ima_file_mmap(struct file *file, unsigned long reqprot, in ima_file_mmap() argument 79 static inline int ima_read_file(struct file *file, enum kernel_read_file_id id) in ima_read_file() argument 84 static inline int ima_post_read_file(struct file *file, void *buf, loff_t size, in ima_post_read_file() argument
|
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 | 241 struct file *ia_file; 329 struct file *ki_filp; 374 int (*readpage)(struct file *, struct page *); 386 int (*readpages)(struct file *filp, struct address_space *mapping, 389 int (*write_begin)(struct file *, struct address_space *mapping, 392 int (*write_end)(struct file *, struct address_space *mapping, 417 int (*swap_activate)(struct swap_info_struct *sis, struct file *file, 419 void (*swap_deactivate)(struct file *file); 433 int pagecache_write_begin(struct file *, struct address_space *mapping, 437 int pagecache_write_end(struct file *, struct address_space *mapping, [all …]
|
D | if_tun.h | 28 struct socket *tun_get_socket(struct file *); 29 struct ptr_ring *tun_get_tx_ring(struct file *file); 37 struct file; 39 static inline struct socket *tun_get_socket(struct file *f) in tun_get_socket() 43 static inline struct ptr_ring *tun_get_tx_ring(struct file *f) in tun_get_tx_ring()
|
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 | 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 | 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 | fsnotify.h | 58 static inline int fsnotify_perm(struct file *file, int mask) in fsnotify_perm() argument 61 const struct path *path = &file->f_path; in fsnotify_perm() 62 struct inode *inode = file_inode(file); in fsnotify_perm() 65 if (file->f_mode & FMODE_NONOTIFY) in fsnotify_perm() 72 if (file->f_flags & __FMODE_EXEC) { in fsnotify_perm() 266 static inline void fsnotify_access(struct file *file) in fsnotify_access() argument 268 const struct path *path = &file->f_path; in fsnotify_access() 269 struct inode *inode = file_inode(file); in fsnotify_access() 275 if (!(file->f_mode & FMODE_NONOTIFY)) in fsnotify_access() 282 static inline void fsnotify_modify(struct file *file) in fsnotify_modify() argument [all …]
|
D | tty_ldisc.h | 187 ssize_t (*read)(struct tty_struct *tty, struct file *file, 189 ssize_t (*write)(struct tty_struct *tty, struct file *file, 191 int (*ioctl)(struct tty_struct *tty, struct file *file, 193 int (*compat_ioctl)(struct tty_struct *tty, struct file *file, 196 __poll_t (*poll)(struct tty_struct *, struct file *,
|
D | binfmts.h | 52 struct file * file; member 85 struct file *file; member 100 int (*load_shlib)(struct file *); 126 extern void would_dump(struct linux_binprm *, struct file *); 145 extern ssize_t read_code(struct file *, unsigned long, loff_t, size_t); 154 int do_execve_file(struct file *file, void *__argv, void *__envp);
|
D | fsverity.h | 33 int (*begin_enable_verity)(struct file *filp); 55 int (*end_enable_verity)(struct file *filp, const void *desc, 124 int fsverity_ioctl_enable(struct file *filp, const void __user *arg); 128 int fsverity_ioctl_measure(struct file *filp, void __user *arg); 132 int fsverity_file_open(struct inode *inode, struct file *filp); 151 static inline int fsverity_ioctl_enable(struct file *filp, in fsverity_ioctl_enable() 159 static inline int fsverity_ioctl_measure(struct file *filp, void __user *arg) in fsverity_ioctl_measure() 166 static inline int fsverity_file_open(struct inode *inode, struct file *filp) in fsverity_file_open()
|
D | umh.h | 12 struct file; 25 struct file *file; member 43 struct subprocess_info *call_usermodehelper_setup_file(struct file *file, 48 struct file *pipe_to_umh; 49 struct file *pipe_from_umh;
|
D | devpts_fs.h | 19 struct vfsmount *devpts_mntget(struct file *, struct pts_fs_info *); 20 struct pts_fs_info *devpts_acquire(struct file *); 34 int ptm_open_peer(struct file *master, struct tty_struct *tty, int flags); 38 ptm_open_peer(struct file *master, struct tty_struct *tty, int flags) in ptm_open_peer()
|
D | shmem_fs.h | 55 extern struct file *shmem_file_setup(const char *name, 57 extern struct file *shmem_kernel_file_setup(const char *name, loff_t size, 59 extern struct file *shmem_file_setup_with_mnt(struct vfsmount *mnt, 62 extern unsigned long shmem_get_unmapped_area(struct file *, unsigned long addr, 64 extern int shmem_lock(struct file *file, int lock, struct user_struct *user); 104 static inline bool shmem_file(struct file *file) in shmem_file() argument 108 if (!file || !file->f_mapping) in shmem_file() 110 return shmem_mapping(file->f_mapping); in shmem_file()
|
/include/sound/ |
D | hwdep.h | 17 long long (*llseek)(struct snd_hwdep *hw, struct file *file, 23 int (*open)(struct snd_hwdep *hw, struct file * file); 24 int (*release)(struct snd_hwdep *hw, struct file * file); 25 __poll_t (*poll)(struct snd_hwdep *hw, struct file *file, 27 int (*ioctl)(struct snd_hwdep *hw, struct file *file, 29 int (*ioctl_compat)(struct snd_hwdep *hw, struct file *file, 31 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/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),
|