/include/media/ |
D | v4l2-ioctl.h | 24 int (*vidioc_querycap)(struct file *file, void *fh, struct v4l2_capability *cap); 27 int (*vidioc_enum_fmt_vid_cap) (struct file *file, void *fh, 29 int (*vidioc_enum_fmt_vid_overlay) (struct file *file, void *fh, 31 int (*vidioc_enum_fmt_vid_out) (struct file *file, void *fh, 33 int (*vidioc_enum_fmt_vid_cap_mplane)(struct file *file, void *fh, 35 int (*vidioc_enum_fmt_vid_out_mplane)(struct file *file, void *fh, 37 int (*vidioc_enum_fmt_sdr_cap) (struct file *file, void *fh, 39 int (*vidioc_enum_fmt_sdr_out) (struct file *file, void *fh, 43 int (*vidioc_g_fmt_vid_cap) (struct file *file, void *fh, 45 int (*vidioc_g_fmt_vid_overlay)(struct file *file, void *fh, [all …]
|
D | v4l2-mem2mem.h | 113 int v4l2_m2m_reqbufs(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 116 int v4l2_m2m_querybuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 119 int v4l2_m2m_qbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 121 int v4l2_m2m_dqbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 123 int v4l2_m2m_prepare_buf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 125 int v4l2_m2m_create_bufs(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 128 int v4l2_m2m_expbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 131 int v4l2_m2m_streamon(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 133 int v4l2_m2m_streamoff(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 136 unsigned int v4l2_m2m_poll(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, [all …]
|
D | videobuf2-v4l2.h | 69 unsigned int vb2_poll(struct vb2_queue *q, struct file *file, poll_table *wait); 115 int vb2_ioctl_reqbufs(struct file *file, void *priv, 117 int vb2_ioctl_create_bufs(struct file *file, void *priv, 119 int vb2_ioctl_prepare_buf(struct file *file, void *priv, 121 int vb2_ioctl_querybuf(struct file *file, void *priv, struct v4l2_buffer *p); 122 int vb2_ioctl_qbuf(struct file *file, void *priv, struct v4l2_buffer *p); 123 int vb2_ioctl_dqbuf(struct file *file, void *priv, struct v4l2_buffer *p); 124 int vb2_ioctl_streamon(struct file *file, void *priv, enum v4l2_buf_type i); 125 int vb2_ioctl_streamoff(struct file *file, void *priv, enum v4l2_buf_type i); 126 int vb2_ioctl_expbuf(struct file *file, void *priv, [all …]
|
D | media-devnode.h | 47 ssize_t (*read) (struct file *, char __user *, size_t, loff_t *); 48 ssize_t (*write) (struct file *, const char __user *, size_t, loff_t *); 49 unsigned int (*poll) (struct file *, struct poll_table_struct *); 50 long (*ioctl) (struct file *, unsigned int, unsigned long); 51 long (*compat_ioctl) (struct file *, unsigned int, unsigned long); 52 int (*open) (struct file *); 53 int (*release) (struct file *); 112 static inline struct media_devnode *media_devnode_data(struct file *filp) in media_devnode_data()
|
D | lirc_dev.h | 224 void *lirc_get_pdata(struct file *file); 229 int lirc_dev_fop_open(struct inode *inode, struct file *file); 230 int lirc_dev_fop_close(struct inode *inode, struct file *file); 231 unsigned int lirc_dev_fop_poll(struct file *file, poll_table *wait); 232 long lirc_dev_fop_ioctl(struct file *file, unsigned int cmd, unsigned long arg); 233 ssize_t lirc_dev_fop_read(struct file *file, char __user *buffer, size_t length, 235 ssize_t lirc_dev_fop_write(struct file *file, const char __user *buffer,
|
D | v4l2-dev.h | 65 ssize_t (*read) (struct file *, char __user *, size_t, loff_t *); 66 ssize_t (*write) (struct file *, const char __user *, size_t, loff_t *); 67 unsigned int (*poll) (struct file *, struct poll_table_struct *); 68 long (*unlocked_ioctl) (struct file *, unsigned int, unsigned long); 70 long (*compat_ioctl32) (struct file *, unsigned int, unsigned long); 72 unsigned long (*get_unmapped_area) (struct file *, unsigned long, 74 int (*mmap) (struct file *, struct vm_area_struct *); 75 int (*open) (struct file *); 76 int (*release) (struct file *); 217 struct video_device *video_devdata(struct file *file); [all …]
|
/include/linux/ |
D | eventpoll.h | 20 struct file; 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 67 static inline void eventpoll_release(struct file *file) {} in eventpoll_release() argument
|
D | ima.h | 18 extern int ima_file_check(struct file *file, int mask, int opened); 19 extern void ima_file_free(struct file *file); 20 extern int ima_file_mmap(struct file *file, unsigned long prot); 21 extern int ima_module_check(struct file *file); 22 extern int ima_fw_from_file(struct file *file, char *buf, size_t size); 30 static inline int ima_file_check(struct file *file, int mask, int opened) in ima_file_check() argument 35 static inline void ima_file_free(struct file *file) in ima_file_free() argument 40 static inline int ima_file_mmap(struct file *file, unsigned long prot) in ima_file_mmap() argument 45 static inline int ima_module_check(struct file *file) in ima_module_check() argument 50 static inline int ima_fw_from_file(struct file *file, char *buf, size_t size) in ima_fw_from_file() argument
|
D | file.h | 12 struct file; 14 extern void fput(struct file *); 15 extern void fput_many(struct file *, unsigned int); 21 extern struct file *alloc_file(struct path *, fmode_t mode, 24 static inline void fput_light(struct file *file, int fput_needed) in fput_light() argument 27 fput(file); in fput_light() 31 struct file *file; member 40 fput(fd.file); in fdput() 43 extern struct file *fget(unsigned int fd); 44 extern struct file *fget_many(unsigned int fd, unsigned int refs); [all …]
|
D | dlm_plock.h | 13 int dlm_posix_lock(dlm_lockspace_t *lockspace, u64 number, struct file *file, 15 int dlm_posix_unlock(dlm_lockspace_t *lockspace, u64 number, struct file *file, 17 int dlm_posix_get(dlm_lockspace_t *lockspace, u64 number, struct file *file,
|
D | fs.h | 273 struct file *ia_file; 349 struct file *ki_filp; 362 static inline int iocb_flags(struct file *file); 364 static inline void init_sync_kiocb(struct kiocb *kiocb, struct file *filp) in init_sync_kiocb() 396 int (*readpage)(struct file *, struct page *); 404 int (*readpages)(struct file *filp, struct address_space *mapping, 407 int (*write_begin)(struct file *, struct address_space *mapping, 410 int (*write_end)(struct file *, struct address_space *mapping, 433 int (*swap_activate)(struct swap_info_struct *sis, struct file *file, 435 void (*swap_deactivate)(struct file *file); [all …]
|
D | shmem_fs.h | 47 extern struct file *shmem_file_setup(const char *name, 49 extern struct file *shmem_kernel_file_setup(const char *name, loff_t size, 52 extern int shmem_lock(struct file *file, int lock, struct user_struct *user); 69 extern int shmem_add_seals(struct file *file, unsigned int seals); 70 extern int shmem_get_seals(struct file *file); 71 extern long shmem_fcntl(struct file *file, unsigned int cmd, unsigned long arg); 75 static inline long shmem_fcntl(struct file *f, unsigned int c, unsigned long a) in shmem_fcntl()
|
D | seq_file_net.h | 15 int seq_open_net(struct inode *, struct file *, 17 int single_open_net(struct inode *, struct file *file, 19 int seq_release_net(struct inode *, struct file *); 20 int single_release_net(struct inode *, struct file *);
|
D | dnotify.h | 15 struct file * dn_filp; 32 extern void dnotify_flush(struct file *, fl_owner_t); 33 extern int fcntl_dirnotify(int, struct file *, unsigned long); 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 long arg) in fcntl_dirnotify()
|
D | fsnotify.h | 38 static inline int fsnotify_perm(struct file *file, int mask) in fsnotify_perm() argument 40 struct path *path = &file->f_path; in fsnotify_perm() 41 struct inode *inode = file_inode(file); in fsnotify_perm() 45 if (file->f_mode & FMODE_NONOTIFY) in fsnotify_perm() 194 static inline void fsnotify_access(struct file *file) in fsnotify_access() argument 196 struct path *path = &file->f_path; in fsnotify_access() 197 struct inode *inode = file_inode(file); in fsnotify_access() 203 if (!(file->f_mode & FMODE_NONOTIFY)) { in fsnotify_access() 212 static inline void fsnotify_modify(struct file *file) in fsnotify_modify() argument 214 struct path *path = &file->f_path; in fsnotify_modify() [all …]
|
D | tty_ldisc.h | 192 ssize_t (*read)(struct tty_struct *tty, struct file *file, 194 ssize_t (*write)(struct tty_struct *tty, struct file *file, 196 int (*ioctl)(struct tty_struct *tty, struct file *file, 198 long (*compat_ioctl)(struct tty_struct *tty, struct file *file, 201 unsigned int (*poll)(struct tty_struct *, struct file *,
|
D | eventfd.h | 28 struct file; 32 struct file *eventfd_file_create(unsigned int count, int flags); 35 struct file *eventfd_fget(int fd); 37 struct eventfd_ctx *eventfd_ctx_fileget(struct file *file); 49 static inline struct file *eventfd_file_create(unsigned int count, int flags) in eventfd_file_create()
|
D | if_tun.h | 21 struct socket *tun_get_socket(struct file *); 25 struct file; 27 static inline struct socket *tun_get_socket(struct file *f) in tun_get_socket()
|
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 *); 110 loff_t seq_lseek(struct file *, loff_t, int); 111 int seq_release(struct inode *, struct file *); 130 int seq_file_path(struct seq_file *, struct file *, const char *); 135 int single_open(struct file *, int (*)(struct seq_file *, void *), void *); 136 int single_open_size(struct file *, int (*)(struct seq_file *, void *), void *, size_t); 137 int single_release(struct inode *, struct file *); 138 void *__seq_open_private(struct file *, const struct seq_operations *, int); [all …]
|
D | nsc_gpio.h | 33 extern ssize_t nsc_gpio_write(struct file *file, const char __user *data, 36 extern ssize_t nsc_gpio_read(struct file *file, char __user *buf,
|
D | binfmts.h | 35 struct file * file; member 64 struct file *file; member 78 int (*load_shlib)(struct file *); 103 extern void would_dump(struct linux_binprm *, struct file *); 121 extern ssize_t read_code(struct file *, unsigned long, loff_t, size_t);
|
D | shm.h | 12 struct file *shm_file; 64 int is_file_shm_hugepages(struct file *file); 78 static inline int is_file_shm_hugepages(struct file *file) in is_file_shm_hugepages() argument
|
D | fdtable.h | 27 struct file __rcu **fd; /* current fd array */ 65 struct file __rcu * fd_array[NR_OPEN_DEFAULT]; 81 static inline struct file *__fcheck_files(struct files_struct *files, unsigned int fd) in __fcheck_files() 92 static inline struct file *fcheck_files(struct files_struct *files, unsigned int fd) in fcheck_files() 114 int (*)(const void *, struct file *, unsigned), 120 unsigned int fd, struct file *file);
|
/include/sound/ |
D | hwdep.h | 32 long long (*llseek)(struct snd_hwdep *hw, struct file *file, 38 int (*open)(struct snd_hwdep *hw, struct file * file); 39 int (*release)(struct snd_hwdep *hw, struct file * file); 40 unsigned int (*poll)(struct snd_hwdep *hw, struct file *file, 42 int (*ioctl)(struct snd_hwdep *hw, struct file *file, 44 int (*ioctl_compat)(struct snd_hwdep *hw, struct file *file, 46 int (*mmap)(struct snd_hwdep *hw, struct file *file,
|
/include/misc/ |
D | cxl.h | 182 struct file *cxl_get_fd(struct cxl_context *ctx, struct file_operations *fops, 185 struct cxl_context *cxl_fops_get_context(struct file *file); 195 int cxl_fd_open(struct inode *inode, struct file *file); 196 int cxl_fd_release(struct inode *inode, struct file *file); 197 long cxl_fd_ioctl(struct file *file, unsigned int cmd, unsigned long arg); 198 int cxl_fd_mmap(struct file *file, struct vm_area_struct *vm); 199 unsigned int cxl_fd_poll(struct file *file, struct poll_table_struct *poll); 200 ssize_t cxl_fd_read(struct file *file, char __user *buf, size_t count,
|