Home
last modified time | relevance | path

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

12345678910>>...12

/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()
85 static int sdcardfs_readdir(struct file *file, struct dir_context *ctx) in sdcardfs_readdir()
102 static long sdcardfs_unlocked_ioctl(struct file *file, unsigned int cmd, in sdcardfs_unlocked_ioctl()
133 static long sdcardfs_compat_ioctl(struct file *file, unsigned int cmd, in sdcardfs_compat_ioctl()
160 static int sdcardfs_mmap(struct file *file, struct vm_area_struct *vma) in sdcardfs_mmap()
219 static int sdcardfs_open(struct inode *inode, struct file *file) in sdcardfs_open()
277 static int sdcardfs_flush(struct file *file, fl_owner_t id) in sdcardfs_flush()
290 static int sdcardfs_file_release(struct inode *inode, struct file *file) in sdcardfs_file_release()
304 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/sysfs/
Dbin.c44 struct file *file; member
49 fill_read(struct file *file, char *buffer, loff_t off, size_t count) in fill_read()
70 read(struct file *file, char __user *userbuf, size_t bytes, loff_t *off) in read()
119 flush_write(struct file *file, char *buffer, loff_t offset, size_t count) in flush_write()
139 static ssize_t write(struct file *file, const char __user *userbuf, in write()
178 struct file *file = vma->vm_file; in bin_vma_open() local
196 struct file *file = vma->vm_file; in bin_fault() local
217 struct file *file = vma->vm_file; in bin_page_mkwrite() local
241 struct file *file = vma->vm_file; in bin_access() local
263 struct file *file = vma->vm_file; in bin_set_policy() local
[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()
211 nlm_inspect_file(struct nlm_host *host, struct nlm_file *file, nlm_host_match_fn_t match) in nlm_inspect_file()
223 nlm_file_inuse(struct nlm_file *file) in nlm_file_inuse()
248 int (*is_failover_file)(void *data, struct nlm_file *file)) in nlm_traverse_files()
251 struct nlm_file *file; in nlm_traverse_files() local
292 nlm_release_file(struct nlm_file *file) in nlm_release_file()
[all …]
/fs/nfsd/
Dnfsctl.c87 static ssize_t nfsctl_transaction_write(struct file *file, const char __user *buf, size_t size, lof… in nfsctl_transaction_write()
108 static ssize_t nfsctl_transaction_read(struct file *file, char __user *buf, size_t size, loff_t *po… in nfsctl_transaction_read()
129 static int exports_net_open(struct net *net, struct file *file) in exports_net_open()
144 static int exports_proc_open(struct inode *inode, struct file *file) in exports_proc_open()
157 static int exports_nfsd_open(struct inode *inode, struct file *file) in exports_nfsd_open()
176 static int export_features_open(struct inode *inode, struct file *file) in export_features_open()
195 static int supported_enctypes_open(struct inode *inode, struct file *file) in supported_enctypes_open()
243 static ssize_t write_unlock_ip(struct file *file, char *buf, size_t size) in write_unlock_ip()
282 static ssize_t write_unlock_fs(struct file *file, char *buf, size_t size) in write_unlock_fs()
339 static ssize_t write_filehandle(struct file *file, char *buf, size_t size) in write_filehandle()
[all …]
/fs/
Dfile_table.c172 struct file *file; in alloc_file() local
208 static void drop_file_write_access(struct file *file) in drop_file_write_access()
226 static void __fput(struct file *file) in __fput()
305 void fput(struct file *file) in fput()
332 void __fput_sync(struct file *file) in __fput_sync()
344 void put_filp(struct file *file) in put_filp()
353 static inline int file_list_cpu(struct file *file) in file_list_cpu()
363 static inline void __file_sb_list_add(struct file *file, struct super_block *sb) in __file_sb_list_add()
385 void file_sb_list_add(struct file *file, struct super_block *sb) in file_sb_list_add()
399 void file_sb_list_del(struct file *file) in file_sb_list_del()
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()
327 struct file *file; in eventfd_fget() local
352 struct file *file; in eventfd_ctx_fdget() local
374 struct eventfd_ctx *eventfd_ctx_fileget(struct file *file) in eventfd_ctx_fileget()
399 struct file *file; in eventfd_file_create() local
429 struct file *file; in SYSCALL_DEFINE2() local
Dfile.c374 struct file * file = xchg(&fdt->fd[i], NULL); in close_files() local
569 struct file *file) in __fd_install()
579 void fd_install(unsigned int fd, struct file *file) in fd_install()
591 struct file *file; in __close_fd() local
630 struct file *file; in do_close_on_exec() local
650 struct file *file; in fget() local
670 struct file *file; in fget_raw() local
705 struct file *file; in fget_light() local
733 struct file *file; in fget_raw_light() local
781 struct file *file, unsigned fd, unsigned flags) in do_dup2()
[all …]
Dlibfs.c69 int dcache_dir_open(struct inode *inode, struct file *file) in dcache_dir_open()
78 int dcache_dir_close(struct inode *inode, struct file *file) in dcache_dir_close()
84 loff_t dcache_dir_lseek(struct file *file, loff_t offset, int whence) in dcache_dir_lseek()
267 int simple_open(struct inode *inode, struct file *file) in simple_open()
384 int simple_readpage(struct file *file, struct page *page) in simple_readpage()
393 int simple_write_begin(struct file *file, struct address_space *mapping, in simple_write_begin()
437 int simple_write_end(struct file *file, struct address_space *mapping, in simple_write_end()
674 void simple_transaction_set(struct file *file, size_t n) in simple_transaction_set()
688 char *simple_transaction_get(struct file *file, const char __user *buf, size_t size) in simple_transaction_get()
719 ssize_t simple_transaction_read(struct file *file, char __user *buf, size_t size, loff_t *pos) in simple_transaction_read()
[all …]
Dproc_namespace.c18 static unsigned mounts_poll(struct file *file, poll_table *wait) in mounts_poll()
226 static int mounts_open_common(struct inode *inode, struct file *file, in mounts_open_common()
292 static int mounts_release(struct inode *inode, struct file *file) in mounts_release()
300 static int mounts_open(struct inode *inode, struct file *file) in mounts_open()
305 static int mountinfo_open(struct inode *inode, struct file *file) in mountinfo_open()
310 static int mountstats_open(struct inode *inode, struct file *file) in mountstats_open()
/fs/ecryptfs/
Dfile.c53 struct file *file = iocb->ki_filp; in ecryptfs_read_update_atime() local
114 static int ecryptfs_readdir(struct file *file, void *dirent, filldir_t filldir) in ecryptfs_readdir()
188 static int ecryptfs_mmap(struct file *file, struct vm_area_struct *vma) in ecryptfs_mmap()
210 static int ecryptfs_open(struct inode *inode, struct file *file) in ecryptfs_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()
311 ecryptfs_fsync(struct file *file, loff_t start, loff_t end, int datasync) in ecryptfs_fsync()
322 static int ecryptfs_fasync(int fd, struct file *file, int flag) in ecryptfs_fasync()
334 ecryptfs_unlocked_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in ecryptfs_unlocked_ioctl()
348 ecryptfs_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in ecryptfs_compat_ioctl()
/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()
137 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()
233 static long ceph_ioctl_lazyio(struct file *file) in ceph_ioctl_lazyio()
254 static long ceph_ioctl_syncio(struct file *file) in ceph_ioctl_syncio()
262 long ceph_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in ceph_ioctl()
/fs/cifs/
Dcifs_debug.c257 static int cifs_debug_data_proc_open(struct inode *inode, struct file *file) in cifs_debug_data_proc_open()
271 static ssize_t cifs_stats_proc_write(struct file *file, in cifs_stats_proc_write()
375 static int cifs_stats_proc_open(struct inode *inode, struct file *file) in cifs_stats_proc_open()
443 static int cifsFYI_proc_open(struct inode *inode, struct file *file) in cifsFYI_proc_open()
448 static ssize_t cifsFYI_proc_write(struct file *file, const char __user *buffer, in cifsFYI_proc_write()
482 static int cifs_linux_ext_proc_open(struct inode *inode, struct file *file) in cifs_linux_ext_proc_open()
487 static ssize_t cifs_linux_ext_proc_write(struct file *file, in cifs_linux_ext_proc_write()
519 static int cifs_lookup_cache_proc_open(struct inode *inode, struct file *file) in cifs_lookup_cache_proc_open()
524 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/gfs2/
Dutil.c81 const char *function, char *file, unsigned int line) in gfs2_assert_withdraw_i()
100 const char *function, char *file, unsigned int line) in gfs2_assert_warn_i()
137 char *file, unsigned int line) in gfs2_consist_i()
155 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()
198 const char *type, const char *function, char *file, in gfs2_meta_check_ii()
220 char *file, unsigned int line) in gfs2_metatype_check_ii()
239 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()
93 static int gfs2_readdir(struct file *file, void *dirent, filldir_t filldir) in gfs2_readdir()
518 static int gfs2_mmap(struct file *file, struct vm_area_struct *vma) in gfs2_mmap()
548 static int gfs2_open(struct inode *inode, struct file *file) in gfs2_open()
597 static int gfs2_release(struct inode *inode, struct file *file) in gfs2_release()
632 static int gfs2_fsync(struct file *file, loff_t start, loff_t end, in gfs2_fsync()
682 struct file *file = iocb->ki_filp; in gfs2_file_aio_write() local
779 static long gfs2_fallocate(struct file *file, int mode, loff_t offset, in gfs2_fallocate()
904 static int gfs2_setlease(struct file *file, long arg, struct file_lock **fl) in gfs2_setlease()
918 static int gfs2_lock(struct file *file, int cmd, struct file_lock *fl) in gfs2_lock()
[all …]
/fs/proc/
Dinode.c157 struct file *file; in close_pdeo() local
187 static loff_t proc_reg_llseek(struct file *file, loff_t offset, int whence) in proc_reg_llseek()
202 static ssize_t proc_reg_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) in proc_reg_read()
216 static ssize_t proc_reg_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) in proc_reg_write()
230 static unsigned int proc_reg_poll(struct file *file, struct poll_table_struct *pts) in proc_reg_poll()
244 static long proc_reg_unlocked_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in proc_reg_unlocked_ioctl()
259 static long proc_reg_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in proc_reg_compat_ioctl()
274 static int proc_reg_mmap(struct file *file, struct vm_area_struct *vma) in proc_reg_mmap()
288 static int proc_reg_open(struct inode *inode, struct file *file) in proc_reg_open()
334 static int proc_reg_release(struct inode *inode, struct file *file) in proc_reg_release()
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()
/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/
Dfile.c23 static int fuse_send_open(struct fuse_conn *fc, u64 nodeid, struct file *file, in fuse_send_open()
144 int fuse_do_open(struct fuse_conn *fc, u64 nodeid, struct file *file, in fuse_do_open()
174 void fuse_finish_open(struct inode *inode, struct file *file) in fuse_finish_open()
196 int fuse_open_common(struct inode *inode, struct file *file, bool isdir) in fuse_open_common()
237 void fuse_release_common(struct file *file, int opcode) in fuse_release_common()
271 static int fuse_open(struct inode *inode, struct file *file) in fuse_open()
276 static int fuse_release(struct inode *inode, struct file *file) in fuse_release()
361 static int fuse_flush(struct file *file, fl_owner_t id) in fuse_flush()
411 int fuse_fsync_common(struct file *file, loff_t start, loff_t end, in fuse_fsync_common()
473 static int fuse_fsync(struct file *file, loff_t start, loff_t end, in fuse_fsync()
[all …]
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()
/fs/afs/
Dproc.c183 static int afs_proc_cells_open(struct inode *inode, struct file *file) in afs_proc_cells_open()
248 static ssize_t afs_proc_cells_write(struct file *file, const char __user *buf, in afs_proc_cells_write()
325 static int afs_proc_rootcell_open(struct inode *inode, struct file *file) in afs_proc_rootcell_open()
330 static int afs_proc_rootcell_release(struct inode *inode, struct file *file) in afs_proc_rootcell_release()
335 static ssize_t afs_proc_rootcell_read(struct file *file, char __user *buf, in afs_proc_rootcell_read()
345 static ssize_t afs_proc_rootcell_write(struct file *file, in afs_proc_rootcell_write()
445 static int afs_proc_cell_volumes_open(struct inode *inode, struct file *file) in afs_proc_cell_volumes_open()
468 static int afs_proc_cell_volumes_release(struct inode *inode, struct file *file) in afs_proc_cell_volumes_release()
551 static int afs_proc_cell_vlservers_open(struct inode *inode, struct file *file) in afs_proc_cell_vlservers_open()
575 struct file *file) in afs_proc_cell_vlservers_release()
[all …]
/fs/hfsplus/
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()
138 long hfsplus_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in hfsplus_ioctl()
Dinode.c23 static int hfsplus_readpage(struct file *file, struct page *page) in hfsplus_readpage()
43 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
272 static int hfsplus_file_open(struct inode *inode, struct file *file) in hfsplus_file_open()
282 static int hfsplus_file_release(struct inode *inode, struct file *file) in hfsplus_file_release()
322 int hfsplus_file_fsync(struct file *file, loff_t start, loff_t end, in hfsplus_file_fsync()
547 struct hfsplus_cat_file *file = &entry.file; in hfsplus_cat_read_inode() local
619 struct hfsplus_cat_file *file = &entry.file; in hfsplus_cat_write_inode() local
626 struct hfsplus_cat_file *file = &entry.file; in hfsplus_cat_write_inode() local
/fs/ocfs2/
Dlocks.c38 static int ocfs2_do_flock(struct file *file, struct inode *inode, in ocfs2_do_flock()
92 static int ocfs2_do_funlock(struct file *file, int cmd, struct file_lock *fl) in ocfs2_do_funlock()
108 int ocfs2_flock(struct file *file, int cmd, struct file_lock *fl) in ocfs2_flock()
128 int ocfs2_lock(struct file *file, int cmd, struct file_lock *fl) in ocfs2_lock()
/fs/btrfs/
Dioctl.c153 static int btrfs_ioctl_getflags(struct file *file, void __user *arg) in btrfs_ioctl_getflags()
178 static int btrfs_ioctl_setflags(struct file *file, void __user *arg) in btrfs_ioctl_setflags()
311 static int btrfs_ioctl_getversion(struct file *file, int __user *arg) in btrfs_ioctl_getversion()
318 static noinline int btrfs_ioctl_fitrim(struct file *file, void __user *arg) in btrfs_ioctl_fitrim()
1134 int btrfs_defrag_file(struct inode *inode, struct file *file, in btrfs_defrag_file()
1350 static noinline int btrfs_ioctl_resize(struct file *file, in btrfs_ioctl_resize()
1491 static noinline int btrfs_ioctl_snap_create_transid(struct file *file, in btrfs_ioctl_snap_create_transid()
1544 static noinline int btrfs_ioctl_snap_create(struct file *file, in btrfs_ioctl_snap_create()
1563 static noinline int btrfs_ioctl_snap_create_v2(struct file *file, in btrfs_ioctl_snap_create_v2()
1616 static noinline int btrfs_ioctl_subvol_getflags(struct file *file, in btrfs_ioctl_subvol_getflags()
[all …]

12345678910>>...12