/include/media/ |
D | v4l2-ioctl.h | 24 int (*vidioc_querycap)(struct file *file, void *fh, struct v4l2_capability *cap); 27 int (*vidioc_g_priority) (struct file *file, void *fh, 29 int (*vidioc_s_priority) (struct file *file, void *fh, 33 int (*vidioc_enum_fmt_vid_cap) (struct file *file, void *fh, 35 int (*vidioc_enum_fmt_vid_overlay) (struct file *file, void *fh, 37 int (*vidioc_enum_fmt_vid_out) (struct file *file, void *fh, 39 int (*vidioc_enum_fmt_vid_cap_mplane)(struct file *file, void *fh, 41 int (*vidioc_enum_fmt_vid_out_mplane)(struct file *file, void *fh, 43 int (*vidioc_enum_fmt_sdr_cap) (struct file *file, void *fh, 47 int (*vidioc_g_fmt_vid_cap) (struct file *file, void *fh, [all …]
|
D | v4l2-mem2mem.h | 109 int v4l2_m2m_reqbufs(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 112 int v4l2_m2m_querybuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 115 int v4l2_m2m_qbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 117 int v4l2_m2m_dqbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 119 int v4l2_m2m_create_bufs(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 122 int v4l2_m2m_expbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 125 int v4l2_m2m_streamon(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 127 int v4l2_m2m_streamoff(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 130 unsigned int v4l2_m2m_poll(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 133 int v4l2_m2m_mmap(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, [all …]
|
D | media-devnode.h | 45 ssize_t (*read) (struct file *, char __user *, size_t, loff_t *); 46 ssize_t (*write) (struct file *, const char __user *, size_t, loff_t *); 47 unsigned int (*poll) (struct file *, struct poll_table_struct *); 48 long (*ioctl) (struct file *, unsigned int, unsigned long); 49 long (*compat_ioctl) (struct file *, unsigned int, unsigned long); 50 int (*open) (struct file *); 51 int (*release) (struct file *); 89 static inline struct media_devnode *media_devnode_data(struct file *filp) in media_devnode_data()
|
D | videobuf2-core.h | 476 unsigned int vb2_poll(struct vb2_queue *q, struct file *file, poll_table *wait); 616 int vb2_ioctl_reqbufs(struct file *file, void *priv, 618 int vb2_ioctl_create_bufs(struct file *file, void *priv, 620 int vb2_ioctl_prepare_buf(struct file *file, void *priv, 622 int vb2_ioctl_querybuf(struct file *file, void *priv, struct v4l2_buffer *p); 623 int vb2_ioctl_qbuf(struct file *file, void *priv, struct v4l2_buffer *p); 624 int vb2_ioctl_dqbuf(struct file *file, void *priv, struct v4l2_buffer *p); 625 int vb2_ioctl_streamon(struct file *file, void *priv, enum v4l2_buf_type i); 626 int vb2_ioctl_streamoff(struct file *file, void *priv, enum v4l2_buf_type i); 627 int vb2_ioctl_expbuf(struct file *file, void *priv, [all …]
|
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 (*ioctl) (struct file *, unsigned int, unsigned long); 69 long (*unlocked_ioctl) (struct file *, unsigned int, unsigned long); 71 long (*compat_ioctl32) (struct file *, unsigned int, unsigned long); 73 unsigned long (*get_unmapped_area) (struct file *, unsigned long, 75 int (*mmap) (struct file *, struct vm_area_struct *); 76 int (*open) (struct file *); 77 int (*release) (struct file *); [all …]
|
D | lirc_dev.h | 212 void *lirc_get_pdata(struct file *file); 217 int lirc_dev_fop_open(struct inode *inode, struct file *file); 218 int lirc_dev_fop_close(struct inode *inode, struct file *file); 219 unsigned int lirc_dev_fop_poll(struct file *file, poll_table *wait); 220 long lirc_dev_fop_ioctl(struct file *file, unsigned int cmd, unsigned long arg); 221 ssize_t lirc_dev_fop_read(struct file *file, char __user *buffer, size_t length, 223 ssize_t lirc_dev_fop_write(struct file *file, const char __user *buffer,
|
/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 *); 20 extern struct file *alloc_file(struct path *, fmode_t mode, 23 static inline void fput_light(struct file *file, int fput_needed) in fput_light() argument 26 fput(file); in fput_light() 30 struct file *file; member 39 fput(fd.file); in fdput() 42 extern struct file *fget(unsigned int fd); 43 extern struct file *fget_raw(unsigned int fd); 50 return (struct fd){(struct file *)(v & ~3),v & 3}; in __to_fd() [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 | shmem_fs.h | 50 extern struct file *shmem_file_setup(const char *name, 52 extern struct file *shmem_kernel_file_setup(const char *name, loff_t size, 55 extern int shmem_lock(struct file *file, int lock, struct user_struct *user); 72 extern int shmem_add_seals(struct file *file, unsigned int seals); 73 extern int shmem_get_seals(struct file *file); 74 extern long shmem_fcntl(struct file *file, unsigned int cmd, unsigned long arg); 78 static inline long shmem_fcntl(struct file *f, unsigned int c, unsigned long a) in shmem_fcntl()
|
D | fs.h | 258 struct file *ia_file; 340 int (*readpage)(struct file *, struct page *); 348 int (*readpages)(struct file *filp, struct address_space *mapping, 351 int (*write_begin)(struct file *, struct address_space *mapping, 354 int (*write_end)(struct file *, struct address_space *mapping, 379 int (*swap_activate)(struct swap_info_struct *sis, struct file *file, 381 void (*swap_deactivate)(struct file *file); 390 int pagecache_write_begin(struct file *, struct address_space *mapping, 394 int pagecache_write_end(struct file *, struct address_space *mapping, 792 struct file { struct [all …]
|
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 | 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 | 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 | 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 60 struct file *file; member 74 int (*load_shlib)(struct file *); 99 extern void would_dump(struct linux_binprm *, struct file *); 117 extern ssize_t read_code(struct file *, unsigned long, loff_t, size_t);
|
D | shm.h | 12 struct file *shm_file; 55 int is_file_shm_hugepages(struct file *file); 69 static inline int is_file_shm_hugepages(struct file *file) in is_file_shm_hugepages() argument
|
D | fdtable.h | 26 struct file __rcu **fd; /* current fd array */ 59 struct file __rcu * fd_array[NR_OPEN_DEFAULT]; 75 static inline struct file *__fcheck_files(struct files_struct *files, unsigned int fd) in __fcheck_files() 84 static inline struct file *fcheck_files(struct files_struct *files, unsigned int fd) in fcheck_files() 106 int (*)(const void *, struct file *, unsigned), 112 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,
|
D | info.h | 55 struct file *file, char __user *buf, 58 struct file *file, const char __user *buf, 61 void *file_private_data, struct file *file, 64 void *file_private_data, struct file *file, 67 struct file *file, unsigned int cmd, unsigned long arg); 69 struct inode *inode, struct file *file,
|
/include/linux/ceph/ |
D | debugfs.h | 8 static int name##_open(struct inode *inode, struct file *file) \ 13 ret = single_open(file, name, NULL); \ 14 sf = file->private_data; \
|