Home
last modified time | relevance | path

Searched defs:file (Results 1 – 25 of 550) sorted by relevance

12345678910>>...22

/linux-4.19.296/drivers/media/radio/wl128x/
Dfmdrv_v4l2.c41 static ssize_t fm_v4l2_fops_read(struct file *file, char __user * buf, in fm_v4l2_fops_read()
81 static ssize_t fm_v4l2_fops_write(struct file *file, const char __user * buf, in fm_v4l2_fops_write()
105 static __poll_t fm_v4l2_fops_poll(struct file *file, struct poll_table_struct *pts) in fm_v4l2_fops_poll()
124 static int fm_v4l2_fops_open(struct file *file) in fm_v4l2_fops_open()
159 static int fm_v4l2_fops_release(struct file *file) in fm_v4l2_fops_release()
190 static int fm_v4l2_vidioc_querycap(struct file *file, void *priv, in fm_v4l2_vidioc_querycap()
248 static int fm_v4l2_vidioc_g_audio(struct file *file, void *priv, in fm_v4l2_vidioc_g_audio()
258 static int fm_v4l2_vidioc_s_audio(struct file *file, void *priv, in fm_v4l2_vidioc_s_audio()
268 static int fm_v4l2_vidioc_g_tuner(struct file *file, void *priv, in fm_v4l2_vidioc_g_tuner()
331 static int fm_v4l2_vidioc_s_tuner(struct file *file, void *priv, in fm_v4l2_vidioc_s_tuner()
[all …]
/linux-4.19.296/fs/ecryptfs/
Dfile.c51 struct file *file = iocb->ki_filp; in ecryptfs_read_update_atime() local
115 static int ecryptfs_readdir(struct file *file, struct dir_context *ctx) in ecryptfs_readdir()
183 static int ecryptfs_mmap(struct file *file, struct vm_area_struct *vma) in ecryptfs_mmap()
205 static int ecryptfs_open(struct inode *inode, struct file *file) in ecryptfs_open()
274 static int ecryptfs_dir_open(struct inode *inode, struct file *file) in ecryptfs_dir_open()
304 static int ecryptfs_flush(struct file *file, fl_owner_t td) in ecryptfs_flush()
316 static int ecryptfs_release(struct inode *inode, struct file *file) in ecryptfs_release()
324 static int ecryptfs_dir_release(struct inode *inode, struct file *file) in ecryptfs_dir_release()
332 static loff_t ecryptfs_dir_llseek(struct file *file, loff_t offset, int whence) in ecryptfs_dir_llseek()
338 ecryptfs_fsync(struct file *file, loff_t start, loff_t end, int datasync) in ecryptfs_fsync()
[all …]
/linux-4.19.296/fs/overlayfs/
Dfile.c30 static struct file *ovl_open_realfile(const struct file *file, in ovl_open_realfile()
52 static int ovl_change_flags(struct file *file, unsigned int flags) in ovl_change_flags()
87 static int ovl_real_fdget_meta(const struct file *file, struct fd *real, in ovl_real_fdget_meta()
116 static int ovl_real_fdget(const struct file *file, struct fd *real) in ovl_real_fdget()
121 static int ovl_open(struct inode *inode, struct file *file) in ovl_open()
142 static int ovl_release(struct inode *inode, struct file *file) in ovl_release()
149 static loff_t ovl_llseek(struct file *file, loff_t offset, int whence) in ovl_llseek()
194 static void ovl_file_accessed(struct file *file) in ovl_file_accessed()
235 struct file *file = iocb->ki_filp; in ovl_read_iter() local
261 struct file *file = iocb->ki_filp; in ovl_write_iter() local
[all …]
/linux-4.19.296/drivers/misc/sgi-gru/
Dgruprocfs.c120 static ssize_t statistics_write(struct file *file, const char __user *userbuf, in statistics_write()
146 static ssize_t mcs_statistics_write(struct file *file, in mcs_statistics_write()
160 static ssize_t options_write(struct file *file, const char __user *userbuf, in options_write()
172 static int cch_seq_show(struct seq_file *file, void *data) in cch_seq_show()
201 static int gru_seq_show(struct seq_file *file, void *data) in gru_seq_show()
225 static void seq_stop(struct seq_file *file, void *data) in seq_stop()
229 static void *seq_start(struct seq_file *file, loff_t *gid) in seq_start()
236 static void *seq_next(struct seq_file *file, void *data, loff_t *gid) in seq_next()
258 static int statistics_open(struct inode *inode, struct file *file) in statistics_open()
263 static int mcs_statistics_open(struct inode *inode, struct file *file) in mcs_statistics_open()
[all …]
/linux-4.19.296/drivers/media/common/saa7146/
Dsaa7146_video.c388 static int video_end(struct saa7146_fh *fh, struct file *file) in video_end()
449 static int vidioc_querycap(struct file *file, void *fh, struct v4l2_capability *cap) in vidioc_querycap()
473 static int vidioc_g_fbuf(struct file *file, void *fh, struct v4l2_framebuffer *fb) in vidioc_g_fbuf()
484 static int vidioc_s_fbuf(struct file *file, void *fh, const struct v4l2_framebuffer *fb) in vidioc_s_fbuf()
524 static int vidioc_enum_fmt_vid_cap(struct file *file, void *fh, struct v4l2_fmtdesc *f) in vidioc_enum_fmt_vid_cap()
592 static int vidioc_g_parm(struct file *file, void *fh, in vidioc_g_parm()
606 static int vidioc_g_fmt_vid_cap(struct file *file, void *fh, struct v4l2_format *f) in vidioc_g_fmt_vid_cap()
615 static int vidioc_g_fmt_vid_overlay(struct file *file, void *fh, struct v4l2_format *f) in vidioc_g_fmt_vid_overlay()
624 static int vidioc_g_fmt_vbi_cap(struct file *file, void *fh, struct v4l2_format *f) in vidioc_g_fmt_vbi_cap()
633 static int vidioc_try_fmt_vid_cap(struct file *file, void *fh, struct v4l2_format *f) in vidioc_try_fmt_vid_cap()
[all …]
/linux-4.19.296/drivers/oprofile/
Doprofile_files.c30 static ssize_t timeout_read(struct file *file, char __user *buf, in timeout_read()
38 static ssize_t timeout_write(struct file *file, char const __user *buf, in timeout_write()
68 static ssize_t depth_read(struct file *file, char __user *buf, size_t count, loff_t *offset) in depth_read()
75 static ssize_t depth_write(struct file *file, char const __user *buf, size_t count, loff_t *offset) in depth_write()
105 static ssize_t pointer_size_read(struct file *file, char __user *buf, size_t count, loff_t *offset) in pointer_size_read()
117 static ssize_t cpu_type_read(struct file *file, char __user *buf, size_t count, loff_t *offset) in cpu_type_read()
129 static ssize_t enable_read(struct file *file, char __user *buf, size_t count, loff_t *offset) in enable_read()
135 static ssize_t enable_write(struct file *file, char const __user *buf, size_t count, loff_t *offset) in enable_write()
166 static ssize_t dump_write(struct file *file, char const __user *buf, size_t count, loff_t *offset) in dump_write()
/linux-4.19.296/fs/lockd/
Dsvcsubs.c45 static inline void nlm_debug_print_file(char *msg, struct nlm_file *file) in nlm_debug_print_file()
58 static inline void nlm_debug_print_file(char *msg, struct nlm_file *file) in nlm_debug_print_file()
86 struct nlm_file *file; in nlm_lookup_file() local
145 nlm_delete_file(struct nlm_file *file) in nlm_delete_file()
162 nlm_traverse_locks(struct nlm_host *host, struct nlm_file *file, in nlm_traverse_locks()
213 nlm_inspect_file(struct nlm_host *host, struct nlm_file *file, nlm_host_match_fn_t match) in nlm_inspect_file()
225 nlm_file_inuse(struct nlm_file *file) in nlm_file_inuse()
253 int (*is_failover_file)(void *data, struct nlm_file *file)) in nlm_traverse_files()
256 struct nlm_file *file; in nlm_traverse_files() local
297 nlm_release_file(struct nlm_file *file) in nlm_release_file()
[all …]
/linux-4.19.296/include/linux/
Deventpoll.h31 static inline void eventpoll_init_file(struct file *file) in eventpoll_init_file()
47 static inline void eventpoll_release(struct file *file) in eventpoll_release()
71 static inline void eventpoll_init_file(struct file *file) {} in eventpoll_init_file()
72 static inline void eventpoll_release(struct file *file) {} in eventpoll_release()
/linux-4.19.296/fs/nfsd/
Dnfsctl.c94 static ssize_t nfsctl_transaction_write(struct file *file, const char __user *buf, size_t size, lof… in nfsctl_transaction_write()
115 static ssize_t nfsctl_transaction_read(struct file *file, char __user *buf, size_t size, loff_t *po… in nfsctl_transaction_read()
136 static int exports_net_open(struct net *net, struct file *file) in exports_net_open()
151 static int exports_proc_open(struct inode *inode, struct file *file) in exports_proc_open()
163 static int exports_nfsd_open(struct inode *inode, struct file *file) in exports_nfsd_open()
181 static int export_features_open(struct inode *inode, struct file *file) in export_features_open()
200 static int supported_enctypes_open(struct inode *inode, struct file *file) in supported_enctypes_open()
232 static inline struct net *netns(struct file *file) in netns()
251 static ssize_t write_unlock_ip(struct file *file, char *buf, size_t size) in write_unlock_ip()
290 static ssize_t write_unlock_fs(struct file *file, char *buf, size_t size) in write_unlock_fs()
[all …]
/linux-4.19.296/drivers/xen/xenfs/
Dxenstored.c12 static ssize_t xsd_read(struct file *file, char __user *buf, in xsd_read()
19 static int xsd_release(struct inode *inode, struct file *file) in xsd_release()
25 static int xsd_kva_open(struct inode *inode, struct file *file) in xsd_kva_open()
34 static int xsd_kva_mmap(struct file *file, struct vm_area_struct *vma) in xsd_kva_mmap()
56 static int xsd_port_open(struct inode *inode, struct file *file) in xsd_port_open()
/linux-4.19.296/drivers/media/usb/usbvision/
Dusbvision-video.c320 static int usbvision_v4l2_open(struct file *file) in usbvision_v4l2_open()
394 static int usbvision_v4l2_close(struct file *file) in usbvision_v4l2_close()
433 static int vidioc_g_register(struct file *file, void *priv, in vidioc_g_register()
452 static int vidioc_s_register(struct file *file, void *priv, in vidioc_s_register()
470 static int vidioc_querycap(struct file *file, void *priv, in vidioc_querycap()
495 static int vidioc_enum_input(struct file *file, void *priv, in vidioc_enum_input()
546 static int vidioc_g_input(struct file *file, void *priv, unsigned int *input) in vidioc_g_input()
554 static int vidioc_s_input(struct file *file, void *priv, unsigned int input) in vidioc_s_input()
569 static int vidioc_s_std(struct file *file, void *priv, v4l2_std_id id) in vidioc_s_std()
582 static int vidioc_g_std(struct file *file, void *priv, v4l2_std_id *id) in vidioc_g_std()
[all …]
/linux-4.19.296/drivers/isdn/hardware/eicon/
Ddivasproc.c58 divas_read(struct file *file, char __user *buf, size_t count, loff_t *off) in divas_read()
97 divas_write(struct file *file, const char __user *buf, size_t count, loff_t *off) in divas_write()
102 static __poll_t divas_poll(struct file *file, poll_table *wait) in divas_poll()
107 static int divas_open(struct inode *inode, struct file *file) in divas_open()
112 static int divas_close(struct inode *inode, struct file *file) in divas_close()
145 static ssize_t grp_opt_proc_write(struct file *file, const char __user *buffer, in grp_opt_proc_write()
172 static ssize_t d_l1_down_proc_write(struct file *file, const char __user *buffer, in d_l1_down_proc_write()
211 static int d_l1_down_proc_open(struct inode *inode, struct file *file) in d_l1_down_proc_open()
237 static int grp_opt_proc_open(struct inode *inode, struct file *file) in grp_opt_proc_open()
251 static ssize_t info_proc_write(struct file *file, const char __user *buffer, in info_proc_write()
[all …]
/linux-4.19.296/drivers/media/radio/si4713/
Dradio-platform-si4713.c67 static int radio_si4713_querycap(struct file *file, void *priv, in radio_si4713_querycap()
85 static inline struct v4l2_device *get_v4l2_dev(struct file *file) in get_v4l2_dev()
90 static int radio_si4713_g_modulator(struct file *file, void *p, in radio_si4713_g_modulator()
97 static int radio_si4713_s_modulator(struct file *file, void *p, in radio_si4713_s_modulator()
104 static int radio_si4713_g_frequency(struct file *file, void *p, in radio_si4713_g_frequency()
111 static int radio_si4713_s_frequency(struct file *file, void *p, in radio_si4713_s_frequency()
118 static long radio_si4713_default(struct file *file, void *p, in radio_si4713_default()
/linux-4.19.296/drivers/misc/ibmasm/
Dibmasmfs.c236 static int command_file_open(struct inode *inode, struct file *file) in command_file_open()
253 static int command_file_close(struct inode *inode, struct file *file) in command_file_close()
264 static ssize_t command_file_read(struct file *file, char __user *buf, size_t count, loff_t *offset) in command_file_read()
301 static ssize_t command_file_write(struct file *file, const char __user *ubuff, size_t count, loff_t… in command_file_write()
342 static int event_file_open(struct inode *inode, struct file *file) in event_file_open()
364 static int event_file_close(struct inode *inode, struct file *file) in event_file_close()
373 static ssize_t event_file_read(struct file *file, char __user *buf, size_t count, loff_t *offset) in event_file_read()
416 static ssize_t event_file_write(struct file *file, const char __user *buf, size_t count, loff_t *of… in event_file_write()
431 static int r_heartbeat_file_open(struct inode *inode, struct file *file) in r_heartbeat_file_open()
449 static int r_heartbeat_file_close(struct inode *inode, struct file *file) in r_heartbeat_file_close()
[all …]
/linux-4.19.296/drivers/char/
Dmem.c111 static ssize_t read_mem(struct file *file, char __user *buf, in read_mem()
198 static ssize_t write_mem(struct file *file, const char __user *buf, in write_mem()
271 int __weak phys_mem_access_prot_allowed(struct file *file, in phys_mem_access_prot_allowed()
285 static int uncached_access(struct file *file, phys_addr_t addr) in uncached_access()
313 static pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn, in phys_mem_access_prot()
327 static unsigned long get_unmapped_area_mem(struct file *file, in get_unmapped_area_mem()
339 static unsigned memory_mmap_capabilities(struct file *file) in memory_mmap_capabilities()
345 static unsigned zero_mmap_capabilities(struct file *file) in zero_mmap_capabilities()
369 static int mmap_mem(struct file *file, struct vm_area_struct *vma) in mmap_mem()
412 static int mmap_kmem(struct file *file, struct vm_area_struct *vma) in mmap_kmem()
[all …]
/linux-4.19.296/drivers/media/radio/si470x/
Dradio-si470x-common.c468 static ssize_t si470x_fops_read(struct file *file, char __user *buf, in si470x_fops_read()
524 static __poll_t si470x_fops_poll(struct file *file, in si470x_fops_poll()
546 static int si470x_fops_open(struct file *file) in si470x_fops_open()
557 static int si470x_fops_release(struct file *file) in si470x_fops_release()
609 static int si470x_vidioc_g_tuner(struct file *file, void *priv, in si470x_vidioc_g_tuner()
669 static int si470x_vidioc_s_tuner(struct file *file, void *priv, in si470x_vidioc_s_tuner()
695 static int si470x_vidioc_g_frequency(struct file *file, void *priv, in si470x_vidioc_g_frequency()
711 static int si470x_vidioc_s_frequency(struct file *file, void *priv, in si470x_vidioc_s_frequency()
734 static int si470x_vidioc_s_hw_freq_seek(struct file *file, void *priv, in si470x_vidioc_s_hw_freq_seek()
751 static int si470x_vidioc_enum_freq_bands(struct file *file, void *priv, in si470x_vidioc_enum_freq_bands()
[all …]
/linux-4.19.296/fs/ceph/
Dioctl.c17 static long ceph_ioctl_get_layout(struct file *file, void __user *arg) in ceph_ioctl_get_layout()
64 static long ceph_ioctl_set_layout(struct file *file, void __user *arg) in ceph_ioctl_set_layout()
136 static long ceph_ioctl_set_layout_policy (struct file *file, void __user *arg) in ceph_ioctl_set_layout_policy()
179 static long ceph_ioctl_get_dataloc(struct file *file, void __user *arg) in ceph_ioctl_get_dataloc()
241 static long ceph_ioctl_lazyio(struct file *file) in ceph_ioctl_lazyio()
261 static long ceph_ioctl_syncio(struct file *file) in ceph_ioctl_syncio()
269 long ceph_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in ceph_ioctl()
/linux-4.19.296/drivers/media/common/videobuf2/
Dvideobuf2-v4l2.c675 __poll_t vb2_poll(struct vb2_queue *q, struct file *file, poll_table *wait) in vb2_poll()
703 static inline bool vb2_queue_is_busy(struct video_device *vdev, struct file *file) in vb2_queue_is_busy()
710 int vb2_ioctl_reqbufs(struct file *file, void *priv, in vb2_ioctl_reqbufs()
729 int vb2_ioctl_create_bufs(struct file *file, void *priv, in vb2_ioctl_create_bufs()
755 int vb2_ioctl_prepare_buf(struct file *file, void *priv, in vb2_ioctl_prepare_buf()
766 int vb2_ioctl_querybuf(struct file *file, void *priv, struct v4l2_buffer *p) in vb2_ioctl_querybuf()
775 int vb2_ioctl_qbuf(struct file *file, void *priv, struct v4l2_buffer *p) in vb2_ioctl_qbuf()
785 int vb2_ioctl_dqbuf(struct file *file, void *priv, struct v4l2_buffer *p) in vb2_ioctl_dqbuf()
795 int vb2_ioctl_streamon(struct file *file, void *priv, enum v4l2_buf_type i) in vb2_ioctl_streamon()
805 int vb2_ioctl_streamoff(struct file *file, void *priv, enum v4l2_buf_type i) in vb2_ioctl_streamoff()
[all …]
/linux-4.19.296/drivers/media/v4l2-core/
Dv4l2-ioctl.c935 static int check_fmt(struct file *file, enum v4l2_buf_type type) in check_fmt()
1040 struct file *file, void *fh, void *arg) in v4l_querycap()
1066 struct file *file, void *fh, void *arg) in v4l_s_input()
1078 struct file *file, void *fh, void *arg) in v4l_s_output()
1084 struct file *file, void *fh, void *arg) in v4l_g_priority()
1095 struct file *file, void *fh, void *arg) in v4l_s_priority()
1109 struct file *file, void *fh, void *arg) in v4l_enuminput()
1127 struct file *file, void *fh, void *arg) in v4l_enumoutput()
1362 struct file *file, void *fh, void *arg) in v4l_enum_fmt()
1434 struct file *file, void *fh, void *arg) in v4l_g_fmt()
[all …]
Dv4l2-mem2mem.c431 int v4l2_m2m_reqbufs(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, in v4l2_m2m_reqbufs()
465 int v4l2_m2m_querybuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, in v4l2_m2m_querybuf()
483 int v4l2_m2m_qbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, in v4l2_m2m_qbuf()
503 int v4l2_m2m_dqbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, in v4l2_m2m_dqbuf()
521 int v4l2_m2m_prepare_buf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, in v4l2_m2m_prepare_buf()
541 int v4l2_m2m_create_bufs(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, in v4l2_m2m_create_bufs()
551 int v4l2_m2m_expbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, in v4l2_m2m_expbuf()
561 int v4l2_m2m_streamon(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, in v4l2_m2m_streamon()
576 int v4l2_m2m_streamoff(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, in v4l2_m2m_streamoff()
616 __poll_t v4l2_m2m_poll(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, in v4l2_m2m_poll()
[all …]
/linux-4.19.296/fs/gfs2/
Dutil.c91 const char *function, char *file, unsigned int line) in gfs2_assert_withdraw_i()
109 const char *function, char *file, unsigned int line) in gfs2_assert_warn_i()
143 char *file, unsigned int line) in gfs2_consist_i()
159 const char *function, char *file, unsigned int line) in gfs2_consist_inode_i()
180 const char *function, char *file, unsigned int line) in gfs2_consist_rgrpd_i()
200 const char *type, const char *function, char *file, in gfs2_meta_check_ii()
221 char *file, unsigned int line) in gfs2_metatype_check_ii()
239 int gfs2_io_error_i(struct gfs2_sbd *sdp, const char *function, char *file, in gfs2_io_error_i()
256 const char *function, char *file, unsigned int line, in gfs2_io_error_bh_i()
/linux-4.19.296/fs/proc/
Dkmsg.c23 static int kmsg_open(struct inode * inode, struct file * file) in kmsg_open()
28 static int kmsg_release(struct inode * inode, struct file * file) in kmsg_release()
34 static ssize_t kmsg_read(struct file *file, char __user *buf, in kmsg_read()
43 static __poll_t kmsg_poll(struct file *file, poll_table *wait) in kmsg_poll()
Dinode.c170 struct file *file; in close_pdeo() local
208 static loff_t proc_reg_llseek(struct file *file, loff_t offset, int whence) in proc_reg_llseek()
223 static ssize_t proc_reg_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) in proc_reg_read()
237 static ssize_t proc_reg_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) in proc_reg_write()
251 static __poll_t proc_reg_poll(struct file *file, struct poll_table_struct *pts) in proc_reg_poll()
265 static long proc_reg_unlocked_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in proc_reg_unlocked_ioctl()
280 static long proc_reg_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in proc_reg_compat_ioctl()
295 static int proc_reg_mmap(struct file *file, struct vm_area_struct *vma) in proc_reg_mmap()
310 proc_reg_get_unmapped_area(struct file *file, unsigned long orig_addr, in proc_reg_get_unmapped_area()
335 static int proc_reg_open(struct inode *inode, struct file *file) in proc_reg_open()
[all …]
/linux-4.19.296/fs/orangefs/
Dfile.c243 static ssize_t do_readv_writev(enum ORANGEFS_io_type type, struct file *file, in do_readv_writev()
397 struct file *file = iocb->ki_filp; in orangefs_file_read_iter() local
415 struct file *file = iocb->ki_filp; in orangefs_file_write_iter() local
475 static long orangefs_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in orangefs_ioctl()
533 struct file *file = vmf->vma->vm_file; in orangefs_fault() local
557 static int orangefs_file_mmap(struct file *file, struct vm_area_struct *vma) in orangefs_file_mmap()
585 static int orangefs_file_release(struct inode *inode, struct file *file) in orangefs_file_release()
616 static int orangefs_fsync(struct file *file, in orangefs_fsync()
652 static loff_t orangefs_file_llseek(struct file *file, loff_t offset, int origin) in orangefs_file_llseek()
/linux-4.19.296/drivers/misc/mic/host/
Dmic_debugfs.c57 static int mic_smpt_debug_open(struct inode *inode, struct file *file) in mic_smpt_debug_open()
62 static int mic_smpt_debug_release(struct inode *inode, struct file *file) in mic_smpt_debug_release()
84 static int mic_post_code_debug_open(struct inode *inode, struct file *file) in mic_post_code_debug_open()
89 static int mic_post_code_debug_release(struct inode *inode, struct file *file) in mic_post_code_debug_release()
146 static int mic_msi_irq_info_debug_open(struct inode *inode, struct file *file) in mic_msi_irq_info_debug_open()
152 mic_msi_irq_info_debug_release(struct inode *inode, struct file *file) in mic_msi_irq_info_debug_release()

12345678910>>...22