/linux-6.3-rc2/include/media/ |
A D | v4l2-ioctl.h | 414 int (*vidioc_qbuf)(struct file *file, void *fh, 416 int (*vidioc_expbuf)(struct file *file, void *fh, 418 int (*vidioc_dqbuf)(struct file *file, void *fh, 427 int (*vidioc_g_fbuf)(struct file *file, void *fh, 429 int (*vidioc_s_fbuf)(struct file *file, void *fh, 464 int (*vidioc_g_ctrl)(struct file *file, void *fh, 466 int (*vidioc_s_ctrl)(struct file *file, void *fh, 520 int (*vidioc_g_parm)(struct file *file, void *fh, 522 int (*vidioc_s_parm)(struct file *file, void *fh, 575 int (*vidioc_g_edid)(struct file *file, void *fh, [all …]
|
A D | v4l2-mem2mem.h | 845 int v4l2_m2m_ioctl_reqbufs(struct file *file, void *priv, 847 int v4l2_m2m_ioctl_create_bufs(struct file *file, void *fh, 849 int v4l2_m2m_ioctl_querybuf(struct file *file, void *fh, 851 int v4l2_m2m_ioctl_expbuf(struct file *file, void *fh, 853 int v4l2_m2m_ioctl_qbuf(struct file *file, void *fh, 855 int v4l2_m2m_ioctl_dqbuf(struct file *file, void *fh, 857 int v4l2_m2m_ioctl_prepare_buf(struct file *file, void *fh, 859 int v4l2_m2m_ioctl_streamon(struct file *file, void *fh, 861 int v4l2_m2m_ioctl_streamoff(struct file *file, void *fh, 863 int v4l2_m2m_ioctl_encoder_cmd(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, 331 int vb2_ioctl_qbuf(struct file *file, void *priv, struct v4l2_buffer *p); 335 int vb2_ioctl_expbuf(struct file *file, void *priv, 340 int vb2_fop_mmap(struct file *file, struct vm_area_struct *vma); 341 int vb2_fop_release(struct file *file); 342 int _vb2_fop_release(struct file *file, struct mutex *lock); 343 ssize_t vb2_fop_write(struct file *file, const char __user *buf, 345 ssize_t vb2_fop_read(struct file *file, char __user *buf, [all …]
|
/linux-6.3-rc2/drivers/media/test-drivers/vivid/ |
A D | vivid-vid-cap.h | 20 int vivid_g_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f); 21 int vivid_try_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f); 22 int vivid_s_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f); 36 int vivid_vid_cap_overlay(struct file *file, void *fh, unsigned i); 40 int vidioc_g_input(struct file *file, void *priv, unsigned *i); 41 int vidioc_s_input(struct file *file, void *priv, unsigned i); 42 int vidioc_enumaudio(struct file *file, void *fh, struct v4l2_audio *vin); 43 int vidioc_g_audio(struct file *file, void *fh, struct v4l2_audio *vin); 49 int vidioc_querystd(struct file *file, void *priv, v4l2_std_id *id); 50 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-6.3-rc2/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-6.3-rc2/fs/overlayfs/ |
A D | file.c | 40 static struct file *ovl_open_realfile(const struct file *file, in ovl_open_realfile() argument 70 file, file, ovl_whatisit(inode, realinode), file->f_flags, in ovl_open_realfile() 99 file->f_iocb_flags = iocb_flags(file); in ovl_change_flags() 112 real->file = file->private_data; in ovl_real_fdget_meta() 138 real->file = ovl_dir_real_file(file, false); in ovl_real_fdget() 208 real.file->f_pos = file->f_pos; in ovl_llseek() 214 file->f_pos = real.file->f_pos; in ovl_llseek() 222 static void ovl_file_accessed(struct file *file) in ovl_file_accessed() argument 299 struct file *file = iocb->ki_filp; in ovl_read_iter() local 350 struct file *file = iocb->ki_filp; in ovl_write_iter() local [all …]
|
/linux-6.3-rc2/fs/ |
A D | file_table.c | 49 struct file *f = container_of(head, struct file, f_rcuhead); in file_free_rcu() 228 struct file *file; in alloc_file() local 238 file->f_sb_err = file_sample_sb_err(file); in alloc_file() 247 file->f_iocb_flags = iocb_flags(file); in alloc_file() 252 return file; in alloc_file() 264 struct file *file; in alloc_file_pseudo() local 295 static void __fput(struct file *file) in __fput() argument 318 file->f_op->fasync(-1, file, 0); in __fput() 321 file->f_op->release(inode, file); in __fput() 370 void fput(struct file *file) in fput() argument [all …]
|
A D | read_write.c | 37 static inline bool unsigned_offsets(struct file *file) in unsigned_offsets() argument 108 offset = vfs_setpos(file, file->f_pos + offset, maxsize); in generic_file_llseek_size() 289 return file->f_op->llseek(file, offset, whence); in vfs_llseek() 297 if (!f.file) in ksys_lseek() 333 if (!f.file) in SYSCALL_DEFINE5() 422 if (unlikely(!file->f_op->read_iter || file->f_op->read)) in __kernel_read() 468 ret = file->f_op->read(file, buf, count, pos); in vfs_read() 582 ret = file->f_op->write(file, buf, count, pos); in vfs_write() 597 static inline loff_t *file_ppos(struct file *file) in file_ppos() argument 599 return file->f_mode & FMODE_STREAM ? NULL : &file->f_pos; in file_ppos() [all …]
|
A D | file.c | 640 struct file *file; in pick_file() local 657 struct file *file; in close_fd() local 707 struct file *file; in __range_close() local 809 struct file *file; in close_fd_get_file() local 836 struct file *file; in do_close_on_exec() local 858 struct file *file; in __fget_files_rcu() local 911 struct file *file; in __fget_files() local 1005 struct file *file; in __fget_light() local 1042 struct file *file = (struct file *)(v & ~3); in __fdget_pos() local 1219 struct file *file; in ksys_dup3() local [all …]
|
/linux-6.3-rc2/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-6.3-rc2/include/linux/ |
A D | file.h | 14 struct file; 26 extern struct file *alloc_file_clone(struct file *, int flags, 29 static inline void fput_light(struct file *file, int fput_needed) in fput_light() argument 32 fput(file); in fput_light() 36 struct file *file; member 45 fput(fd.file); in fdput() 84 extern int replace_fd(unsigned fd, struct file *file, unsigned flags); 91 extern void fd_install(unsigned int fd, struct file *file); 93 extern int __receive_fd(struct file *file, int __user *ufd, 96 extern int receive_fd(struct file *file, unsigned int o_flags); [all …]
|
A D | fs.h | 398 void (*swap_deactivate)(struct file *file); 990 static inline struct file *get_file(struct file *f) in get_file() 1667 int vfs_fchmod(struct file *file, umode_t mode); 1856 return file->f_op->mmap(file, vma); in call_mmap() 1879 extern int vfs_dedupe_file_range(struct file *file, 2184 extern int file_modified(struct file *file); 2340 static inline struct file *file_clone_open(struct file *file) in file_clone_open() argument 2342 return dentry_open(&file->f_path, file->f_flags, file->f_cred); in file_clone_open() 2558 if (file) in allow_write_access() 2952 extern int file_update_time(struct file *file); [all …]
|
/linux-6.3-rc2/fs/ecryptfs/ |
A D | file.c | 37 struct file *file = iocb->ki_filp; in ecryptfs_read_update_atime() local 101 static int ecryptfs_readdir(struct file *file, struct dir_context *ctx) in ecryptfs_readdir() argument 165 struct file *lower_file = ecryptfs_file_to_lower(file); in ecryptfs_mmap() 185 static int ecryptfs_open(struct inode *inode, struct file *file) in ecryptfs_open() argument 254 static int ecryptfs_dir_open(struct inode *inode, struct file *file) in ecryptfs_dir_open() argument 284 static int ecryptfs_flush(struct file *file, fl_owner_t td) in ecryptfs_flush() argument 286 struct file *lower_file = ecryptfs_file_to_lower(file); in ecryptfs_flush() 296 static int ecryptfs_release(struct inode *inode, struct file *file) in ecryptfs_release() argument 329 static int ecryptfs_fasync(int fd, struct file *file, int flag) in ecryptfs_fasync() argument 343 struct file *lower_file = ecryptfs_file_to_lower(file); in ecryptfs_unlocked_ioctl() [all …]
|
/linux-6.3-rc2/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 118 fi | tee -a $file.diags 174 for i in $file.*.diags 178 cat $i >> $file.diags [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/i915/gt/ |
A D | shmem_utils.c | 18 struct file *file; in shmem_create_from_data() local 23 return file; in shmem_create_from_data() 27 fput(file); in shmem_create_from_data() 31 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-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
A D | dr_dbg.c | 197 seq_printf(file, in dr_dump_rule_action_mem() 327 seq_printf(file, "%s,", dump); in dr_dump_matcher_mask() 329 seq_puts(file, ","); in dr_dump_matcher_mask() 334 seq_printf(file, "%s,", dump); in dr_dump_matcher_mask() 336 seq_puts(file, ","); in dr_dump_matcher_mask() 341 seq_printf(file, "%s,", dump); in dr_dump_matcher_mask() 343 seq_puts(file, ","); in dr_dump_matcher_mask() 348 seq_printf(file, "%s,", dump); in dr_dump_matcher_mask() 350 seq_puts(file, ","); in dr_dump_matcher_mask() 357 seq_puts(file, ",\n"); in dr_dump_matcher_mask() [all …]
|
/linux-6.3-rc2/drivers/infiniband/core/ |
A D | user_mad.c | 175 return file->agents_dead ? NULL : file->agent[id]; in __get_agent() 312 buf += hdr_size(file); in copy_recv_mad() 359 buf += hdr_size(file); in copy_send_mad() 523 buf += hdr_size(file); in ib_umad_write() 738 agent = ib_register_mad_agent(file->port->ib_dev, file->port->port_num, in ib_umad_reg_agent() 851 agent = ib_register_mad_agent(file->port->ib_dev, file->port->port_num, in ib_umad_reg_agent2() 1003 file = kzalloc(sizeof(*file), GFP_KERNEL); in ib_umad_open() 1004 if (!file) { in ib_umad_open() 1015 file->port = port; in ib_umad_open() 1051 if (file->agent[i]) in ib_umad_close() [all …]
|
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/tools/objtool/ |
A D | check.c | 572 file->pv_ops = NULL; in init_pv_ops() 580 if (!file->pv_ops) in init_pv_ops() 1361 if (!file) in insn_reloc() 1958 file->jl_short++; in handle_jump_alt() 1960 file->jl_long++; in handle_jump_alt() 2045 printf("short:\t%ld\t%ld\n", file->jl_nop_short, file->jl_short); in add_special_section_alts() 2046 printf("long:\t%ld\t%ld\n", file->jl_nop_long, file->jl_long); in add_special_section_alts() 2221 if (!file->rodata) in add_jump_table_alts() 2588 mark_rodata(file); in decode_sections() 2605 add_ignores(file); in decode_sections() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/i915/gem/ |
A D | i915_gem_ioctls.h | 14 struct drm_file *file); 16 struct drm_file *file); 18 struct drm_file *file); 20 struct drm_file *file); 22 struct drm_file *file); 28 struct drm_file *file); 30 struct drm_file *file); 34 struct drm_file *file); 36 struct drm_file *file); 48 struct drm_file *file); [all …]
|
/linux-6.3-rc2/fs/proc/ |
A D | inode.c | 241 struct file *file; in close_pdeo() local 247 file = pdeo->file; in close_pdeo() 248 pde->proc_ops->proc_release(file_inode(file), file); in close_pdeo() 281 static loff_t proc_reg_llseek(struct file *file, loff_t offset, int whence) in proc_reg_llseek() argument 368 static __poll_t proc_reg_poll(struct file *file, struct poll_table_struct *pts) in proc_reg_poll() argument 441 static int proc_reg_mmap(struct file *file, struct vm_area_struct *vma) in proc_reg_mmap() argument 473 proc_reg_get_unmapped_area(struct file *file, unsigned long orig_addr, in proc_reg_get_unmapped_area() argument 489 static int proc_reg_open(struct inode *inode, struct file *file) in proc_reg_open() argument 537 pdeo->file = file; in proc_reg_open() 552 static int proc_reg_release(struct inode *inode, struct file *file) in proc_reg_release() argument [all …]
|