Home
last modified time | relevance | path

Searched defs:file (Results 1 – 25 of 312) 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
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()
164 static int exports_nfsd_open(struct inode *inode, struct file *file) in exports_nfsd_open()
183 static int export_features_open(struct inode *inode, struct file *file) in export_features_open()
202 static int supported_enctypes_open(struct inode *inode, struct file *file) in supported_enctypes_open()
235 static inline struct net *netns(struct file *file) in netns()
254 static ssize_t write_unlock_ip(struct file *file, char *buf, size_t size) in write_unlock_ip()
293 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/gfs2/
Dutil.c88 const char *function, char *file, unsigned int line) in gfs2_assert_withdraw_i()
106 const char *function, char *file, unsigned int line) in gfs2_assert_warn_i()
140 char *file, unsigned int line) in gfs2_consist_i()
156 const char *function, char *file, unsigned int line) in gfs2_consist_inode_i()
177 const char *function, char *file, unsigned int line) in gfs2_consist_rgrpd_i()
197 const char *type, const char *function, char *file, in gfs2_meta_check_ii()
218 char *file, unsigned int line) in gfs2_metatype_check_ii()
236 int gfs2_io_error_i(struct gfs2_sbd *sdp, const char *function, char *file, in gfs2_io_error_i()
254 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()
516 static int gfs2_mmap(struct file *file, struct vm_area_struct *vma) in gfs2_mmap()
551 int gfs2_open_common(struct inode *inode, struct file *file) in gfs2_open_common()
587 static int gfs2_open(struct inode *inode, struct file *file) in gfs2_open()
618 static int gfs2_release(struct inode *inode, struct file *file) in gfs2_release()
653 static int gfs2_fsync(struct file *file, loff_t start, loff_t end, in gfs2_fsync()
704 struct file *file = iocb->ki_filp; in gfs2_file_write_iter() local
802 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/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()
242 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/cifs/
Dcifs_debug.c258 static int cifs_debug_data_proc_open(struct inode *inode, struct file *file) in cifs_debug_data_proc_open()
272 static ssize_t cifs_stats_proc_write(struct file *file, in cifs_stats_proc_write()
386 static int cifs_stats_proc_open(struct inode *inode, struct file *file) in cifs_stats_proc_open()
454 static int cifsFYI_proc_open(struct inode *inode, struct file *file) in cifsFYI_proc_open()
459 static ssize_t cifsFYI_proc_write(struct file *file, const char __user *buffer, in cifsFYI_proc_write()
492 static int cifs_linux_ext_proc_open(struct inode *inode, struct file *file) in cifs_linux_ext_proc_open()
497 static ssize_t cifs_linux_ext_proc_write(struct file *file, in cifs_linux_ext_proc_write()
524 static int cifs_lookup_cache_proc_open(struct inode *inode, struct file *file) in cifs_lookup_cache_proc_open()
529 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.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 …]
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()
Dbase.c202 static ssize_t proc_pid_cmdline_read(struct file *file, char __user *buf, in proc_pid_cmdline_read()
565 static int lstats_open(struct inode *inode, struct file *file) in lstats_open()
570 static ssize_t lstats_write(struct file *file, const char __user *buf, in lstats_write()
844 static int __mem_open(struct inode *inode, struct file *file, unsigned int mode) in __mem_open()
855 static int mem_open(struct inode *inode, struct file *file) in mem_open()
865 static ssize_t mem_rw(struct file *file, char __user *buf, in mem_rw()
923 static ssize_t mem_read(struct file *file, char __user *buf, in mem_read()
929 static ssize_t mem_write(struct file *file, const char __user *buf, in mem_write()
935 loff_t mem_lseek(struct file *file, loff_t offset, int orig) in mem_lseek()
951 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.c24 static int fuse_send_open(struct fuse_conn *fc, u64 nodeid, struct file *file, in fuse_send_open()
118 int fuse_do_open(struct fuse_conn *fc, u64 nodeid, struct file *file, in fuse_do_open()
157 static void fuse_link_write_file(struct file *file) in fuse_link_write_file()
173 void fuse_finish_open(struct inode *inode, struct file *file) in fuse_finish_open()
201 int fuse_open_common(struct inode *inode, struct file *file, bool isdir) in fuse_open_common()
254 void fuse_release_common(struct file *file, int opcode) in fuse_release_common()
287 static int fuse_open(struct inode *inode, struct file *file) in fuse_open()
292 static int fuse_release(struct inode *inode, struct file *file) in fuse_release()
405 static int fuse_flush(struct file *file, fl_owner_t id) in fuse_flush()
457 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()
226 static ssize_t eventfd_read(struct file *file, char __user *buf, size_t count, in eventfd_read()
242 static ssize_t eventfd_write(struct file *file, const char __user *buf, size_t count, in eventfd_write()
324 struct file *file; in eventfd_fget() local
368 struct eventfd_ctx *eventfd_ctx_fileget(struct file *file) in eventfd_ctx_fileget()
393 struct file *file; in eventfd_file_create() local
423 struct file *file; in SYSCALL_DEFINE2() local
Dlibfs.c72 int dcache_dir_open(struct inode *inode, struct file *file) in dcache_dir_open()
82 int dcache_dir_close(struct inode *inode, struct file *file) in dcache_dir_close()
89 loff_t dcache_dir_lseek(struct file *file, loff_t offset, int whence) in dcache_dir_lseek()
144 int dcache_readdir(struct file *file, struct dir_context *ctx) in dcache_readdir()
258 int simple_open(struct inode *inode, struct file *file) in simple_open()
381 int simple_readpage(struct file *file, struct page *page) in simple_readpage()
391 int simple_write_begin(struct file *file, struct address_space *mapping, in simple_write_begin()
436 int simple_write_end(struct file *file, struct address_space *mapping, in simple_write_end()
680 void simple_transaction_set(struct file *file, size_t n) in simple_transaction_set()
695 char *simple_transaction_get(struct file *file, const char __user *buf, size_t size) in simple_transaction_get()
[all …]
Dfile.c403 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
757 struct file *file; in __fget_light() local
785 struct file *file = (struct file *)(v & ~3); in __fdget_pos() local
828 struct file *file, unsigned fd, unsigned flags) in do_dup2()
871 int replace_fd(unsigned fd, struct file *file, unsigned flags) in replace_fd()
[all …]
Dfile_table.c161 struct file *file; in alloc_file() local
186 static void __fput(struct file *file) in __fput()
264 void fput_many(struct file *file, unsigned int refs) in fput_many()
285 void fput(struct file *file) in fput()
298 void __fput_sync(struct file *file) in __fput_sync()
309 void put_filp(struct file *file) in put_filp()
/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()
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()
278 int hfsplus_file_fsync(struct file *file, loff_t start, loff_t end, in hfsplus_file_fsync()
509 struct hfsplus_cat_file *file = &entry.file; in hfsplus_cat_read_inode() local
585 struct hfsplus_cat_file *file = &entry.file; in hfsplus_cat_write_inode() local
592 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/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()
243 static ssize_t kernfs_fop_read(struct file *file, char __user *user_buf, in kernfs_fop_read()
270 static ssize_t kernfs_fop_write(struct file *file, const char __user *user_buf, in kernfs_fop_write()
330 struct file *file = vma->vm_file; in kernfs_vma_open() local
347 struct file *file = vma->vm_file; in kernfs_vma_fault() local
368 struct file *file = vma->vm_file; in kernfs_vma_page_mkwrite() local
391 struct file *file = vma->vm_file; in kernfs_vma_access() local
413 struct file *file = vma->vm_file; in kernfs_vma_set_policy() local
434 struct file *file = vma->vm_file; in kernfs_vma_get_policy() local
465 static int kernfs_fop_mmap(struct file *file, struct vm_area_struct *vma) in kernfs_fop_mmap()
[all …]
/fs/hpfs/
Dfile.c14 static int hpfs_file_release(struct inode *inode, struct file *file) in hpfs_file_release()
22 int hpfs_file_fsync(struct file *file, loff_t start, loff_t end, int datasync) in hpfs_file_fsync()
117 static int hpfs_readpage(struct file *file, struct page *page) in hpfs_readpage()
127 static int hpfs_readpages(struct file *file, struct address_space *mapping, in hpfs_readpages()
153 static int hpfs_write_begin(struct file *file, struct address_space *mapping, in hpfs_write_begin()
169 static int hpfs_write_end(struct file *file, struct address_space *mapping, in hpfs_write_end()

12345678910>>...13