Home
last modified time | relevance | path

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

12345678910>>...13

/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.c51 struct file *file = iocb->ki_filp; in ecryptfs_read_update_atime() local
115 static int ecryptfs_readdir(struct file *file, struct dir_context *ctx) in ecryptfs_readdir()
183 static int ecryptfs_mmap(struct file *file, struct vm_area_struct *vma) in ecryptfs_mmap()
205 static int ecryptfs_open(struct inode *inode, struct file *file) in ecryptfs_open()
274 static int ecryptfs_dir_open(struct inode *inode, struct file *file) in ecryptfs_dir_open()
304 static int ecryptfs_flush(struct file *file, fl_owner_t td) in ecryptfs_flush()
316 static int ecryptfs_release(struct inode *inode, struct file *file) in ecryptfs_release()
324 static int ecryptfs_dir_release(struct inode *inode, struct file *file) in ecryptfs_dir_release()
332 static loff_t ecryptfs_dir_llseek(struct file *file, loff_t offset, int whence) in ecryptfs_dir_llseek()
338 ecryptfs_fsync(struct file *file, loff_t start, loff_t end, int datasync) in ecryptfs_fsync()
[all …]
/fs/nfsd/
Dnfsctl.c94 static ssize_t nfsctl_transaction_write(struct file *file, const char __user *buf, size_t size, lof… in nfsctl_transaction_write()
115 static ssize_t nfsctl_transaction_read(struct file *file, char __user *buf, size_t size, loff_t *po… in nfsctl_transaction_read()
136 static int exports_net_open(struct net *net, struct file *file) in exports_net_open()
151 static int exports_proc_open(struct inode *inode, struct file *file) in exports_proc_open()
163 static int exports_nfsd_open(struct inode *inode, struct file *file) in exports_nfsd_open()
181 static int export_features_open(struct inode *inode, struct file *file) in export_features_open()
200 static int supported_enctypes_open(struct inode *inode, struct file *file) in supported_enctypes_open()
232 static inline struct net *netns(struct file *file) in netns()
251 static ssize_t write_unlock_ip(struct file *file, char *buf, size_t size) in write_unlock_ip()
290 static ssize_t write_unlock_fs(struct file *file, char *buf, size_t size) in write_unlock_fs()
[all …]
/fs/lockd/
Dsvcsubs.c45 static inline void nlm_debug_print_file(char *msg, struct nlm_file *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()
86 struct nlm_file *file; in nlm_lookup_file() local
145 nlm_delete_file(struct nlm_file *file) in nlm_delete_file()
162 nlm_traverse_locks(struct nlm_host *host, struct nlm_file *file, in nlm_traverse_locks()
213 nlm_inspect_file(struct nlm_host *host, struct nlm_file *file, nlm_host_match_fn_t match) in nlm_inspect_file()
225 nlm_file_inuse(struct nlm_file *file) in nlm_file_inuse()
253 int (*is_failover_file)(void *data, struct nlm_file *file)) in nlm_traverse_files()
256 struct nlm_file *file; in nlm_traverse_files() local
297 nlm_release_file(struct nlm_file *file) in nlm_release_file()
[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()
246 static long ceph_ioctl_lazyio(struct file *file) in ceph_ioctl_lazyio()
266 static long ceph_ioctl_syncio(struct file *file) in ceph_ioctl_syncio()
274 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()
198 const char *type, const char *function, char *file, in gfs2_meta_check_ii()
219 char *file, unsigned int line) in gfs2_metatype_check_ii()
237 int gfs2_io_error_i(struct gfs2_sbd *sdp, const char *function, char *file, in gfs2_io_error_i()
255 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()
92 static int gfs2_readdir(struct file *file, struct dir_context *ctx) in gfs2_readdir()
511 static int gfs2_mmap(struct file *file, struct vm_area_struct *vma) in gfs2_mmap()
546 int gfs2_open_common(struct inode *inode, struct file *file) in gfs2_open_common()
582 static int gfs2_open(struct inode *inode, struct file *file) in gfs2_open()
613 static int gfs2_release(struct inode *inode, struct file *file) in gfs2_release()
648 static int gfs2_fsync(struct file *file, loff_t start, loff_t end, in gfs2_fsync()
701 struct file *file = iocb->ki_filp; in gfs2_file_write_iter() local
799 static long __gfs2_fallocate(struct file *file, int mode, loff_t offset, loff_t len) in __gfs2_fallocate()
916 static long gfs2_fallocate(struct file *file, int mode, loff_t offset, loff_t len) in gfs2_fallocate()
[all …]
/fs/cifs/
Dcifs_debug.c263 static int cifs_debug_data_proc_open(struct inode *inode, struct file *file) in cifs_debug_data_proc_open()
276 static ssize_t cifs_stats_proc_write(struct file *file, in cifs_stats_proc_write()
390 static int cifs_stats_proc_open(struct inode *inode, struct file *file) in cifs_stats_proc_open()
457 static int cifsFYI_proc_open(struct inode *inode, struct file *file) in cifsFYI_proc_open()
462 static ssize_t cifsFYI_proc_write(struct file *file, const char __user *buffer, in cifsFYI_proc_write()
494 static int cifs_linux_ext_proc_open(struct inode *inode, struct file *file) in cifs_linux_ext_proc_open()
499 static ssize_t cifs_linux_ext_proc_write(struct file *file, in cifs_linux_ext_proc_write()
525 static int cifs_lookup_cache_proc_open(struct inode *inode, struct file *file) in cifs_lookup_cache_proc_open()
530 static ssize_t cifs_lookup_cache_proc_write(struct file *file, in cifs_lookup_cache_proc_write()
556 static int traceSMB_proc_open(struct inode *inode, struct file *file) in traceSMB_proc_open()
[all …]
/fs/proc/
Dinode.c161 struct file *file; in close_pdeo() local
194 static loff_t proc_reg_llseek(struct file *file, loff_t offset, int whence) in proc_reg_llseek()
209 static ssize_t proc_reg_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) in proc_reg_read()
223 static ssize_t proc_reg_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) in proc_reg_write()
237 static unsigned int proc_reg_poll(struct file *file, struct poll_table_struct *pts) in proc_reg_poll()
251 static long proc_reg_unlocked_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in proc_reg_unlocked_ioctl()
266 static long proc_reg_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in proc_reg_compat_ioctl()
281 static int proc_reg_mmap(struct file *file, struct vm_area_struct *vma) in proc_reg_mmap()
296 proc_reg_get_unmapped_area(struct file *file, unsigned long orig_addr, in proc_reg_get_unmapped_area()
321 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 unsigned int kmsg_poll(struct file *file, poll_table *wait) in kmsg_poll()
Dbase.c211 static ssize_t proc_pid_cmdline_read(struct file *file, char __user *buf, in proc_pid_cmdline_read()
525 static int lstats_open(struct inode *inode, struct file *file) in lstats_open()
530 static ssize_t lstats_write(struct file *file, const char __user *buf, in lstats_write()
801 static int __mem_open(struct inode *inode, struct file *file, unsigned int mode) in __mem_open()
812 static int mem_open(struct inode *inode, struct file *file) in mem_open()
822 static ssize_t mem_rw(struct file *file, char __user *buf, in mem_rw()
877 static ssize_t mem_read(struct file *file, char __user *buf, in mem_read()
883 static ssize_t mem_write(struct file *file, const char __user *buf, in mem_write()
889 loff_t mem_lseek(struct file *file, loff_t offset, int orig) in mem_lseek()
905 static int mem_release(struct inode *inode, struct file *file) in mem_release()
[all …]
/fs/dlm/
Dplock.c35 void *file; member
81 struct file *file, struct file_lock *fl) in do_unlock_close()
104 int dlm_posix_lock(dlm_lockspace_t *lockspace, u64 number, struct file *file, in dlm_posix_lock()
190 struct file *file; in dlm_plock_callback() local
244 int dlm_posix_unlock(dlm_lockspace_t *lockspace, u64 number, struct file *file, in dlm_posix_unlock()
318 int dlm_posix_get(dlm_lockspace_t *lockspace, u64 number, struct file *file, in dlm_posix_get()
384 static ssize_t dev_read(struct file *file, char __user *u, size_t count, in dev_read()
421 static ssize_t dev_write(struct file *file, const char __user *u, size_t count, in dev_write()
466 static unsigned int dev_poll(struct file *file, poll_table *wait) in dev_poll()
/fs/fuse/
Dcontrol.c22 static struct fuse_conn *fuse_ctl_file_conn_get(struct file *file) in fuse_ctl_file_conn_get()
33 static ssize_t fuse_conn_abort_write(struct file *file, const char __user *buf, in fuse_conn_abort_write()
44 static ssize_t fuse_conn_waiting_read(struct file *file, char __user *buf, in fuse_conn_waiting_read()
64 static ssize_t fuse_conn_limit_read(struct file *file, char __user *buf, in fuse_conn_limit_read()
73 static ssize_t fuse_conn_limit_write(struct file *file, const char __user *buf, in fuse_conn_limit_write()
99 static ssize_t fuse_conn_max_background_read(struct file *file, in fuse_conn_max_background_read()
116 static ssize_t fuse_conn_max_background_write(struct file *file, in fuse_conn_max_background_write()
136 static ssize_t fuse_conn_congestion_threshold_read(struct file *file, in fuse_conn_congestion_threshold_read()
153 static ssize_t fuse_conn_congestion_threshold_write(struct file *file, in fuse_conn_congestion_threshold_write()
Dfile.c23 static int fuse_send_open(struct fuse_conn *fc, u64 nodeid, struct file *file, in fuse_send_open()
117 int fuse_do_open(struct fuse_conn *fc, u64 nodeid, struct file *file, in fuse_do_open()
156 static void fuse_link_write_file(struct file *file) in fuse_link_write_file()
172 void fuse_finish_open(struct inode *inode, struct file *file) in fuse_finish_open()
200 int fuse_open_common(struct inode *inode, struct file *file, bool isdir) in fuse_open_common()
253 void fuse_release_common(struct file *file, bool isdir) in fuse_release_common()
282 static int fuse_open(struct inode *inode, struct file *file) in fuse_open()
287 static int fuse_release(struct inode *inode, struct file *file) in fuse_release()
400 static int fuse_flush(struct file *file, fl_owner_t id) in fuse_flush()
447 int fuse_fsync_common(struct file *file, loff_t start, loff_t end, in fuse_fsync_common()
[all …]
/fs/
Deventfd.c108 static int eventfd_release(struct inode *inode, struct file *file) in eventfd_release()
117 static unsigned int eventfd_poll(struct file *file, poll_table *wait) in eventfd_poll()
264 static ssize_t eventfd_read(struct file *file, char __user *buf, size_t count, in eventfd_read()
280 static ssize_t eventfd_write(struct file *file, const char __user *buf, size_t count, in eventfd_write()
362 struct file *file; in eventfd_fget() local
406 struct eventfd_ctx *eventfd_ctx_fileget(struct file *file) in eventfd_ctx_fileget()
431 struct file *file; in eventfd_file_create() local
461 struct file *file; in SYSCALL_DEFINE2() local
Dlibfs.c73 int dcache_dir_open(struct inode *inode, struct file *file) in dcache_dir_open()
81 int dcache_dir_close(struct inode *inode, struct file *file) in dcache_dir_close()
132 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()
293 int simple_open(struct inode *inode, struct file *file) in simple_open()
420 int simple_readpage(struct file *file, struct page *page) in simple_readpage()
430 int simple_write_begin(struct file *file, struct address_space *mapping, in simple_write_begin()
477 int simple_write_end(struct file *file, struct address_space *mapping, in simple_write_end()
721 void simple_transaction_set(struct file *file, size_t n) in simple_transaction_set()
736 char *simple_transaction_get(struct file *file, const char __user *buf, size_t size) in simple_transaction_get()
[all …]
Dfile.c391 struct file * file = xchg(&fdt->fd[i], NULL); in close_files() local
593 struct file *file) in __fd_install()
613 void fd_install(unsigned int fd, struct file *file) in fd_install()
625 struct file *file; in __close_fd() local
664 struct file *file; in do_close_on_exec() local
685 struct file *file; in __fget() local
736 struct file *file; in __fget_light() local
764 struct file *file = (struct file *)(v & ~3); in __fdget_pos() local
812 struct file *file, unsigned fd, unsigned flags) in do_dup2()
855 int replace_fd(unsigned fd, struct file *file, unsigned flags) in replace_fd()
[all …]
/fs/hfsplus/
Dinode.c26 static int hfsplus_readpage(struct file *file, struct page *page) in hfsplus_readpage()
46 static int hfsplus_write_begin(struct file *file, struct address_space *mapping, in hfsplus_write_begin()
129 struct file *file = iocb->ki_filp; in hfsplus_direct_IO() local
216 static int hfsplus_file_open(struct inode *inode, struct file *file) in hfsplus_file_open()
226 static int hfsplus_file_release(struct inode *inode, struct file *file) in hfsplus_file_release()
280 int hfsplus_file_fsync(struct file *file, loff_t start, loff_t end, in hfsplus_file_fsync()
510 struct hfsplus_cat_file *file = &entry.file; in hfsplus_cat_read_inode() local
587 struct hfsplus_cat_file *file = &entry.file; in hfsplus_cat_write_inode() local
594 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()
60 static int hfsplus_ioctl_getflags(struct file *file, int __user *user_flags) in hfsplus_ioctl_getflags()
76 static int hfsplus_ioctl_setflags(struct file *file, int __user *user_flags) in hfsplus_ioctl_setflags()
137 long hfsplus_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in hfsplus_ioctl()
/fs/efivarfs/
Dfile.c17 static ssize_t efivarfs_file_write(struct file *file, in efivarfs_file_write()
67 static ssize_t efivarfs_file_read(struct file *file, char __user *userbuf, in efivarfs_file_read()
108 efivarfs_ioc_getxflags(struct file *file, void __user *arg) in efivarfs_ioc_getxflags()
124 efivarfs_ioc_setxflags(struct file *file, void __user *arg) in efivarfs_ioc_setxflags()
161 efivarfs_file_ioctl(struct file *file, unsigned int cmd, unsigned long p) in efivarfs_file_ioctl()
/fs/orangefs/
Dfile.c300 static ssize_t do_readv_writev(enum ORANGEFS_io_type type, struct file *file, in do_readv_writev()
448 struct file *file = iocb->ki_filp; in orangefs_file_read_iter() local
466 struct file *file = iocb->ki_filp; in orangefs_file_write_iter() local
526 static long orangefs_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in orangefs_ioctl()
585 static int orangefs_file_mmap(struct file *file, struct vm_area_struct *vma) in orangefs_file_mmap()
609 static int orangefs_file_release(struct inode *inode, struct file *file) in orangefs_file_release()
642 static int orangefs_fsync(struct file *file, in orangefs_fsync()
680 static loff_t orangefs_file_llseek(struct file *file, loff_t offset, int origin) in orangefs_file_llseek()
/fs/configfs/
Dfile.c65 static inline struct configfs_fragment *to_frag(struct file *file) in to_frag()
72 static int fill_read_buffer(struct file *file, struct configfs_buffer *buffer) in fill_read_buffer()
116 configfs_read_file(struct file *file, char __user *buf, size_t count, loff_t *ppos) in configfs_read_file()
157 configfs_read_bin_file(struct file *file, char __user *buf, in configfs_read_bin_file()
258 flush_write_buffer(struct file *file, struct configfs_buffer *buffer, size_t count) in flush_write_buffer()
289 configfs_write_file(struct file *file, const char __user *buf, size_t count, loff_t *ppos) in configfs_write_file()
318 configfs_write_bin_file(struct file *file, const char __user *buf, in configfs_write_bin_file()
370 static int __configfs_open_file(struct inode *inode, struct file *file, int type) in __configfs_open_file()
483 static int configfs_release_bin_file(struct inode *inode, struct file *file) in configfs_release_bin_file()
/fs/ocfs2/
Dlocks.c38 static int ocfs2_do_flock(struct file *file, struct inode *inode, in ocfs2_do_flock()
97 static int ocfs2_do_funlock(struct file *file, int cmd, struct file_lock *fl) in ocfs2_do_funlock()
113 int ocfs2_flock(struct file *file, int cmd, struct file_lock *fl) in ocfs2_flock()
133 int ocfs2_lock(struct file *file, int cmd, struct file_lock *fl) in ocfs2_lock()
/fs/kernfs/
Dfile.c55 static struct kernfs_open_file *kernfs_of(struct file *file) in kernfs_of()
246 static ssize_t kernfs_fop_read(struct file *file, char __user *user_buf, in kernfs_fop_read()
273 static ssize_t kernfs_fop_write(struct file *file, const char __user *user_buf, in kernfs_fop_write()
336 struct file *file = vma->vm_file; in kernfs_vma_open() local
353 struct file *file = vmf->vma->vm_file; in kernfs_vma_fault() local
373 struct file *file = vmf->vma->vm_file; in kernfs_vma_page_mkwrite() local
396 struct file *file = vma->vm_file; in kernfs_vma_access() local
418 struct file *file = vma->vm_file; in kernfs_vma_set_policy() local
439 struct file *file = vma->vm_file; in kernfs_vma_get_policy() local
470 static int kernfs_fop_mmap(struct file *file, struct vm_area_struct *vma) in kernfs_fop_mmap()
[all …]

12345678910>>...13