Home
last modified time | relevance | path

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

12345678910>>...12

/fs/overlayfs/
Dfile.c24 static struct file *ovl_open_realfile(const struct file *file, in ovl_open_realfile()
46 static int ovl_change_flags(struct file *file, unsigned int flags) in ovl_change_flags()
82 static int ovl_real_fdget_meta(const struct file *file, struct fd *real, in ovl_real_fdget_meta()
111 static int ovl_real_fdget(const struct file *file, struct fd *real) in ovl_real_fdget()
116 static int ovl_open(struct inode *inode, struct file *file) in ovl_open()
137 static int ovl_release(struct inode *inode, struct file *file) in ovl_release()
144 static loff_t ovl_llseek(struct file *file, loff_t offset, int whence) in ovl_llseek()
189 static void ovl_file_accessed(struct file *file) in ovl_file_accessed()
230 struct file *file = iocb->ki_filp; in ovl_read_iter() local
256 struct file *file = iocb->ki_filp; in ovl_write_iter() local
[all …]
/fs/sdcardfs/
Dfile.c26 static ssize_t sdcardfs_read(struct file *file, char __user *buf, in sdcardfs_read()
59 static ssize_t sdcardfs_write(struct file *file, const char __user *buf, in sdcardfs_write()
88 static int sdcardfs_readdir(struct file *file, struct dir_context *ctx) in sdcardfs_readdir()
105 static long sdcardfs_unlocked_ioctl(struct file *file, unsigned int cmd, in sdcardfs_unlocked_ioctl()
140 static long sdcardfs_compat_ioctl(struct file *file, unsigned int cmd, in sdcardfs_compat_ioctl()
171 static int sdcardfs_mmap(struct file *file, struct vm_area_struct *vma) in sdcardfs_mmap()
230 static int sdcardfs_open(struct inode *inode, struct file *file) in sdcardfs_open()
292 static int sdcardfs_flush(struct file *file, fl_owner_t id) in sdcardfs_flush()
307 static int sdcardfs_file_release(struct inode *inode, struct file *file) in sdcardfs_file_release()
321 static int sdcardfs_fsync(struct file *file, loff_t start, loff_t end, in sdcardfs_fsync()
[all …]
Dmmap.c26 struct file *file; in sdcardfs_fault() local
39 struct file *file = (struct file *)vma->vm_private_data; in sdcardfs_vm_open() local
46 struct file *file = (struct file *)vma->vm_private_data; in sdcardfs_vm_close() local
54 struct file *file; in sdcardfs_page_mkwrite() local
/fs/ecryptfs/
Dfile.c37 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()
169 static int ecryptfs_mmap(struct file *file, struct vm_area_struct *vma) in ecryptfs_mmap()
191 static int ecryptfs_open(struct inode *inode, struct file *file) in ecryptfs_open()
260 static int ecryptfs_dir_open(struct inode *inode, struct file *file) in ecryptfs_dir_open()
290 static int ecryptfs_flush(struct file *file, fl_owner_t td) in ecryptfs_flush()
302 static int ecryptfs_release(struct inode *inode, struct file *file) in ecryptfs_release()
310 static int ecryptfs_dir_release(struct inode *inode, struct file *file) in ecryptfs_dir_release()
318 static loff_t ecryptfs_dir_llseek(struct file *file, loff_t offset, int whence) in ecryptfs_dir_llseek()
324 ecryptfs_fsync(struct file *file, loff_t start, loff_t end, int datasync) in ecryptfs_fsync()
[all …]
/fs/lockd/
Dsvcsubs.c46 static inline void nlm_debug_print_file(char *msg, struct nlm_file *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()
87 struct nlm_file *file; in nlm_lookup_file() local
146 nlm_delete_file(struct nlm_file *file) in nlm_delete_file()
163 nlm_traverse_locks(struct nlm_host *host, struct nlm_file *file, in nlm_traverse_locks()
214 nlm_inspect_file(struct nlm_host *host, struct nlm_file *file, nlm_host_match_fn_t match) in nlm_inspect_file()
226 nlm_file_inuse(struct nlm_file *file) in nlm_file_inuse()
254 int (*is_failover_file)(void *data, struct nlm_file *file)) in nlm_traverse_files()
257 struct nlm_file *file; in nlm_traverse_files() local
298 nlm_release_file(struct nlm_file *file) in nlm_release_file()
[all …]
/fs/proc/
Dinode.c160 struct file *file; in close_pdeo() local
198 static loff_t proc_reg_llseek(struct file *file, loff_t offset, int whence) in proc_reg_llseek()
214 static ssize_t proc_reg_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) in proc_reg_read()
229 static ssize_t proc_reg_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) in proc_reg_write()
244 static __poll_t proc_reg_poll(struct file *file, struct poll_table_struct *pts) in proc_reg_poll()
259 static long proc_reg_unlocked_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in proc_reg_unlocked_ioctl()
275 static long proc_reg_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in proc_reg_compat_ioctl()
291 static int proc_reg_mmap(struct file *file, struct vm_area_struct *vma) in proc_reg_mmap()
307 proc_reg_get_unmapped_area(struct file *file, unsigned long orig_addr, in proc_reg_get_unmapped_area()
332 static int proc_reg_open(struct inode *inode, struct file *file) in proc_reg_open()
[all …]
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()
Dbase.c356 static ssize_t proc_pid_cmdline_read(struct file *file, char __user *buf, in proc_pid_cmdline_read()
520 static int lstats_open(struct inode *inode, struct file *file) in lstats_open()
525 static ssize_t lstats_write(struct file *file, const char __user *buf, in lstats_write()
796 static int __mem_open(struct inode *inode, struct file *file, unsigned int mode) in __mem_open()
807 static int mem_open(struct inode *inode, struct file *file) in mem_open()
817 static ssize_t mem_rw(struct file *file, char __user *buf, in mem_rw()
872 static ssize_t mem_read(struct file *file, char __user *buf, in mem_read()
878 static ssize_t mem_write(struct file *file, const char __user *buf, in mem_write()
884 loff_t mem_lseek(struct file *file, loff_t offset, int orig) in mem_lseek()
900 static int mem_release(struct inode *inode, struct file *file) in mem_release()
[all …]
/fs/nfsd/
Dnfsctl.c98 static ssize_t nfsctl_transaction_write(struct file *file, const char __user *buf, size_t size, lof… in nfsctl_transaction_write()
119 static ssize_t nfsctl_transaction_read(struct file *file, char __user *buf, size_t size, loff_t *po… in nfsctl_transaction_read()
140 static int exports_net_open(struct net *net, struct file *file) in exports_net_open()
155 static int exports_proc_open(struct inode *inode, struct file *file) in exports_proc_open()
167 static int exports_nfsd_open(struct inode *inode, struct file *file) in exports_nfsd_open()
185 static int export_features_open(struct inode *inode, struct file *file) in export_features_open()
204 static int supported_enctypes_open(struct inode *inode, struct file *file) in supported_enctypes_open()
236 static inline struct net *netns(struct file *file) in netns()
255 static ssize_t write_unlock_ip(struct file *file, char *buf, size_t size) in write_unlock_ip()
294 static ssize_t write_unlock_fs(struct file *file, char *buf, size_t size) in write_unlock_fs()
[all …]
/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()
/fs/gfs2/
Dutil.c89 const char *function, char *file, unsigned int line) in gfs2_assert_withdraw_i()
107 const char *function, char *file, unsigned int line) in gfs2_assert_warn_i()
141 char *file, unsigned int line) in gfs2_consist_i()
157 const char *function, char *file, unsigned int line) in gfs2_consist_inode_i()
178 const char *function, char *file, unsigned int line) in gfs2_consist_rgrpd_i()
202 const char *type, const char *function, char *file, in gfs2_meta_check_ii()
223 char *file, unsigned int line) in gfs2_metatype_check_ii()
241 int gfs2_io_error_i(struct gfs2_sbd *sdp, const char *function, char *file, in gfs2_io_error_i()
258 const char *function, char *file, unsigned int line, in gfs2_io_error_bh_i()
Dfile.c56 static loff_t gfs2_llseek(struct file *file, loff_t offset, int whence) in gfs2_llseek()
103 static int gfs2_readdir(struct file *file, struct dir_context *ctx) in gfs2_readdir()
572 static int gfs2_mmap(struct file *file, struct vm_area_struct *vma) in gfs2_mmap()
607 int gfs2_open_common(struct inode *inode, struct file *file) in gfs2_open_common()
643 static int gfs2_open(struct inode *inode, struct file *file) in gfs2_open()
674 static int gfs2_release(struct inode *inode, struct file *file) in gfs2_release()
709 static int gfs2_fsync(struct file *file, loff_t start, loff_t end, in gfs2_fsync()
748 struct file *file = iocb->ki_filp; in gfs2_file_direct_read() local
772 struct file *file = iocb->ki_filp; in gfs2_file_direct_write() local
833 struct file *file = iocb->ki_filp; in gfs2_file_write_iter() local
[all …]
/fs/dlm/
Dplock.c32 void *file; member
78 struct file *file, struct file_lock *fl) in do_unlock_close()
101 int dlm_posix_lock(dlm_lockspace_t *lockspace, u64 number, struct file *file, in dlm_posix_lock()
187 struct file *file; in dlm_plock_callback() local
241 int dlm_posix_unlock(dlm_lockspace_t *lockspace, u64 number, struct file *file, in dlm_posix_unlock()
315 int dlm_posix_get(dlm_lockspace_t *lockspace, u64 number, struct file *file, in dlm_posix_get()
381 static ssize_t dev_read(struct file *file, char __user *u, size_t count, in dev_read()
418 static ssize_t dev_write(struct file *file, const char __user *u, size_t count, in dev_write()
463 static __poll_t dev_poll(struct file *file, poll_table *wait) in dev_poll()
/fs/fuse/
Dreaddir.c32 static void fuse_add_dirent_to_cache(struct file *file, in fuse_add_dirent_to_cache()
92 static void fuse_readdir_cache_end(struct file *file, loff_t pos) in fuse_readdir_cache_end()
112 static bool fuse_emit(struct file *file, struct dir_context *ctx, in fuse_emit()
124 static int parse_dirfile(char *buf, size_t nbytes, struct file *file, in parse_dirfile()
148 static int fuse_direntplus_link(struct file *file, in fuse_direntplus_link()
252 static void fuse_force_forget(struct file *file, u64 nodeid) in fuse_force_forget()
273 static int parse_dirplusfile(char *buf, size_t nbytes, struct file *file, in parse_dirplusfile()
317 static int fuse_readdir_uncached(struct file *file, struct dir_context *ctx) in fuse_readdir_uncached()
431 static int fuse_readdir_cached(struct file *file, struct dir_context *ctx) in fuse_readdir_cached()
565 int fuse_readdir(struct file *file, struct dir_context *ctx) in fuse_readdir()
Dcontrol.c23 static struct fuse_conn *fuse_ctl_file_conn_get(struct file *file) in fuse_ctl_file_conn_get()
34 static ssize_t fuse_conn_abort_write(struct file *file, const char __user *buf, in fuse_conn_abort_write()
47 static ssize_t fuse_conn_waiting_read(struct file *file, char __user *buf, in fuse_conn_waiting_read()
67 static ssize_t fuse_conn_limit_read(struct file *file, char __user *buf, in fuse_conn_limit_read()
76 static ssize_t fuse_conn_limit_write(struct file *file, const char __user *buf, in fuse_conn_limit_write()
102 static ssize_t fuse_conn_max_background_read(struct file *file, in fuse_conn_max_background_read()
119 static ssize_t fuse_conn_max_background_write(struct file *file, in fuse_conn_max_background_write()
144 static ssize_t fuse_conn_congestion_threshold_read(struct file *file, in fuse_conn_congestion_threshold_read()
161 static ssize_t fuse_conn_congestion_threshold_write(struct file *file, in fuse_conn_congestion_threshold_write()
/fs/cifs/
Dcifs_debug.c431 static ssize_t cifs_stats_proc_write(struct file *file, in cifs_stats_proc_write()
577 static int cifs_stats_proc_open(struct inode *inode, struct file *file) in cifs_stats_proc_open()
720 static int cifsFYI_proc_open(struct inode *inode, struct file *file) in cifsFYI_proc_open()
725 static ssize_t cifsFYI_proc_write(struct file *file, const char __user *buffer, in cifsFYI_proc_write()
759 static int cifs_linux_ext_proc_open(struct inode *inode, struct file *file) in cifs_linux_ext_proc_open()
764 static ssize_t cifs_linux_ext_proc_write(struct file *file, in cifs_linux_ext_proc_write()
790 static int cifs_lookup_cache_proc_open(struct inode *inode, struct file *file) in cifs_lookup_cache_proc_open()
795 static ssize_t cifs_lookup_cache_proc_write(struct file *file, in cifs_lookup_cache_proc_write()
821 static int traceSMB_proc_open(struct inode *inode, struct file *file) in traceSMB_proc_open()
826 static ssize_t traceSMB_proc_write(struct file *file, const char __user *buffer, in traceSMB_proc_write()
[all …]
/fs/orangefs/
Dfile.c377 static long orangefs_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in orangefs_ioctl()
438 struct file *file = vmf->vma->vm_file; in orangefs_fault() local
461 static int orangefs_file_mmap(struct file *file, struct vm_area_struct *vma) in orangefs_file_mmap()
492 static int orangefs_file_release(struct inode *inode, struct file *file) in orangefs_file_release()
522 static int orangefs_fsync(struct file *file, in orangefs_fsync()
563 static loff_t orangefs_file_llseek(struct file *file, loff_t offset, int origin) in orangefs_file_llseek()
618 static int orangefs_file_open(struct inode * inode, struct file *file) in orangefs_file_open()
624 static int orangefs_flush(struct file *file, fl_owner_t id) in orangefs_flush()
/fs/
Dlibfs.c76 int dcache_dir_open(struct inode *inode, struct file *file) in dcache_dir_open()
84 int dcache_dir_close(struct inode *inode, struct file *file) in dcache_dir_close()
133 loff_t dcache_dir_lseek(struct file *file, loff_t offset, int whence) in dcache_dir_lseek()
184 int dcache_readdir(struct file *file, struct dir_context *ctx) in dcache_readdir()
313 int simple_open(struct inode *inode, struct file *file) in simple_open()
440 int simple_readpage(struct file *file, struct page *page) in simple_readpage()
450 int simple_write_begin(struct file *file, struct address_space *mapping, in simple_write_begin()
496 int simple_write_end(struct file *file, struct address_space *mapping, in simple_write_end()
740 void simple_transaction_set(struct file *file, size_t n) in simple_transaction_set()
755 char *simple_transaction_get(struct file *file, const char __user *buf, size_t size) in simple_transaction_get()
[all …]
Dfile.c386 struct file * file = xchg(&fdt->fd[i], NULL); in close_files() local
588 struct file *file) in __fd_install()
611 void fd_install(unsigned int fd, struct file *file) in fd_install()
623 struct file *file; in __close_fd() local
650 struct file *file; in __close_fd_get_file() local
691 struct file *file; in do_close_on_exec() local
712 struct file *file; in __fget() local
768 struct file *file; in __fget_light() local
796 struct file *file = (struct file *)(v & ~3); in __fdget_pos() local
844 struct file *file, unsigned fd, unsigned flags) in do_dup2()
[all …]
/fs/efivarfs/
Dfile.c15 static ssize_t efivarfs_file_write(struct file *file, in efivarfs_file_write()
65 static ssize_t efivarfs_file_read(struct file *file, char __user *userbuf, in efivarfs_file_read()
122 efivarfs_ioc_getxflags(struct file *file, void __user *arg) in efivarfs_ioc_getxflags()
133 efivarfs_ioc_setxflags(struct file *file, void __user *arg) in efivarfs_ioc_setxflags()
172 efivarfs_file_ioctl(struct file *file, unsigned int cmd, unsigned long p) in efivarfs_file_ioctl()
/fs/configfs/
Dfile.c51 static inline struct configfs_fragment *to_frag(struct file *file) in to_frag()
58 static int fill_read_buffer(struct file *file, struct configfs_buffer *buffer) in fill_read_buffer()
102 configfs_read_file(struct file *file, char __user *buf, size_t count, loff_t *ppos) in configfs_read_file()
143 configfs_read_bin_file(struct file *file, char __user *buf, in configfs_read_bin_file()
244 flush_write_buffer(struct file *file, struct configfs_buffer *buffer, size_t count) in flush_write_buffer()
275 configfs_write_file(struct file *file, const char __user *buf, size_t count, loff_t *ppos) in configfs_write_file()
304 configfs_write_bin_file(struct file *file, const char __user *buf, in configfs_write_bin_file()
356 static int __configfs_open_file(struct inode *inode, struct file *file, int type) in __configfs_open_file()
469 static int configfs_release_bin_file(struct inode *inode, struct file *file) in configfs_release_bin_file()
/fs/hfsplus/
Dinode.c25 static int hfsplus_readpage(struct file *file, struct page *page) in hfsplus_readpage()
45 static int hfsplus_write_begin(struct file *file, struct address_space *mapping, in hfsplus_write_begin()
128 struct file *file = iocb->ki_filp; in hfsplus_direct_IO() local
215 static int hfsplus_file_open(struct inode *inode, struct file *file) in hfsplus_file_open()
225 static int hfsplus_file_release(struct inode *inode, struct file *file) in hfsplus_file_release()
293 int hfsplus_file_fsync(struct file *file, loff_t start, loff_t end, in hfsplus_file_fsync()
519 struct hfsplus_cat_file *file = &entry.file; in hfsplus_cat_read_inode() local
596 struct hfsplus_cat_file *file = &entry.file; in hfsplus_cat_write_inode() local
603 struct hfsplus_cat_file *file = &entry.file; in hfsplus_cat_write_inode() local
Dioctl.c27 static int hfsplus_ioctl_bless(struct file *file, int __user *user_flags) in hfsplus_ioctl_bless()
74 static int hfsplus_ioctl_getflags(struct file *file, int __user *user_flags) in hfsplus_ioctl_getflags()
82 static int hfsplus_ioctl_setflags(struct file *file, int __user *user_flags) in hfsplus_ioctl_setflags()
140 long hfsplus_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in hfsplus_ioctl()
/fs/ocfs2/
Dlocks.c24 static int ocfs2_do_flock(struct file *file, struct inode *inode, in ocfs2_do_flock()
83 static int ocfs2_do_funlock(struct file *file, int cmd, struct file_lock *fl) in ocfs2_do_funlock()
99 int ocfs2_flock(struct file *file, int cmd, struct file_lock *fl) in ocfs2_flock()
119 int ocfs2_lock(struct file *file, int cmd, struct file_lock *fl) in ocfs2_lock()
/fs/kernfs/
Dfile.c54 static struct kernfs_open_file *kernfs_of(struct file *file) in kernfs_of()
245 static ssize_t kernfs_fop_read(struct file *file, char __user *user_buf, in kernfs_fop_read()
272 static ssize_t kernfs_fop_write(struct file *file, const char __user *user_buf, in kernfs_fop_write()
335 struct file *file = vma->vm_file; in kernfs_vma_open() local
352 struct file *file = vmf->vma->vm_file; in kernfs_vma_fault() local
372 struct file *file = vmf->vma->vm_file; in kernfs_vma_page_mkwrite() local
395 struct file *file = vma->vm_file; in kernfs_vma_access() local
417 struct file *file = vma->vm_file; in kernfs_vma_set_policy() local
438 struct file *file = vma->vm_file; in kernfs_vma_get_policy() local
469 static int kernfs_fop_mmap(struct file *file, struct vm_area_struct *vma) in kernfs_fop_mmap()
[all …]

12345678910>>...12