Home
last modified time | relevance | path

Searched defs:file (Results 1 – 25 of 317) 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()
136 static long sdcardfs_compat_ioctl(struct file *file, unsigned int cmd, in sdcardfs_compat_ioctl()
163 static int sdcardfs_mmap(struct file *file, struct vm_area_struct *vma) in sdcardfs_mmap()
222 static int sdcardfs_open(struct inode *inode, struct file *file) in sdcardfs_open()
280 static int sdcardfs_flush(struct file *file, fl_owner_t id) in sdcardfs_flush()
295 static int sdcardfs_file_release(struct inode *inode, struct file *file) in sdcardfs_file_release()
309 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
55 struct file *file; in sdcardfs_page_mkwrite() local
/fs/ecryptfs/
Dfile.c51 struct file *file = iocb->ki_filp; in ecryptfs_read_update_atime() local
104 static int ecryptfs_readdir(struct file *file, struct dir_context *ctx) in ecryptfs_readdir()
172 static int ecryptfs_mmap(struct file *file, struct vm_area_struct *vma) in ecryptfs_mmap()
194 static int ecryptfs_open(struct inode *inode, struct file *file) in ecryptfs_open()
263 static int ecryptfs_dir_open(struct inode *inode, struct file *file) in ecryptfs_dir_open()
293 static int ecryptfs_flush(struct file *file, fl_owner_t td) in ecryptfs_flush()
305 static int ecryptfs_release(struct inode *inode, struct file *file) in ecryptfs_release()
313 static int ecryptfs_dir_release(struct inode *inode, struct file *file) in ecryptfs_dir_release()
321 static loff_t ecryptfs_dir_llseek(struct file *file, loff_t offset, int whence) in ecryptfs_dir_llseek()
327 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 …]
Dsvclock.c144 nlmsvc_lookup_block(struct nlm_file *file, struct nlm_lock *lock) in nlmsvc_lookup_block()
216 struct nlm_file *file, struct nlm_lock *lock, in nlmsvc_create_block()
286 struct nlm_file *file = block->b_file; in nlmsvc_free_block() local
311 struct nlm_file *file, in nlmsvc_traverse_blocks()
398 nlmsvc_lock(struct svc_rqst *rqstp, struct nlm_file *file, in nlmsvc_lock()
505 nlmsvc_testlock(struct svc_rqst *rqstp, struct nlm_file *file, in nlmsvc_testlock()
563 nlmsvc_unlock(struct net *net, struct nlm_file *file, struct nlm_lock *lock) in nlmsvc_unlock()
591 nlmsvc_cancel_blocked(struct net *net, struct nlm_file *file, struct nlm_lock *lock) in nlmsvc_cancel_blocked()
731 struct nlm_file *file = block->b_file; in nlmsvc_grant_blocked() local
/fs/ceph/
Dioctl.c16 static long ceph_ioctl_get_layout(struct file *file, void __user *arg) in ceph_ioctl_get_layout()
63 static long ceph_ioctl_set_layout(struct file *file, void __user *arg) in ceph_ioctl_set_layout()
135 static long ceph_ioctl_set_layout_policy (struct file *file, void __user *arg) in ceph_ioctl_set_layout_policy()
178 static long ceph_ioctl_get_dataloc(struct file *file, void __user *arg) in ceph_ioctl_get_dataloc()
245 static long ceph_ioctl_lazyio(struct file *file) in ceph_ioctl_lazyio()
265 static long ceph_ioctl_syncio(struct file *file) in ceph_ioctl_syncio()
273 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()
699 struct file *file = iocb->ki_filp; in gfs2_file_write_iter() local
797 static long __gfs2_fallocate(struct file *file, int mode, loff_t offset, loff_t len) in __gfs2_fallocate()
913 static long gfs2_fallocate(struct file *file, int mode, loff_t offset, loff_t len) in gfs2_fallocate()
[all …]
/fs/cifs/
Dcifs_debug.c242 static int cifs_debug_data_proc_open(struct inode *inode, struct file *file) in cifs_debug_data_proc_open()
255 static ssize_t cifs_stats_proc_write(struct file *file, in cifs_stats_proc_write()
358 static int cifs_stats_proc_open(struct inode *inode, struct file *file) in cifs_stats_proc_open()
425 static int cifsFYI_proc_open(struct inode *inode, struct file *file) in cifsFYI_proc_open()
430 static ssize_t cifsFYI_proc_write(struct file *file, const char __user *buffer, in cifsFYI_proc_write()
462 static int cifs_linux_ext_proc_open(struct inode *inode, struct file *file) in cifs_linux_ext_proc_open()
467 static ssize_t cifs_linux_ext_proc_write(struct file *file, in cifs_linux_ext_proc_write()
493 static int cifs_lookup_cache_proc_open(struct inode *inode, struct file *file) in cifs_lookup_cache_proc_open()
498 static ssize_t cifs_lookup_cache_proc_write(struct file *file, in cifs_lookup_cache_proc_write()
524 static int traceSMB_proc_open(struct inode *inode, struct file *file) in traceSMB_proc_open()
[all …]
/fs/proc/
Dkmsg.c22 static int kmsg_open(struct inode * inode, struct file * file) in kmsg_open()
27 static int kmsg_release(struct inode * inode, struct file * file) in kmsg_release()
33 static ssize_t kmsg_read(struct file *file, char __user *buf, in kmsg_read()
42 static unsigned int kmsg_poll(struct file *file, poll_table *wait) in kmsg_poll()
Dinode.c149 struct file *file; in close_pdeo() local
179 static loff_t proc_reg_llseek(struct file *file, loff_t offset, int whence) in proc_reg_llseek()
194 static ssize_t proc_reg_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) in proc_reg_read()
208 static ssize_t proc_reg_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) in proc_reg_write()
222 static unsigned int proc_reg_poll(struct file *file, struct poll_table_struct *pts) in proc_reg_poll()
236 static long proc_reg_unlocked_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in proc_reg_unlocked_ioctl()
251 static long proc_reg_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in proc_reg_compat_ioctl()
266 static int proc_reg_mmap(struct file *file, struct vm_area_struct *vma) in proc_reg_mmap()
281 proc_reg_get_unmapped_area(struct file *file, unsigned long orig_addr, in proc_reg_get_unmapped_area()
306 static int proc_reg_open(struct inode *inode, struct file *file) in proc_reg_open()
[all …]
Dbase.c200 static ssize_t proc_pid_cmdline_read(struct file *file, char __user *buf, in proc_pid_cmdline_read()
532 static int lstats_open(struct inode *inode, struct file *file) in lstats_open()
537 static ssize_t lstats_write(struct file *file, const char __user *buf, in lstats_write()
808 static int __mem_open(struct inode *inode, struct file *file, unsigned int mode) in __mem_open()
819 static int mem_open(struct inode *inode, struct file *file) in mem_open()
829 static ssize_t mem_rw(struct file *file, char __user *buf, in mem_rw()
887 static ssize_t mem_read(struct file *file, char __user *buf, in mem_read()
893 static ssize_t mem_write(struct file *file, const char __user *buf, in mem_write()
899 loff_t mem_lseek(struct file *file, loff_t offset, int orig) in mem_lseek()
915 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()
198 int fuse_open_common(struct inode *inode, struct file *file, bool isdir) in fuse_open_common()
247 void fuse_release_common(struct file *file, int opcode) in fuse_release_common()
280 static int fuse_open(struct inode *inode, struct file *file) in fuse_open()
285 static int fuse_release(struct inode *inode, struct file *file) in fuse_release()
398 static int fuse_flush(struct file *file, fl_owner_t id) in fuse_flush()
445 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.c72 int dcache_dir_open(struct inode *inode, struct file *file) in dcache_dir_open()
80 int dcache_dir_close(struct inode *inode, struct file *file) in dcache_dir_close()
142 loff_t dcache_dir_lseek(struct file *file, loff_t offset, int whence) in dcache_dir_lseek()
183 int dcache_readdir(struct file *file, struct dir_context *ctx) in dcache_readdir()
288 int simple_open(struct inode *inode, struct file *file) in simple_open()
415 int simple_readpage(struct file *file, struct page *page) in simple_readpage()
425 int simple_write_begin(struct file *file, struct address_space *mapping, in simple_write_begin()
470 int simple_write_end(struct file *file, struct address_space *mapping, in simple_write_end()
714 void simple_transaction_set(struct file *file, size_t n) in simple_transaction_set()
729 char *simple_transaction_get(struct file *file, const char __user *buf, size_t size) in simple_transaction_get()
[all …]
Dfile.c404 struct file * file = xchg(&fdt->fd[i], NULL); in close_files() local
605 struct file *file) in __fd_install()
625 void fd_install(unsigned int fd, struct file *file) in fd_install()
637 struct file *file; in __close_fd() local
676 struct file *file; in do_close_on_exec() local
697 struct file *file; in __fget() local
748 struct file *file; in __fget_light() local
776 struct file *file = (struct file *)(v & ~3); in __fdget_pos() local
824 struct file *file, unsigned fd, unsigned flags) in do_dup2()
867 int replace_fd(unsigned fd, struct file *file, unsigned flags) in replace_fd()
[all …]
/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/hfsplus/
Dinode.c24 static int hfsplus_readpage(struct file *file, struct page *page) in hfsplus_readpage()
44 static int hfsplus_write_begin(struct file *file, struct address_space *mapping, in hfsplus_write_begin()
127 struct file *file = iocb->ki_filp; in hfsplus_direct_IO() local
214 static int hfsplus_file_open(struct inode *inode, struct file *file) in hfsplus_file_open()
224 static int hfsplus_file_release(struct inode *inode, struct file *file) in hfsplus_file_release()
277 int hfsplus_file_fsync(struct file *file, loff_t start, loff_t end, in hfsplus_file_fsync()
507 struct hfsplus_cat_file *file = &entry.file; in hfsplus_cat_read_inode() local
584 struct hfsplus_cat_file *file = &entry.file; in hfsplus_cat_write_inode() local
591 struct hfsplus_cat_file *file = &entry.file; in hfsplus_cat_write_inode() local
Dioctl.c26 static int hfsplus_ioctl_bless(struct file *file, int __user *user_flags) in hfsplus_ioctl_bless()
59 static int hfsplus_ioctl_getflags(struct file *file, int __user *user_flags) in hfsplus_ioctl_getflags()
75 static int hfsplus_ioctl_setflags(struct file *file, int __user *user_flags) in hfsplus_ioctl_setflags()
136 long hfsplus_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in hfsplus_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
525 static long orangefs_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in orangefs_ioctl()
584 static int orangefs_file_mmap(struct file *file, struct vm_area_struct *vma) in orangefs_file_mmap()
608 static int orangefs_file_release(struct inode *inode, struct file *file) in orangefs_file_release()
641 static int orangefs_fsync(struct file *file, in orangefs_fsync()
682 static loff_t orangefs_file_llseek(struct file *file, loff_t offset, int origin) in orangefs_file_llseek()
/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 = vma->vm_file; in kernfs_vma_fault() local
374 struct file *file = vma->vm_file; in kernfs_vma_page_mkwrite() local
397 struct file *file = vma->vm_file; in kernfs_vma_access() local
419 struct file *file = vma->vm_file; in kernfs_vma_set_policy() local
440 struct file *file = vma->vm_file; in kernfs_vma_get_policy() local
471 static int kernfs_fop_mmap(struct file *file, struct vm_area_struct *vma) in kernfs_fop_mmap()
[all …]

12345678910>>...13