Home
last modified time | relevance | path

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

12345678910>>...13

/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/proc/
Dinode.c238 struct file *file; in close_pdeo() local
276 static loff_t pde_lseek(struct proc_dir_entry *pde, struct file *file, loff_t offset, int whence) in pde_lseek()
286 static loff_t proc_reg_llseek(struct file *file, loff_t offset, int whence) in proc_reg_llseek()
315 static ssize_t pde_read(struct proc_dir_entry *pde, struct file *file, char __user *buf, size_t cou… in pde_read()
325 static ssize_t proc_reg_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) in proc_reg_read()
339 static ssize_t pde_write(struct proc_dir_entry *pde, struct file *file, const char __user *buf, siz… in pde_write()
349 static ssize_t proc_reg_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) in proc_reg_write()
363 static __poll_t pde_poll(struct proc_dir_entry *pde, struct file *file, struct poll_table_struct *p… in pde_poll()
373 static __poll_t proc_reg_poll(struct file *file, struct poll_table_struct *pts) in proc_reg_poll()
387 static long pde_ioctl(struct proc_dir_entry *pde, struct file *file, unsigned int cmd, unsigned lon… in pde_ioctl()
[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.c358 static ssize_t proc_pid_cmdline_read(struct file *file, char __user *buf, in proc_pid_cmdline_read()
522 static int lstats_open(struct inode *inode, struct file *file) in lstats_open()
527 static ssize_t lstats_write(struct file *file, const char __user *buf, in lstats_write()
815 static int __mem_open(struct inode *inode, struct file *file, unsigned int mode) in __mem_open()
826 static int mem_open(struct inode *inode, struct file *file) in mem_open()
836 static ssize_t mem_rw(struct file *file, char __user *buf, in mem_rw()
891 static ssize_t mem_read(struct file *file, char __user *buf, in mem_read()
897 static ssize_t mem_write(struct file *file, const char __user *buf, in mem_write()
903 loff_t mem_lseek(struct file *file, loff_t offset, int orig) in mem_lseek()
919 static int mem_release(struct inode *inode, struct file *file) in mem_release()
[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/overlayfs/
Dfile.c41 static struct file *ovl_open_realfile(const struct file *file, in ovl_open_realfile()
75 static int ovl_change_flags(struct file *file, unsigned int flags) in ovl_change_flags()
110 static int ovl_real_fdget_meta(const struct file *file, struct fd *real, in ovl_real_fdget_meta()
139 static int ovl_real_fdget(const struct file *file, struct fd *real) in ovl_real_fdget()
151 static int ovl_open(struct inode *inode, struct file *file) in ovl_open()
172 static int ovl_release(struct inode *inode, struct file *file) in ovl_release()
179 static loff_t ovl_llseek(struct file *file, loff_t offset, int whence) in ovl_llseek()
224 static void ovl_file_accessed(struct file *file) in ovl_file_accessed()
285 struct file *file = iocb->ki_filp; in ovl_read_iter() local
338 struct file *file = iocb->ki_filp; in ovl_write_iter() local
[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()
263 static long ceph_ioctl_syncio(struct file *file) in ceph_ioctl_syncio()
271 long ceph_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in ceph_ioctl()
/fs/
Dfile.c430 struct file * file = xchg(&fdt->fd[i], NULL); in close_files() local
637 struct file *file) in __fd_install()
664 void fd_install(unsigned int fd, struct file *file) in fd_install()
673 struct file *file = NULL; in pick_file() local
697 struct file *file; in __close_fd() local
761 struct file *file; in __close_range() local
792 struct file *file; in __close_fd_get_file() local
846 struct file *file; in do_close_on_exec() local
868 struct file *file; in __fget_files_rcu() local
922 struct file *file; in __fget_files() local
[all …]
Dlibfs.c79 int dcache_dir_open(struct inode *inode, struct file *file) in dcache_dir_open()
87 int dcache_dir_close(struct inode *inode, struct file *file) in dcache_dir_close()
136 loff_t dcache_dir_lseek(struct file *file, loff_t offset, int whence) in dcache_dir_lseek()
187 int dcache_readdir(struct file *file, struct dir_context *ctx) in dcache_readdir()
385 int simple_open(struct inode *inode, struct file *file) in simple_open()
512 int simple_readpage(struct file *file, struct page *page) in simple_readpage()
522 int simple_write_begin(struct file *file, struct address_space *mapping, in simple_write_begin()
568 int simple_write_end(struct file *file, struct address_space *mapping, in simple_write_end()
812 void simple_transaction_set(struct file *file, size_t n) in simple_transaction_set()
827 char *simple_transaction_get(struct file *file, const char __user *buf, size_t size) in simple_transaction_get()
[all …]
Deventfd.c123 static int eventfd_release(struct inode *inode, struct file *file) in eventfd_release()
132 static __poll_t eventfd_poll(struct file *file, poll_table *wait) in eventfd_poll()
230 struct file *file = iocb->ki_filp; in eventfd_read() local
272 static ssize_t eventfd_write(struct file *file, const char __user *buf, size_t count, in eventfd_write()
355 struct file *file; in eventfd_fget() local
399 struct eventfd_ctx *eventfd_ctx_fileget(struct file *file) in eventfd_ctx_fileget()
415 struct file *file; in do_eventfd() local
/fs/fuse/
Dreaddir.c32 static void fuse_add_dirent_to_cache(struct file *file, in fuse_add_dirent_to_cache()
94 static void fuse_readdir_cache_end(struct file *file, loff_t pos) in fuse_readdir_cache_end()
114 static bool fuse_emit(struct file *file, struct dir_context *ctx, in fuse_emit()
126 static int parse_dirfile(char *buf, size_t nbytes, struct file *file, in parse_dirfile()
150 static int fuse_direntplus_link(struct file *file, in fuse_direntplus_link()
265 static void fuse_force_forget(struct file *file, u64 nodeid) in fuse_force_forget()
286 static int parse_dirplusfile(char *buf, size_t nbytes, struct file *file, in parse_dirplusfile()
330 static int fuse_readdir_uncached(struct file *file, struct dir_context *ctx) in fuse_readdir_uncached()
444 static int fuse_readdir_cached(struct file *file, struct dir_context *ctx) in fuse_readdir_cached()
584 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/gfs2/
Dutil.c370 const char *function, char *file, unsigned int line, in gfs2_assert_withdraw_i()
400 const char *function, char *file, unsigned int line) in gfs2_assert_warn_i()
430 char *file, unsigned int line) in gfs2_consist_i()
443 const char *function, char *file, unsigned int line) in gfs2_consist_inode_i()
462 const char *function, char *file, unsigned int line) in gfs2_consist_rgrpd_i()
485 const char *type, const char *function, char *file, in gfs2_meta_check_ii()
508 char *file, unsigned int line) in gfs2_metatype_check_ii()
528 int gfs2_io_error_i(struct gfs2_sbd *sdp, const char *function, char *file, in gfs2_io_error_i()
544 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()
600 static int gfs2_mmap(struct file *file, struct vm_area_struct *vma) in gfs2_mmap()
635 int gfs2_open_common(struct inode *inode, struct file *file) in gfs2_open_common()
681 static int gfs2_open(struct inode *inode, struct file *file) in gfs2_open()
712 static int gfs2_release(struct inode *inode, struct file *file) in gfs2_release()
748 static int gfs2_fsync(struct file *file, loff_t start, loff_t end, in gfs2_fsync()
788 struct file *file = iocb->ki_filp; in gfs2_file_direct_read() local
813 struct file *file = iocb->ki_filp; in gfs2_file_direct_write() local
904 struct file *file = iocb->ki_filp; in gfs2_file_write_iter() local
[all …]
/fs/orangefs/
Dfile.c51 int *index_return, struct file *file) in wait_for_direct_io()
397 static long orangefs_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in orangefs_ioctl()
458 struct file *file = vmf->vma->vm_file; in orangefs_fault() local
481 static int orangefs_file_mmap(struct file *file, struct vm_area_struct *vma) in orangefs_file_mmap()
512 static int orangefs_file_release(struct inode *inode, struct file *file) in orangefs_file_release()
542 static int orangefs_fsync(struct file *file, in orangefs_fsync()
583 static loff_t orangefs_file_llseek(struct file *file, loff_t offset, int origin) in orangefs_file_llseek()
638 static int orangefs_flush(struct file *file, fl_owner_t id) in orangefs_flush()
/fs/dlm/
Dplock.c24 void *file; member
103 int dlm_posix_lock(dlm_lockspace_t *lockspace, u64 number, struct file *file, in dlm_posix_lock()
198 struct file *file; in dlm_plock_callback() local
251 int dlm_posix_unlock(dlm_lockspace_t *lockspace, u64 number, struct file *file, in dlm_posix_unlock()
325 int dlm_posix_get(dlm_lockspace_t *lockspace, u64 number, struct file *file, in dlm_posix_get()
393 static ssize_t dev_read(struct file *file, char __user *u, size_t count, in dev_read()
430 static ssize_t dev_write(struct file *file, const char __user *u, size_t count, in dev_write()
506 static __poll_t dev_poll(struct file *file, poll_table *wait) in dev_poll()
/fs/cifs/
Dcifs_debug.c469 static ssize_t cifs_stats_proc_write(struct file *file, in cifs_stats_proc_write()
615 static int cifs_stats_proc_open(struct inode *inode, struct file *file) in cifs_stats_proc_open()
758 static int cifsFYI_proc_open(struct inode *inode, struct file *file) in cifsFYI_proc_open()
763 static ssize_t cifsFYI_proc_write(struct file *file, const char __user *buffer, in cifsFYI_proc_write()
797 static int cifs_linux_ext_proc_open(struct inode *inode, struct file *file) in cifs_linux_ext_proc_open()
802 static ssize_t cifs_linux_ext_proc_write(struct file *file, in cifs_linux_ext_proc_write()
828 static int cifs_lookup_cache_proc_open(struct inode *inode, struct file *file) in cifs_lookup_cache_proc_open()
833 static ssize_t cifs_lookup_cache_proc_write(struct file *file, in cifs_lookup_cache_proc_write()
859 static int traceSMB_proc_open(struct inode *inode, struct file *file) in traceSMB_proc_open()
864 static ssize_t traceSMB_proc_write(struct file *file, const char __user *buffer, in traceSMB_proc_write()
[all …]
/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()
467 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()
522 struct hfsplus_cat_file *file = &entry.file; in hfsplus_cat_read_inode() local
607 struct hfsplus_cat_file *file = &entry.file; in hfsplus_cat_write_inode() local
614 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/efivarfs/
Dfile.c15 static ssize_t efivarfs_file_write(struct file *file, in efivarfs_file_write()
66 static ssize_t efivarfs_file_read(struct file *file, char __user *userbuf, in efivarfs_file_read()
121 efivarfs_ioc_getxflags(struct file *file, void __user *arg) in efivarfs_ioc_getxflags()
132 efivarfs_ioc_setxflags(struct file *file, void __user *arg) in efivarfs_ioc_setxflags()
171 efivarfs_file_ioctl(struct file *file, unsigned int cmd, unsigned long p) in efivarfs_file_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/btrfs/
Dioctl.c157 static int btrfs_ioctl_getflags(struct file *file, void __user *arg) in btrfs_ioctl_getflags()
196 static int btrfs_ioctl_setflags(struct file *file, void __user *arg) in btrfs_ioctl_setflags()
397 static int btrfs_ioctl_fsgetxattr(struct file *file, void __user *arg) in btrfs_ioctl_fsgetxattr()
409 static int btrfs_ioctl_fssetxattr(struct file *file, void __user *arg) in btrfs_ioctl_fssetxattr()
498 static int btrfs_ioctl_getversion(struct file *file, int __user *arg) in btrfs_ioctl_getversion()
1471 int btrfs_defrag_file(struct inode *inode, struct file *file, in btrfs_defrag_file()
1681 static noinline int btrfs_ioctl_resize(struct file *file, in btrfs_ioctl_resize()
1825 static noinline int __btrfs_ioctl_snap_create(struct file *file, in __btrfs_ioctl_snap_create()
1896 static noinline int btrfs_ioctl_snap_create(struct file *file, in btrfs_ioctl_snap_create()
1917 static noinline int btrfs_ioctl_snap_create_v2(struct file *file, in btrfs_ioctl_snap_create_v2()
[all …]
/fs/xfs/
Dxfs_file.c108 struct file *file, in xfs_dir_fsync()
169 struct file *file, in xfs_file_fsync()
335 struct file *file = iocb->ki_filp; in xfs_file_aio_write_checks() local
529 struct file *file = iocb->ki_filp; in xfs_file_dio_aio_write() local
667 struct file *file = iocb->ki_filp; in xfs_file_buffered_aio_write() local
744 struct file *file = iocb->ki_filp; in xfs_file_write_iter() local
845 struct file *file, in xfs_file_fallocate()
1035 struct file *file, in xfs_file_fadvise()
1142 struct file *file) in xfs_file_open()
1155 struct file *file) in xfs_dir_open()
[all …]

12345678910>>...13