/kernel/linux/linux-6.6/include/media/ |
H A 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, voi [all...] |
H A D | videobuf2-v4l2.h | 149 * vb2_expbuf() - Export a buffer as a file descriptor 166 * would be passing (&file->f_flags & %O_NONBLOCK) here 277 * @file: file argument passed to the poll file operation handler 278 * @wait: wait argument passed to the poll file operation handler 280 * This function implements poll file operation handler for a driver. 282 * be informed that the file descriptor of a video device is available for 284 * For OUTPUT queues, if a buffer is ready to be dequeued, the file descriptor 293 __poll_t vb2_poll(struct vb2_queue *q, struct file *fil 317 vb2_queue_is_busy(struct vb2_queue *q, struct file *file) vb2_queue_is_busy() argument [all...] |
H A D | v4l2-mem2mem.h | 96 * The memory to memory context is specific to a file handle, NOT to e.g. 332 * @file: pointer to struct &file 336 int v4l2_m2m_reqbufs(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 342 * @file: pointer to struct &file 348 int v4l2_m2m_querybuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 355 * @file [all...] |
/kernel/linux/linux-5.10/include/media/ |
H A 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, voi [all...] |
H A D | videobuf2-v4l2.h | 155 * vb2_expbuf() - Export a buffer as a file descriptor 172 * would be passing (&file->f_flags & %O_NONBLOCK) here 267 * @file: file argument passed to the poll file operation handler 268 * @wait: wait argument passed to the poll file operation handler 270 * This function implements poll file operation handler for a driver. 272 * be informed that the file descriptor of a video device is available for 274 * For OUTPUT queues, if a buffer is ready to be dequeued, the file descriptor 283 __poll_t vb2_poll(struct vb2_queue *q, struct file *fil [all...] |
H A D | v4l2-mem2mem.h | 96 * The memory to memory context is specific to a file handle, NOT to e.g. 332 * @file: pointer to struct &file 336 int v4l2_m2m_reqbufs(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 342 * @file: pointer to struct &file 348 int v4l2_m2m_querybuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 355 * @file [all...] |
/kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/ |
H 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); 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, voi [all...] |
H 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); 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, voi [all...] |
/kernel/linux/linux-6.6/drivers/media/test-drivers/vivid/ |
H 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); 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, voi [all...] |
H 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); 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, voi [all...] |
/kernel/linux/linux-5.10/fs/sharefs/ |
H A D | file.c | 3 * fs/sharefs/file.c 14 static int sharefs_readdir(struct file *file, struct dir_context *ctx) in sharefs_readdir() argument 17 struct file *lower_file = NULL; in sharefs_readdir() 18 struct dentry *dentry = file->f_path.dentry; in sharefs_readdir() 20 lower_file = sharefs_lower_file(file); in sharefs_readdir() 22 file->f_pos = lower_file->f_pos; in sharefs_readdir() 29 static int sharefs_open(struct inode *inode, struct file *file) in sharefs_open() argument 32 struct file *lower_fil in sharefs_open() 78 sharefs_flush(struct file *file, fl_owner_t id) sharefs_flush() argument 93 sharefs_file_release(struct inode *inode, struct file *file) sharefs_file_release() argument 107 sharefs_fsync(struct file *file, loff_t start, loff_t end, int datasync) sharefs_fsync() argument 126 sharefs_fasync(int fd, struct file *file, int flag) sharefs_fasync() argument 144 sharefs_file_llseek(struct file *file, loff_t offset, int whence) sharefs_file_llseek() argument 163 struct file *file = iocb->ki_filp; sharefs_read_iter() local 193 struct file *file = iocb->ki_filp; sharefs_write_iter() local 218 sharefs_file_mmap(struct file *file, struct vm_area_struct *vma) sharefs_file_mmap() argument [all...] |
/kernel/linux/linux-6.6/fs/sharefs/ |
H A D | file.c | 3 * fs/sharefs/file.c 14 static int sharefs_readdir(struct file *file, struct dir_context *ctx) in sharefs_readdir() argument 17 struct file *lower_file = NULL; in sharefs_readdir() 18 struct dentry *dentry = file->f_path.dentry; in sharefs_readdir() 20 lower_file = sharefs_lower_file(file); in sharefs_readdir() 22 file->f_pos = lower_file->f_pos; in sharefs_readdir() 29 static int sharefs_open(struct inode *inode, struct file *file) in sharefs_open() argument 32 struct file *lower_fil in sharefs_open() 78 sharefs_flush(struct file *file, fl_owner_t id) sharefs_flush() argument 93 sharefs_file_release(struct inode *inode, struct file *file) sharefs_file_release() argument 107 sharefs_fsync(struct file *file, loff_t start, loff_t end, int datasync) sharefs_fsync() argument 126 sharefs_fasync(int fd, struct file *file, int flag) sharefs_fasync() argument 144 sharefs_file_llseek(struct file *file, loff_t offset, int whence) sharefs_file_llseek() argument 163 struct file *file = iocb->ki_filp; sharefs_read_iter() local 193 struct file *file = iocb->ki_filp; sharefs_write_iter() local 218 sharefs_file_mmap(struct file *file, struct vm_area_struct *vma) sharefs_file_mmap() argument [all...] |
/kernel/linux/linux-6.6/fs/overlayfs/ |
H A D | file.c | 7 #include <linux/file.h> 39 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() 45 struct file *realfile; in ovl_open_realfile() 47 int flags = file->f_flags | OVL_OPEN_FLAGS; in ovl_open_realfile() 63 realfile = backing_file_open(&file->f_path, flags, realpath, in ovl_open_realfile() 69 file, file, ovl_whatisi in ovl_open_realfile() 77 ovl_change_flags(struct file *file, unsigned int flags) ovl_change_flags() argument 104 ovl_real_fdget_meta(const struct file *file, struct fd *real, bool allow_meta) ovl_real_fdget_meta() argument 142 ovl_real_fdget(const struct file *file, struct fd *real) ovl_real_fdget() argument 154 ovl_open(struct inode *inode, struct file *file) ovl_open() argument 186 ovl_release(struct inode *inode, struct file *file) ovl_release() argument 193 ovl_llseek(struct file *file, loff_t offset, int whence) ovl_llseek() argument 238 ovl_file_accessed(struct file *file) ovl_file_accessed() argument 315 struct file *file = iocb->ki_filp; ovl_read_iter() local 364 struct file *file = iocb->ki_filp; ovl_write_iter() local 502 ovl_fsync(struct file *file, loff_t start, loff_t end, int datasync) ovl_fsync() argument 528 ovl_mmap(struct file *file, struct vm_area_struct *vma) ovl_mmap() argument 550 ovl_fallocate(struct file *file, int mode, loff_t offset, loff_t len) ovl_fallocate() argument 583 ovl_fadvise(struct file *file, loff_t offset, loff_t len, int advice) ovl_fadvise() argument 703 ovl_flush(struct file *file, fl_owner_t id) ovl_flush() argument [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/efivarfs/ |
H A 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-6.6/tools/testing/selftests/efivarfs/ |
H A 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/ |
H A D | file_table.c | 11 #include <linux/file.h> 40 /* SLAB cache for file structures */ 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() 124 /* Find an unused file structure and return a pointer to it. 125 * Returns an error pointer if some error happend e.g. we over file 134 struct file *alloc_empty_fil 191 struct file *file; alloc_file() local 224 struct file *file; alloc_file_pseudo() local 255 __fput(struct file *file) __fput() argument 335 fput_many(struct file *file, unsigned int refs) fput_many() argument 356 fput(struct file *file) fput() argument 369 __fput_sync(struct file *file) __fput_sync() argument [all...] |
/kernel/linux/linux-5.10/fs/overlayfs/ |
H A D | file.c | 7 #include <linux/file.h> 39 static struct file *ovl_open_realfile(const struct file *file, in ovl_open_realfile() argument 42 struct inode *inode = file_inode(file); in ovl_open_realfile() 43 struct file *realfile; in ovl_open_realfile() 45 int flags = file->f_flags | OVL_OPEN_FLAGS; in ovl_open_realfile() 59 realfile = open_with_fake_path(&file->f_path, flags, realinode, in ovl_open_realfile() 65 file, file, ovl_whatisi in ovl_open_realfile() 73 ovl_change_flags(struct file *file, unsigned int flags) ovl_change_flags() argument 108 ovl_real_fdget_meta(const struct file *file, struct fd *real, bool allow_meta) ovl_real_fdget_meta() argument 137 ovl_real_fdget(const struct file *file, struct fd *real) ovl_real_fdget() argument 149 ovl_open(struct inode *inode, struct file *file) ovl_open() argument 170 ovl_release(struct inode *inode, struct file *file) ovl_release() argument 177 ovl_llseek(struct file *file, loff_t offset, int whence) ovl_llseek() argument 222 ovl_file_accessed(struct file *file) ovl_file_accessed() argument 299 struct file *file = iocb->ki_filp; ovl_read_iter() local 350 struct file *file = iocb->ki_filp; ovl_write_iter() local 467 ovl_fsync(struct file *file, loff_t start, loff_t end, int datasync) ovl_fsync() argument 493 ovl_mmap(struct file *file, struct vm_area_struct *vma) ovl_mmap() argument 524 ovl_fallocate(struct file *file, int mode, loff_t offset, loff_t len) ovl_fallocate() argument 557 ovl_fadvise(struct file *file, loff_t offset, loff_t len, int advice) ovl_fadvise() argument 576 ovl_real_ioctl(struct file *file, unsigned int cmd, unsigned long arg) ovl_real_ioctl() argument 600 ovl_ioctl_set_flags(struct file *file, unsigned int cmd, unsigned long arg) ovl_ioctl_set_flags() argument 640 ovl_ioctl(struct file *file, unsigned int cmd, unsigned long arg) ovl_ioctl() argument 663 ovl_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg) ovl_compat_ioctl() argument [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A 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 *fil member 97 receive_fd_user(struct file *file, int __user *ufd, unsigned int o_flags) receive_fd_user() argument 104 receive_fd(struct file *file, unsigned int o_flags) receive_fd() argument 108 receive_fd_replace(int fd, struct file *file, unsigned int o_flags) receive_fd_replace() argument [all...] |
/kernel/linux/linux-5.10/fs/hmdfs/ |
H A D | file_local.c | 8 #include <linux/file.h> 23 int hmdfs_file_open_local(struct inode *inode, struct file *file) in hmdfs_file_open_local() argument 26 struct file *lower_file = NULL; in hmdfs_file_open_local() 38 hmdfs_get_lower_path(file->f_path.dentry, &lower_path); in hmdfs_file_open_local() 41 lower_file = dentry_open(&lower_path, file->f_flags | O_DIRECT, in hmdfs_file_open_local() 44 lower_file = dentry_open(&lower_path, file->f_flags, cred); in hmdfs_file_open_local() 51 file->private_data = gfi; in hmdfs_file_open_local() 52 hmdfs_update_upper_file(file, lower_file); in hmdfs_file_open_local() 53 if (file in hmdfs_file_open_local() 60 hmdfs_file_release_local(struct inode *inode, struct file *file) hmdfs_file_release_local() argument 73 hmdfs_file_accessed(struct file *file) hmdfs_file_accessed() argument 85 hmdfs_do_read_iter(struct file *file, struct iov_iter *iter, loff_t *ppos) hmdfs_do_read_iter() argument 112 hmdfs_file_modified(struct file *file) hmdfs_file_modified() argument 128 hmdfs_do_write_iter(struct file *file, struct iov_iter *iter, loff_t *ppos) hmdfs_do_write_iter() argument 160 hmdfs_fsync_local(struct file *file, loff_t start, loff_t end, int datasync) hmdfs_fsync_local() argument 174 hmdfs_file_llseek_local(struct file *file, loff_t offset, int whence) hmdfs_file_llseek_local() argument 187 hmdfs_file_mmap_local(struct file *file, struct vm_area_struct *vma) hmdfs_file_mmap_local() argument 231 hmdfs_iterate_local(struct file *file, struct dir_context *ctx) hmdfs_iterate_local() argument 252 hmdfs_dir_open_local(struct inode *inode, struct file *file) hmdfs_dir_open_local() argument 286 hmdfs_dir_release_local(struct inode *inode, struct file *file) hmdfs_dir_release_local() argument 304 __hmdfs_ioc_set_share_path(struct file *file, struct hmdfs_share_control *sc) __hmdfs_ioc_set_share_path() argument 375 hmdfs_ioc_set_share_path(struct file *file, unsigned long arg) hmdfs_ioc_set_share_path() argument 386 hmdfs_dir_ioctl_local(struct file *file, unsigned int cmd, unsigned long arg) hmdfs_dir_ioctl_local() argument [all...] |
/kernel/linux/linux-6.6/fs/hmdfs/ |
H A D | file_local.c | 8 #include <linux/file.h> 23 int hmdfs_file_open_local(struct inode *inode, struct file *file) in hmdfs_file_open_local() argument 26 struct file *lower_file = NULL; in hmdfs_file_open_local() 38 hmdfs_get_lower_path(file->f_path.dentry, &lower_path); in hmdfs_file_open_local() 41 lower_file = dentry_open(&lower_path, file->f_flags | O_DIRECT, in hmdfs_file_open_local() 44 lower_file = dentry_open(&lower_path, file->f_flags, cred); in hmdfs_file_open_local() 51 file->private_data = gfi; in hmdfs_file_open_local() 52 hmdfs_update_upper_file(file, lower_file); in hmdfs_file_open_local() 53 if (file in hmdfs_file_open_local() 60 hmdfs_file_release_local(struct inode *inode, struct file *file) hmdfs_file_release_local() argument 73 hmdfs_file_accessed(struct file *file) hmdfs_file_accessed() argument 85 hmdfs_do_read_iter(struct file *file, struct iov_iter *iter, loff_t *ppos) hmdfs_do_read_iter() argument 112 hmdfs_file_modified(struct file *file) hmdfs_file_modified() argument 128 hmdfs_do_write_iter(struct file *file, struct iov_iter *iter, loff_t *ppos) hmdfs_do_write_iter() argument 160 hmdfs_fsync_local(struct file *file, loff_t start, loff_t end, int datasync) hmdfs_fsync_local() argument 174 hmdfs_file_llseek_local(struct file *file, loff_t offset, int whence) hmdfs_file_llseek_local() argument 187 hmdfs_file_mmap_local(struct file *file, struct vm_area_struct *vma) hmdfs_file_mmap_local() argument 231 hmdfs_iterate_local(struct file *file, struct dir_context *ctx) hmdfs_iterate_local() argument 252 hmdfs_dir_open_local(struct inode *inode, struct file *file) hmdfs_dir_open_local() argument 286 hmdfs_dir_release_local(struct inode *inode, struct file *file) hmdfs_dir_release_local() argument 304 __hmdfs_ioc_set_share_path(struct file *file, struct hmdfs_share_control *sc) __hmdfs_ioc_set_share_path() argument 375 hmdfs_ioc_set_share_path(struct file *file, unsigned long arg) hmdfs_ioc_set_share_path() argument 386 hmdfs_dir_ioctl_local(struct file *file, unsigned int cmd, unsigned long arg) hmdfs_dir_ioctl_local() argument [all...] |
/kernel/linux/linux-5.10/fs/lockd/ |
H A D | svcsubs.c | 28 * Global file hash table 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 75 * Lookup file info. If it doesn't exist, create a file info struct 76 * and open a (VFS) file for the given inode. 79 * Note that we open the file O_RDONLY even when creating write locks. 87 struct nlm_file *file; in nlm_lookup_file() local 95 /* Lock file tabl in nlm_lookup_file() 146 nlm_delete_file(struct nlm_file *file) nlm_delete_file() argument 163 nlm_traverse_locks(struct nlm_host *host, struct nlm_file *file, nlm_host_match_fn_t match) nlm_traverse_locks() argument 214 nlm_inspect_file(struct nlm_host *host, struct nlm_file *file, nlm_host_match_fn_t match) nlm_inspect_file() argument 226 nlm_file_inuse(struct nlm_file *file) nlm_file_inuse() argument 253 nlm_traverse_files(void *data, nlm_host_match_fn_t match, int (*is_failover_file)(void *data, struct nlm_file *file)) nlm_traverse_files() argument 257 struct nlm_file *file; nlm_traverse_files() local 298 nlm_release_file(struct nlm_file *file) nlm_release_file() argument 414 nlmsvc_match_sb(void *datap, struct nlm_file *file) nlmsvc_match_sb() argument [all...] |
/kernel/linux/linux-6.6/fs/ecryptfs/ |
H A D | file.c | 12 #include <linux/file.h> 29 * returns without any errors. This is to be used only for file reads. 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() 54 * to be used only for file reads. The function to be used for directory reads 57 static ssize_t ecryptfs_splice_read_update_atime(struct file *in, loff_t *ppos, in ecryptfs_splice_read_update_atime() 123 * @file: The eCryptfs directory file 126 static int ecryptfs_readdir(struct file *fil argument 188 ecryptfs_mmap(struct file *file, struct vm_area_struct *vma) ecryptfs_mmap() argument 210 ecryptfs_open(struct inode *inode, struct file *file) ecryptfs_open() argument 279 ecryptfs_dir_open(struct inode *inode, struct file *file) ecryptfs_dir_open() argument 309 ecryptfs_flush(struct file *file, fl_owner_t td) ecryptfs_flush() argument 321 ecryptfs_release(struct inode *inode, struct file *file) ecryptfs_release() argument 329 ecryptfs_dir_release(struct inode *inode, struct file *file) ecryptfs_dir_release() argument 337 ecryptfs_dir_llseek(struct file *file, loff_t offset, int whence) ecryptfs_dir_llseek() argument 343 ecryptfs_fsync(struct file *file, loff_t start, loff_t end, int datasync) ecryptfs_fsync() argument 354 ecryptfs_fasync(int fd, struct file *file, int flag) ecryptfs_fasync() argument 366 ecryptfs_unlocked_ioctl(struct file *file, unsigned int cmd, unsigned long arg) ecryptfs_unlocked_ioctl() argument 391 ecryptfs_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg) ecryptfs_compat_ioctl() argument [all...] |
/kernel/linux/linux-6.6/fs/ |
H A D | file_table.c | 11 #include <linux/file.h> 42 /* SLAB cache for file structures */ 47 /* Container for backing file with optional real path */ 49 struct file file; member 53 static inline struct backing_file *backing_file(struct file *f) in backing_file() 55 return container_of(f, struct backing_file, file); in backing_file() 58 struct path *backing_file_real_path(struct file *f) in backing_file_real_path() 66 struct file *f = container_of(head, struct file, f_rcuhea in file_free_rcu() 291 struct file *file; alloc_file() local 327 struct file *file; alloc_file_pseudo() local 358 __fput(struct file *file) __fput() argument 433 fput(struct file *file) fput() argument 462 __fput_sync(struct file *file) __fput_sync() argument [all...] |
/kernel/linux/linux-5.10/fs/ecryptfs/ |
H A D | file.c | 12 #include <linux/file.h> 29 * returns without any errors. This is to be used only for file reads. 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() 98 * @file: The eCryptfs directory file 101 static int ecryptfs_readdir(struct file *file, struct dir_context *ctx) in ecryptfs_readdir() argument 104 struct file *lower_fil in ecryptfs_readdir() 169 ecryptfs_mmap(struct file *file, struct vm_area_struct *vma) ecryptfs_mmap() argument 191 ecryptfs_open(struct inode *inode, struct file *file) ecryptfs_open() argument 260 ecryptfs_dir_open(struct inode *inode, struct file *file) ecryptfs_dir_open() argument 290 ecryptfs_flush(struct file *file, fl_owner_t td) ecryptfs_flush() argument 302 ecryptfs_release(struct inode *inode, struct file *file) ecryptfs_release() argument 310 ecryptfs_dir_release(struct inode *inode, struct file *file) ecryptfs_dir_release() argument 318 ecryptfs_dir_llseek(struct file *file, loff_t offset, int whence) ecryptfs_dir_llseek() argument 324 ecryptfs_fsync(struct file *file, loff_t start, loff_t end, int datasync) ecryptfs_fsync() argument 335 ecryptfs_fasync(int fd, struct file *file, int flag) ecryptfs_fasync() argument 347 ecryptfs_unlocked_ioctl(struct file *file, unsigned int cmd, unsigned long arg) ecryptfs_unlocked_ioctl() argument 372 ecryptfs_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg) ecryptfs_compat_ioctl() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
H A 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_objec 33 struct file *file; shmem_create_from_object() local 52 shmem_pin_map(struct file *file) shmem_pin_map() argument 82 shmem_unpin_map(struct file *file, void *ptr) shmem_unpin_map() argument 88 __shmem_rw(struct file *file, loff_t off, void *ptr, size_t len, bool write) __shmem_rw() argument 124 shmem_read(struct file *file, loff_t off, void *dst, size_t len) shmem_read() argument 129 shmem_write(struct file *file, loff_t off, void *src, size_t len) shmem_write() argument [all...] |