| /linux/include/media/ |
| A D | v4l2-ioctl.h | 416 int (*vidioc_qbuf)(struct file *file, void *fh, 418 int (*vidioc_expbuf)(struct file *file, void *fh, 420 int (*vidioc_dqbuf)(struct file *file, void *fh, 431 int (*vidioc_g_fbuf)(struct file *file, void *fh, 433 int (*vidioc_s_fbuf)(struct file *file, void *fh, 468 int (*vidioc_g_ctrl)(struct file *file, void *fh, 470 int (*vidioc_s_ctrl)(struct file *file, void *fh, 524 int (*vidioc_g_parm)(struct file *file, void *fh, 526 int (*vidioc_s_parm)(struct file *file, void *fh, 579 int (*vidioc_g_edid)(struct file *file, void *fh, [all …]
|
| A D | videobuf2-v4l2.h | 324 int vb2_ioctl_reqbufs(struct file *file, void *priv, 326 int vb2_ioctl_create_bufs(struct file *file, void *priv, 328 int vb2_ioctl_prepare_buf(struct file *file, void *priv, 335 int vb2_ioctl_expbuf(struct file *file, void *priv, 337 int vb2_ioctl_remove_bufs(struct file *file, void *priv, 342 int vb2_fop_mmap(struct file *file, struct vm_area_struct *vma); 343 int vb2_fop_release(struct file *file); 344 int _vb2_fop_release(struct file *file, struct mutex *lock); 345 ssize_t vb2_fop_write(struct file *file, const char __user *buf, 347 ssize_t vb2_fop_read(struct file *file, char __user *buf, [all …]
|
| A D | v4l2-mem2mem.h | 866 int v4l2_m2m_ioctl_reqbufs(struct file *file, void *priv, 868 int v4l2_m2m_ioctl_create_bufs(struct file *file, void *fh, 872 int v4l2_m2m_ioctl_querybuf(struct file *file, void *fh, 874 int v4l2_m2m_ioctl_expbuf(struct file *file, void *fh, 876 int v4l2_m2m_ioctl_qbuf(struct file *file, void *fh, 878 int v4l2_m2m_ioctl_dqbuf(struct file *file, void *fh, 880 int v4l2_m2m_ioctl_prepare_buf(struct file *file, void *fh, 882 int v4l2_m2m_ioctl_streamon(struct file *file, void *fh, 884 int v4l2_m2m_ioctl_streamoff(struct file *file, void *fh, 886 int v4l2_m2m_ioctl_encoder_cmd(struct file *file, void *fh, [all …]
|
| /linux/drivers/media/test-drivers/vivid/ |
| A D | vivid-vid-cap.h | 22 int vivid_g_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f); 23 int vivid_try_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f); 24 int vivid_s_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f); 28 int vidioc_g_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f); 39 int vidioc_g_input(struct file *file, void *priv, unsigned *i); 40 int vidioc_s_input(struct file *file, void *priv, unsigned i); 41 int vidioc_enumaudio(struct file *file, void *fh, struct v4l2_audio *vin); 42 int vidioc_g_audio(struct file *file, void *fh, struct v4l2_audio *vin); 48 int vidioc_querystd(struct file *file, void *priv, v4l2_std_id *id); 49 int vivid_vid_cap_s_std(struct file *file, void *priv, v4l2_std_id id); [all …]
|
| A D | vivid-vid-out.h | 15 int vivid_g_fmt_vid_out(struct file *file, void *priv, struct v4l2_format *f); 16 int vivid_try_fmt_vid_out(struct file *file, void *priv, struct v4l2_format *f); 17 int vivid_s_fmt_vid_out(struct file *file, void *priv, struct v4l2_format *f); 21 int vidioc_g_fmt_vid_out(struct file *file, void *priv, struct v4l2_format *f); 22 int vidioc_try_fmt_vid_out(struct file *file, void *priv, struct v4l2_format *f); 23 int vidioc_s_fmt_vid_out(struct file *file, void *priv, struct v4l2_format *f); 31 int vivid_vid_out_overlay(struct file *file, void *fh, unsigned i); 35 int vidioc_g_output(struct file *file, void *priv, unsigned *i); 36 int vidioc_s_output(struct file *file, void *priv, unsigned i); 38 int vidioc_g_audout(struct file *file, void *fh, struct v4l2_audioout *vout); [all …]
|
| A D | vivid-sdr-cap.h | 11 int vivid_sdr_enum_freq_bands(struct file *file, void *fh, struct v4l2_frequency_band *band); 12 int vivid_sdr_g_frequency(struct file *file, void *fh, struct v4l2_frequency *vf); 13 int vivid_sdr_s_frequency(struct file *file, void *fh, const struct v4l2_frequency *vf); 14 int vivid_sdr_g_tuner(struct file *file, void *fh, struct v4l2_tuner *vt); 15 int vivid_sdr_s_tuner(struct file *file, void *fh, const struct v4l2_tuner *vt); 16 int vidioc_enum_fmt_sdr_cap(struct file *file, void *fh, struct v4l2_fmtdesc *f); 17 int vidioc_g_fmt_sdr_cap(struct file *file, void *fh, struct v4l2_format *f); 18 int vidioc_s_fmt_sdr_cap(struct file *file, void *fh, struct v4l2_format *f); 19 int vidioc_try_fmt_sdr_cap(struct file *file, void *fh, struct v4l2_format *f);
|
| /linux/tools/testing/selftests/efivarfs/ |
| A D | efivarfs.sh | 67 file_cleanup $file 70 file_cleanup $file 77 : > $file 83 file_cleanup $file 89 ./create-read $file 92 file_cleanup $file 95 file_cleanup $file 110 file_cleanup $file 133 chattr -i $file 145 ./open-unlink $file [all …]
|
| /linux/fs/ |
| A D | file_table.c | 48 struct file file; member 298 file->f_sb_err = file_sample_sb_err(file); in file_init_path() 307 file->f_iocb_flags = iocb_flags(file); in file_init_path() 324 struct file *file; in alloc_file() local 351 struct file *file; in alloc_file_pseudo() local 373 struct file *file; in alloc_file_pseudo_noaccount() local 405 static void __fput(struct file *file) in __fput() argument 428 file->f_op->fasync(-1, file, 0); in __fput() 431 file->f_op->release(inode, file); in __fput() 480 void fput(struct file *file) in fput() argument [all …]
|
| A D | file.c | 631 struct file *file; in file_close_fd_locked() local 650 struct file *file; in close_fd() local 692 struct file *file; in __range_close() local 787 struct file *file; in file_close_fd() local 814 struct file *file; in do_close_on_exec() local 834 struct file __rcu *file; in __get_file_rcu() local 927 struct file *file; in __fget_files_rcu() local 1002 struct file *file; in __fget_files() local 1103 struct file *file; in __fget_light() local 1324 struct file *file; in ksys_dup3() local [all …]
|
| A D | read_write.c | 37 static inline bool unsigned_offsets(struct file *file) in unsigned_offsets() argument 55 static loff_t vfs_setpos_cookie(struct file *file, loff_t offset, in vfs_setpos_cookie() argument 177 return vfs_setpos(file, file->f_pos + offset, maxsize); in generic_file_llseek_size() 382 return file->f_op->llseek(file, offset, whence); in vfs_llseek() 521 if (unlikely(!file->f_op->read_iter || file->f_op->read)) in __kernel_read() 567 ret = file->f_op->read(file, buf, count, pos); in vfs_read() 611 if (unlikely(!file->f_op->write_iter || file->f_op->write)) in __kernel_write_iter() 681 ret = file->f_op->write(file, buf, count, pos); in vfs_write() 696 static inline loff_t *file_ppos(struct file *file) in file_ppos() argument 698 return file->f_mode & FMODE_STREAM ? NULL : &file->f_pos; in file_ppos() [all …]
|
| /linux/fs/lockd/ |
| A D | svcsubs.c | 89 struct file **fp = &file->f_file[mode]; in nlm_do_fopen() 131 file = kzalloc(sizeof(*file), GFP_KERNEL); in nlm_lookup_file() 132 if (!file) in nlm_lookup_file() 148 *result = file; in nlm_lookup_file() 156 kfree(file); in nlm_lookup_file() 173 kfree(file); in nlm_delete_file() 270 if (file->f_count || !list_empty(&file->f_blocks) || file->f_shares) in nlm_file_inuse() 322 if (list_empty(&file->f_blocks) && !file->f_locks in nlm_traverse_files() 323 && !file->f_shares && !file->f_count) { in nlm_traverse_files() 347 file, file->f_count); in nlm_release_file() [all …]
|
| /linux/fs/overlayfs/ |
| A D | file.c | 27 static struct file *ovl_open_realfile(const struct file *file, in ovl_open_realfile() argument 57 file, file, ovl_whatisit(inode, realinode), file->f_flags, in ovl_open_realfile() 86 file->f_iocb_flags = iocb_flags(file); in ovl_change_flags() 96 struct file *realfile = file->private_data; in ovl_real_fdget_meta() 117 struct file *f = ovl_open_realfile(file, &realpath); in ovl_real_fdget_meta() 134 struct file *f = ovl_dir_real_file(file, false); in ovl_real_fdget() 228 static void ovl_file_modified(struct file *file) in ovl_file_modified() argument 239 static void ovl_file_accessed(struct file *file) in ovl_file_accessed() argument 269 struct file *file = iocb->ki_filp; in ovl_read_iter() local 294 struct file *file = iocb->ki_filp; in ovl_write_iter() local [all …]
|
| /linux/tools/testing/selftests/rcutorture/bin/ |
| A D | parse-console.sh | 15 file="$1" 23 if test -f "$file" -a -r "$file" 27 echo $title unreadable console output file: $file 30 if grep -Pq '\x00' < $file 41 if grep -q FAILURE $file || grep -q -e '-torture.*!!!' $file 101 echo " " $file 108 echo " " $file 174 for i in $file.*.diags 183 rm -f $file.diags 188 extract_ftrace_from_console $file > $file.ftrace [all …]
|
| /linux/fs/ecryptfs/ |
| A D | file.c | 37 struct file *file = iocb->ki_filp; in ecryptfs_read_update_atime() local 126 static int ecryptfs_readdir(struct file *file, struct dir_context *ctx) in ecryptfs_readdir() argument 190 struct file *lower_file = ecryptfs_file_to_lower(file); in ecryptfs_mmap() 210 static int ecryptfs_open(struct inode *inode, struct file *file) in ecryptfs_open() argument 279 static int ecryptfs_dir_open(struct inode *inode, struct file *file) in ecryptfs_dir_open() argument 309 static int ecryptfs_flush(struct file *file, fl_owner_t td) in ecryptfs_flush() argument 311 struct file *lower_file = ecryptfs_file_to_lower(file); in ecryptfs_flush() 321 static int ecryptfs_release(struct inode *inode, struct file *file) in ecryptfs_release() argument 354 static int ecryptfs_fasync(int fd, struct file *file, int flag) in ecryptfs_fasync() argument 368 struct file *lower_file = ecryptfs_file_to_lower(file); in ecryptfs_unlocked_ioctl() [all …]
|
| /linux/drivers/gpu/drm/i915/gt/ |
| A D | shmem_utils.c | 19 struct file *file; in shmem_create_from_data() local 24 return file; in shmem_create_from_data() 28 fput(file); in shmem_create_from_data() 32 return file; in shmem_create_from_data() 38 struct file *file; in shmem_create_from_object() local 44 return file; in shmem_create_from_object() 55 return file; in shmem_create_from_object() 58 void *shmem_pin_map(struct file *file) in shmem_pin_map() argument 88 void shmem_unpin_map(struct file *file, void *ptr) in shmem_unpin_map() argument 94 static int __shmem_rw(struct file *file, loff_t off, in __shmem_rw() argument [all …]
|
| /linux/include/linux/ |
| A D | file.h | 16 struct file; 18 extern void fput(struct file *); 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() 91 extern int f_dupfd(unsigned int from, struct file *file, unsigned flags); 92 extern int replace_fd(unsigned fd, struct file *file, unsigned flags); 123 extern void fd_install(unsigned int fd, struct file *file); 125 int receive_fd(struct file *file, int __user *ufd, unsigned int o_flags); 127 int receive_fd_replace(int new_fd, struct file *file, unsigned int o_flags); [all …]
|
| A D | fs.h | 437 void (*swap_deactivate)(struct file *file); 1086 struct file *get_file_rcu(struct file __rcu **f); 1087 struct file *get_file_active(struct file **f); 1113 int file_f_owner_allocate(struct file *file); 1167 extern int send_sigurg(struct file *file); 1970 int vfs_fchmod(struct file *file, umode_t mode); 2088 void (*splice_eof)(struct file *file); 2172 return file->f_op->mmap(file, vma); in call_mmap() 2531 extern int file_modified(struct file *file); 2759 static inline struct file *file_clone_open(struct file *file) in file_clone_open() argument [all …]
|
| /linux/drivers/infiniband/core/ |
| A D | user_mad.c | 183 return file->agents_dead ? NULL : file->agent[id]; in __get_agent() 324 buf += hdr_size(file); in copy_recv_mad() 371 buf += hdr_size(file); in copy_send_mad() 537 buf += hdr_size(file); in ib_umad_write() 752 agent = ib_register_mad_agent(file->port->ib_dev, file->port->port_num, in ib_umad_reg_agent() 865 agent = ib_register_mad_agent(file->port->ib_dev, file->port->port_num, in ib_umad_reg_agent2() 1017 file = kzalloc(sizeof(*file), GFP_KERNEL); in ib_umad_open() 1018 if (!file) { in ib_umad_open() 1029 file->port = port; in ib_umad_open() 1065 if (file->agent[i]) in ib_umad_close() [all …]
|
| /linux/tools/objtool/ |
| A D | check.c | 605 if (!file->pv_ops) in init_pv_ops() 1380 if (!file) in insn_reloc() 1979 file->jl_short++; in handle_jump_alt() 1981 file->jl_long++; in handle_jump_alt() 2065 printf("short:\t%ld\t%ld\n", file->jl_nop_short, file->jl_short); in add_special_section_alts() 2066 printf("long:\t%ld\t%ld\n", file->jl_nop_long, file->jl_long); in add_special_section_alts() 2250 if (!file->rodata) in add_jump_table_alts() 2649 mark_rodata(file); in decode_sections() 2666 add_ignores(file); in decode_sections() 3911 if (!file->hints) in validate_unwind_hints() [all …]
|
| /linux/drivers/misc/ |
| A D | ntsync.c | 40 struct file *file; member 53 struct file *file; member 100 static int ntsync_obj_release(struct inode *inode, struct file *file) in ntsync_obj_release() argument 110 static long ntsync_obj_ioctl(struct file *file, unsigned int cmd, in ntsync_obj_ioctl() argument 149 struct file *file; in ntsync_obj_get_fd() local 156 if (IS_ERR(file)) { in ntsync_obj_get_fd() 160 obj->file = file; in ntsync_obj_get_fd() 193 static int ntsync_char_open(struct inode *inode, struct file *file) in ntsync_char_open() argument 202 dev->file = file; in ntsync_char_open() 206 static int ntsync_char_release(struct inode *inode, struct file *file) in ntsync_char_release() argument [all …]
|
| /linux/drivers/net/wireless/mediatek/mt76/ |
| A D | mt76x02_debugfs.c | 12 struct mt76x02_dev *dev = file->private; in mt76x02_ampdu_stat_show() 16 seq_puts(file, "Length: "); in mt76x02_ampdu_stat_show() 19 seq_puts(file, "\n"); in mt76x02_ampdu_stat_show() 20 seq_puts(file, "Count: "); in mt76x02_ampdu_stat_show() 22 seq_printf(file, "%8d | ", in mt76x02_ampdu_stat_show() 24 seq_puts(file, "\n"); in mt76x02_ampdu_stat_show() 25 seq_puts(file, "--------"); in mt76x02_ampdu_stat_show() 27 seq_puts(file, "-----------"); in mt76x02_ampdu_stat_show() 28 seq_puts(file, "\n"); in mt76x02_ampdu_stat_show() 58 seq_puts(file, "\n"); in mt76x02_dfs_stat_show() [all …]
|
| /linux/kernel/trace/ |
| A D | trace_events_trigger.c | 275 static ssize_t event_trigger_regex_write(struct file *file, in event_trigger_regex_write() argument 1087 ret = create_event_filter(file->tr, file->event_call, in set_trigger_filter() 1288 if (file) { in traceon_trigger() 1309 if (file) { in traceon_count_trigger() 1323 if (file) in traceon_count_trigger() 1336 if (file) { in traceoff_trigger() 1357 if (file) { in traceoff_count_trigger() 1371 if (file) in traceoff_count_trigger() 1464 if (file) in snapshot_trigger() 1583 if (file) in stacktrace_trigger() [all …]
|
| /linux/fs/ocfs2/ |
| A D | locks.c | 23 static int ocfs2_do_flock(struct file *file, struct inode *inode, in ocfs2_do_flock() argument 58 locks_lock_file_wait(file, &request); in ocfs2_do_flock() 60 ocfs2_file_unlock(file); in ocfs2_do_flock() 72 ret = locks_lock_file_wait(file, fl); in ocfs2_do_flock() 74 ocfs2_file_unlock(file); in ocfs2_do_flock() 82 static int ocfs2_do_funlock(struct file *file, int cmd, struct file_lock *fl) in ocfs2_do_funlock() argument 88 ocfs2_file_unlock(file); in ocfs2_do_funlock() 89 ret = locks_lock_file_wait(file, fl); in ocfs2_do_funlock() 98 int ocfs2_flock(struct file *file, int cmd, struct file_lock *fl) in ocfs2_flock() argument 108 return locks_lock_file_wait(file, fl); in ocfs2_flock() [all …]
|
| /linux/sound/core/seq/oss/ |
| A D | seq_oss.c | 44 static int odev_open(struct inode *inode, struct file *file); 45 static int odev_release(struct inode *inode, struct file *file); 48 static long odev_ioctl(struct file *file, unsigned int cmd, unsigned long arg); 49 static __poll_t odev_poll(struct file *file, poll_table * wait); 118 odev_open(struct inode *inode, struct file *file) in odev_open() argument 135 odev_release(struct inode *inode, struct file *file) in odev_release() argument 139 dp = file->private_data; in odev_release() 151 odev_read(struct file *file, char __user *buf, size_t count, loff_t *offset) in odev_read() argument 172 odev_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in odev_ioctl() argument 191 static long odev_ioctl_compat(struct file *file, unsigned int cmd, in odev_ioctl_compat() argument [all …]
|
| /linux/fs/ceph/ |
| A D | ioctl.c | 18 static long ceph_ioctl_get_layout(struct file *file, void __user *arg) in ceph_ioctl_get_layout() argument 65 static long ceph_ioctl_set_layout(struct file *file, void __user *arg) in ceph_ioctl_set_layout() argument 137 static long ceph_ioctl_set_layout_policy (struct file *file, void __user *arg) in ceph_ioctl_set_layout_policy() argument 180 static long ceph_ioctl_get_dataloc(struct file *file, void __user *arg) in ceph_ioctl_get_dataloc() argument 242 static long ceph_ioctl_lazyio(struct file *file) in ceph_ioctl_lazyio() argument 267 static long ceph_ioctl_syncio(struct file *file) in ceph_ioctl_syncio() argument 275 static int vet_mds_for_fscrypt(struct file *file) in vet_mds_for_fscrypt() argument 294 static long ceph_set_encryption_policy(struct file *file, unsigned long arg) in ceph_set_encryption_policy() argument 304 ret = vet_mds_for_fscrypt(file); in ceph_set_encryption_policy() 359 long ceph_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in ceph_ioctl() argument [all …]
|