/kernel/linux/linux-4.19/include/media/ |
D | v4l2-ioctl.h | 301 int (*vidioc_querycap)(struct file *file, void *fh, 305 int (*vidioc_enum_fmt_vid_cap)(struct file *file, void *fh, 307 int (*vidioc_enum_fmt_vid_overlay)(struct file *file, void *fh, 309 int (*vidioc_enum_fmt_vid_out)(struct file *file, void *fh, 311 int (*vidioc_enum_fmt_vid_cap_mplane)(struct file *file, void *fh, 313 int (*vidioc_enum_fmt_vid_out_mplane)(struct file *file, void *fh, 315 int (*vidioc_enum_fmt_sdr_cap)(struct file *file, void *fh, 317 int (*vidioc_enum_fmt_sdr_out)(struct file *file, void *fh, 319 int (*vidioc_enum_fmt_meta_cap)(struct file *file, void *fh, 323 int (*vidioc_g_fmt_vid_cap)(struct file *file, void *fh, [all …]
|
D | videobuf2-v4l2.h | 235 __poll_t vb2_poll(struct vb2_queue *q, struct file *file, poll_table *wait); 247 int vb2_ioctl_reqbufs(struct file *file, void *priv, 249 int vb2_ioctl_create_bufs(struct file *file, void *priv, 251 int vb2_ioctl_prepare_buf(struct file *file, void *priv, 253 int vb2_ioctl_querybuf(struct file *file, void *priv, struct v4l2_buffer *p); 254 int vb2_ioctl_qbuf(struct file *file, void *priv, struct v4l2_buffer *p); 255 int vb2_ioctl_dqbuf(struct file *file, void *priv, struct v4l2_buffer *p); 256 int vb2_ioctl_streamon(struct file *file, void *priv, enum v4l2_buf_type i); 257 int vb2_ioctl_streamoff(struct file *file, void *priv, enum v4l2_buf_type i); 258 int vb2_ioctl_expbuf(struct file *file, void *priv, [all …]
|
/kernel/linux/linux-5.10/include/media/ |
D | v4l2-ioctl.h | 300 int (*vidioc_querycap)(struct file *file, void *fh, 304 int (*vidioc_enum_fmt_vid_cap)(struct file *file, void *fh, 306 int (*vidioc_enum_fmt_vid_overlay)(struct file *file, void *fh, 308 int (*vidioc_enum_fmt_vid_out)(struct file *file, void *fh, 310 int (*vidioc_enum_fmt_sdr_cap)(struct file *file, void *fh, 312 int (*vidioc_enum_fmt_sdr_out)(struct file *file, void *fh, 314 int (*vidioc_enum_fmt_meta_cap)(struct file *file, void *fh, 316 int (*vidioc_enum_fmt_meta_out)(struct file *file, void *fh, 320 int (*vidioc_g_fmt_vid_cap)(struct file *file, void *fh, 322 int (*vidioc_g_fmt_vid_overlay)(struct file *file, void *fh, [all …]
|
D | v4l2-mem2mem.h | 336 int v4l2_m2m_reqbufs(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 348 int v4l2_m2m_querybuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 359 int v4l2_m2m_qbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 370 int v4l2_m2m_dqbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 381 int v4l2_m2m_prepare_buf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 392 int v4l2_m2m_create_bufs(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 403 int v4l2_m2m_expbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 413 int v4l2_m2m_streamon(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 423 int v4l2_m2m_streamoff(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 453 int v4l2_m2m_encoder_cmd(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, [all …]
|
D | videobuf2-v4l2.h | 283 __poll_t vb2_poll(struct vb2_queue *q, struct file *file, poll_table *wait); 295 int vb2_ioctl_reqbufs(struct file *file, void *priv, 297 int vb2_ioctl_create_bufs(struct file *file, void *priv, 299 int vb2_ioctl_prepare_buf(struct file *file, void *priv, 301 int vb2_ioctl_querybuf(struct file *file, void *priv, struct v4l2_buffer *p); 302 int vb2_ioctl_qbuf(struct file *file, void *priv, struct v4l2_buffer *p); 303 int vb2_ioctl_dqbuf(struct file *file, void *priv, struct v4l2_buffer *p); 304 int vb2_ioctl_streamon(struct file *file, void *priv, enum v4l2_buf_type i); 305 int vb2_ioctl_streamoff(struct file *file, void *priv, enum v4l2_buf_type i); 306 int vb2_ioctl_expbuf(struct file *file, void *priv, [all …]
|
/kernel/linux/linux-4.19/drivers/media/platform/vivid/ |
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); 23 int vidioc_g_fmt_vid_cap_mplane(struct file *file, void *priv, struct v4l2_format *f); 24 int vidioc_try_fmt_vid_cap_mplane(struct file *file, void *priv, struct v4l2_format *f); 25 int vidioc_s_fmt_vid_cap_mplane(struct file *file, void *priv, struct v4l2_format *f); 26 int vidioc_g_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f); 27 int vidioc_try_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f); 28 int vidioc_s_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f); 29 int vivid_vid_cap_g_selection(struct file *file, void *priv, struct v4l2_selection *sel); [all …]
|
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); 18 int vidioc_g_fmt_vid_out_mplane(struct file *file, void *priv, struct v4l2_format *f); 19 int vidioc_try_fmt_vid_out_mplane(struct file *file, void *priv, struct v4l2_format *f); 20 int vidioc_s_fmt_vid_out_mplane(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); 24 int vivid_vid_out_g_selection(struct file *file, void *priv, struct v4l2_selection *sel); [all …]
|
/kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/ |
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); 23 int vidioc_g_fmt_vid_cap_mplane(struct file *file, void *priv, struct v4l2_format *f); 24 int vidioc_try_fmt_vid_cap_mplane(struct file *file, void *priv, struct v4l2_format *f); 25 int vidioc_s_fmt_vid_cap_mplane(struct file *file, void *priv, struct v4l2_format *f); 26 int vidioc_g_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f); 27 int vidioc_try_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f); 28 int vidioc_s_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f); 29 int vivid_vid_cap_g_selection(struct file *file, void *priv, struct v4l2_selection *sel); [all …]
|
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); 18 int vidioc_g_fmt_vid_out_mplane(struct file *file, void *priv, struct v4l2_format *f); 19 int vidioc_try_fmt_vid_out_mplane(struct file *file, void *priv, struct v4l2_format *f); 20 int vidioc_s_fmt_vid_out_mplane(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); 24 int vivid_vid_out_g_selection(struct file *file, void *priv, struct v4l2_selection *sel); [all …]
|
/kernel/linux/linux-4.19/fs/overlayfs/ |
D | file.c | 31 static struct file *ovl_open_realfile(const struct file *file, in ovl_open_realfile() argument 34 struct inode *inode = file_inode(file); in ovl_open_realfile() 35 struct file *realfile; in ovl_open_realfile() 37 int flags = file->f_flags | OVL_OPEN_FLAGS; in ovl_open_realfile() 52 realfile = open_with_fake_path(&file->f_path, flags, realinode, in ovl_open_realfile() 58 file, file, ovl_whatisit(inode, realinode), file->f_flags, in ovl_open_realfile() 66 static int ovl_change_flags(struct file *file, unsigned int flags) in ovl_change_flags() argument 68 struct inode *inode = file_inode(file); in ovl_change_flags() 73 if (((flags ^ file->f_flags) & O_APPEND) && IS_APPEND(inode)) in ovl_change_flags() 77 if (!file->f_mapping->a_ops || in ovl_change_flags() [all …]
|
/kernel/linux/linux-4.19/tools/testing/selftests/efivarfs/ |
D | efivarfs.sh | 50 local file=$efivarfs_mount/$FUNCNAME-$test_guid 52 printf "$attrs\x00" > $file 54 if [ ! -e $file ]; then 55 echo "$file couldn't be created" >&2 59 if [ $(stat -c %s $file) -ne 5 ]; then 60 echo "$file has invalid size" >&2 67 local file=$efivarfs_mount/$FUNCNAME-$test_guid 69 : > $file 71 if [ ! -e $file ]; then 72 echo "$file can not be created without writing" >&2 [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/efivarfs/ |
D | efivarfs.sh | 56 local file=$efivarfs_mount/$FUNCNAME-$test_guid 58 printf "$attrs\x00" > $file 60 if [ ! -e $file ]; then 61 echo "$file couldn't be created" >&2 65 if [ $(stat -c %s $file) -ne 5 ]; then 66 echo "$file has invalid size" >&2 67 file_cleanup $file 70 file_cleanup $file 75 local file=$efivarfs_mount/$FUNCNAME-$test_guid 77 : > $file [all …]
|
/kernel/linux/linux-5.10/fs/overlayfs/ |
D | file.c | 40 static struct file *ovl_open_realfile(const struct file *file, in ovl_open_realfile() argument 43 struct inode *inode = file_inode(file); in ovl_open_realfile() 44 struct file *realfile; in ovl_open_realfile() 46 int flags = file->f_flags | OVL_OPEN_FLAGS; in ovl_open_realfile() 60 realfile = open_with_fake_path(&file->f_path, flags, realinode, in ovl_open_realfile() 66 file, file, ovl_whatisit(inode, realinode), file->f_flags, in ovl_open_realfile() 74 static int ovl_change_flags(struct file *file, unsigned int flags) in ovl_change_flags() argument 76 struct inode *inode = file_inode(file); in ovl_change_flags() 82 if (WARN_ON((file->f_flags ^ flags) & ~OVL_SETFL_MASK)) in ovl_change_flags() 87 if (((flags ^ file->f_flags) & O_APPEND) && IS_APPEND(inode)) in ovl_change_flags() [all …]
|
/kernel/linux/linux-5.10/fs/ |
D | file_table.c | 47 struct file *f = container_of(head, struct file, f_u.fu_rcuhead); in file_free_rcu() 53 static inline void file_free(struct file *f) in file_free() 96 static struct file *__alloc_file(int flags, const struct cred *cred) in __alloc_file() 98 struct file *f; in __alloc_file() 134 struct file *alloc_empty_file(int flags, const struct cred *cred) in alloc_empty_file() 137 struct file *f; in alloc_empty_file() 171 struct file *alloc_empty_file_noaccount(int flags, const struct cred *cred) in alloc_empty_file_noaccount() 173 struct file *f = __alloc_file(flags, cred); in alloc_empty_file_noaccount() 188 static struct file *alloc_file(const struct path *path, int flags, in alloc_file() 191 struct file *file; in alloc_file() local [all …]
|
D | read_write.c | 49 loff_t vfs_setpos(struct file *file, loff_t offset, loff_t maxsize) in vfs_setpos() argument 51 if (offset < 0 && !unsigned_offsets(file)) in vfs_setpos() 56 if (offset != file->f_pos) { in vfs_setpos() 57 file->f_pos = offset; in vfs_setpos() 58 file->f_version = 0; in vfs_setpos() 81 generic_file_llseek_size(struct file *file, loff_t offset, int whence, in generic_file_llseek_size() argument 96 return file->f_pos; in generic_file_llseek_size() 102 spin_lock(&file->f_lock); in generic_file_llseek_size() 103 offset = vfs_setpos(file, file->f_pos + offset, maxsize); in generic_file_llseek_size() 104 spin_unlock(&file->f_lock); in generic_file_llseek_size() [all …]
|
/kernel/linux/linux-5.10/include/linux/ |
D | file.h | 14 struct file; 16 extern void fput(struct file *); 17 extern void fput_many(struct file *, unsigned int); 25 extern struct file *alloc_file_pseudo(struct inode *, struct vfsmount *, 27 extern struct file *alloc_file_clone(struct file *, int flags, 30 static inline void fput_light(struct file *file, int fput_needed) in fput_light() argument 33 fput(file); in fput_light() 37 struct file *file; member 46 fput(fd.file); in fdput() 49 extern struct file *fget(unsigned int fd); [all …]
|
/kernel/linux/linux-4.19/fs/ |
D | file_table.c | 46 struct file *f = container_of(head, struct file, f_u.fu_rcuhead); in file_free_rcu() 52 static inline void file_free(struct file *f) in file_free() 95 static struct file *__alloc_file(int flags, const struct cred *cred) in __alloc_file() 97 struct file *f; in __alloc_file() 133 struct file *alloc_empty_file(int flags, const struct cred *cred) in alloc_empty_file() 136 struct file *f; in alloc_empty_file() 170 struct file *alloc_empty_file_noaccount(int flags, const struct cred *cred) in alloc_empty_file_noaccount() 172 struct file *f = __alloc_file(flags, cred); in alloc_empty_file_noaccount() 187 static struct file *alloc_file(const struct path *path, int flags, in alloc_file() 190 struct file *file; in alloc_file() local [all …]
|
/kernel/linux/linux-5.10/fs/hmdfs/ |
D | file_local.c | 22 int hmdfs_file_open_local(struct inode *inode, struct file *file) in hmdfs_file_open_local() argument 25 struct file *lower_file = NULL; in hmdfs_file_open_local() 36 hmdfs_get_lower_path(file->f_path.dentry, &lower_path); in hmdfs_file_open_local() 37 lower_file = dentry_open(&lower_path, file->f_flags, cred); in hmdfs_file_open_local() 44 file->private_data = gfi; in hmdfs_file_open_local() 50 int hmdfs_file_release_local(struct inode *inode, struct file *file) in hmdfs_file_release_local() argument 52 struct hmdfs_file_info *gfi = hmdfs_f(file); in hmdfs_file_release_local() 54 file->private_data = NULL; in hmdfs_file_release_local() 60 static void hmdfs_file_accessed(struct file *file) in hmdfs_file_accessed() argument 62 struct file *lower_file = hmdfs_f(file)->lower_file; in hmdfs_file_accessed() [all …]
|
/kernel/linux/linux-5.10/fs/lockd/ |
D | svcsubs.c | 46 static inline void nlm_debug_print_file(char *msg, struct nlm_file *file) in nlm_debug_print_file() argument 48 struct inode *inode = locks_inode(file->f_file); in nlm_debug_print_file() 59 static inline void nlm_debug_print_file(char *msg, struct nlm_file *file) in nlm_debug_print_file() argument 87 struct nlm_file *file; in nlm_lookup_file() local 98 hlist_for_each_entry(file, &nlm_files[hash], f_list) in nlm_lookup_file() 99 if (!nfs_compare_fh(&file->f_handle, f)) in nlm_lookup_file() 105 file = kzalloc(sizeof(*file), GFP_KERNEL); in nlm_lookup_file() 106 if (!file) in nlm_lookup_file() 109 memcpy(&file->f_handle, f, sizeof(struct nfs_fh)); in nlm_lookup_file() 110 mutex_init(&file->f_mutex); in nlm_lookup_file() [all …]
|
/kernel/linux/linux-4.19/fs/lockd/ |
D | svcsubs.c | 45 static inline void nlm_debug_print_file(char *msg, struct nlm_file *file) in nlm_debug_print_file() argument 47 struct inode *inode = locks_inode(file->f_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() argument 86 struct nlm_file *file; in nlm_lookup_file() local 97 hlist_for_each_entry(file, &nlm_files[hash], f_list) in nlm_lookup_file() 98 if (!nfs_compare_fh(&file->f_handle, f)) in nlm_lookup_file() 104 file = kzalloc(sizeof(*file), GFP_KERNEL); in nlm_lookup_file() 105 if (!file) in nlm_lookup_file() 108 memcpy(&file->f_handle, f, sizeof(struct nfs_fh)); in nlm_lookup_file() 109 mutex_init(&file->f_mutex); in nlm_lookup_file() [all …]
|
/kernel/linux/linux-4.19/drivers/net/wireless/mediatek/mt76/ |
D | mt76x2_debugfs.c | 21 mt76x2_ampdu_stat_read(struct seq_file *file, void *data) in mt76x2_ampdu_stat_read() argument 23 struct mt76x2_dev *dev = file->private; in mt76x2_ampdu_stat_read() 27 seq_puts(file, "Length: "); in mt76x2_ampdu_stat_read() 29 seq_printf(file, "%8d | ", i * 8 + j + 1); in mt76x2_ampdu_stat_read() 30 seq_puts(file, "\n"); in mt76x2_ampdu_stat_read() 31 seq_puts(file, "Count: "); in mt76x2_ampdu_stat_read() 33 seq_printf(file, "%8d | ", dev->aggr_stats[i * 8 + j]); in mt76x2_ampdu_stat_read() 34 seq_puts(file, "\n"); in mt76x2_ampdu_stat_read() 35 seq_puts(file, "--------"); in mt76x2_ampdu_stat_read() 37 seq_puts(file, "-----------"); in mt76x2_ampdu_stat_read() [all …]
|
/kernel/linux/linux-4.19/fs/ecryptfs/ |
D | file.c | 51 struct file *file = iocb->ki_filp; in ecryptfs_read_update_atime() local 55 path = ecryptfs_dentry_to_lower_path(file->f_path.dentry); in ecryptfs_read_update_atime() 115 static int ecryptfs_readdir(struct file *file, struct dir_context *ctx) in ecryptfs_readdir() argument 118 struct file *lower_file; in ecryptfs_readdir() 119 struct inode *inode = file_inode(file); in ecryptfs_readdir() 125 lower_file = ecryptfs_file_to_lower(file); in ecryptfs_readdir() 183 static int ecryptfs_mmap(struct file *file, struct vm_area_struct *vma) in ecryptfs_mmap() argument 185 struct file *lower_file = ecryptfs_file_to_lower(file); in ecryptfs_mmap() 193 return generic_file_mmap(file, vma); in ecryptfs_mmap() 205 static int ecryptfs_open(struct inode *inode, struct file *file) in ecryptfs_open() argument [all …]
|
/kernel/linux/linux-5.10/fs/ecryptfs/ |
D | file.c | 37 struct file *file = iocb->ki_filp; in ecryptfs_read_update_atime() local 41 path = ecryptfs_dentry_to_lower_path(file->f_path.dentry); in ecryptfs_read_update_atime() 101 static int ecryptfs_readdir(struct file *file, struct dir_context *ctx) in ecryptfs_readdir() argument 104 struct file *lower_file; in ecryptfs_readdir() 105 struct inode *inode = file_inode(file); in ecryptfs_readdir() 111 lower_file = ecryptfs_file_to_lower(file); in ecryptfs_readdir() 169 static int ecryptfs_mmap(struct file *file, struct vm_area_struct *vma) in ecryptfs_mmap() argument 171 struct file *lower_file = ecryptfs_file_to_lower(file); in ecryptfs_mmap() 179 return generic_file_mmap(file, vma); in ecryptfs_mmap() 191 static int ecryptfs_open(struct inode *inode, struct file *file) in ecryptfs_open() argument [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
D | shmem_utils.c | 13 struct file *shmem_create_from_data(const char *name, void *data, size_t len) in shmem_create_from_data() 15 struct file *file; in shmem_create_from_data() local 18 file = shmem_file_setup(name, PAGE_ALIGN(len), VM_NORESERVE); in shmem_create_from_data() 19 if (IS_ERR(file)) in shmem_create_from_data() 20 return file; in shmem_create_from_data() 22 err = shmem_write(file, 0, data, len); in shmem_create_from_data() 24 fput(file); in shmem_create_from_data() 28 return file; in shmem_create_from_data() 31 struct file *shmem_create_from_object(struct drm_i915_gem_object *obj) in shmem_create_from_object() 33 struct file *file; in shmem_create_from_object() local [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/rcutorture/bin/ |
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 34 cat /dev/null > $file.diags 41 if grep -q FAILURE $file || grep -q -e '-torture.*!!!' $file 43 nerrs=`grep --binary-files=text '!!!' $file | 67 grep --binary-files=text 'torture:.*ver:' $file | 96 if grep -q SUCCESS $file 101 echo " " $file [all …]
|