Home
last modified time | relevance | path

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

12345678910>>...15

/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, int mode) in nlm_do_fopen()
108 struct nlm_file *file; in nlm_lookup_file() local
164 nlm_delete_file(struct nlm_file *file) in nlm_delete_file()
179 static int nlm_unlock_files(struct nlm_file *file, const struct file_lock *fl) in nlm_unlock_files()
208 nlm_traverse_locks(struct nlm_host *host, struct nlm_file *file, in nlm_traverse_locks()
252 nlm_inspect_file(struct nlm_host *host, struct nlm_file *file, nlm_host_match_fn_t match) in nlm_inspect_file()
264 nlm_file_inuse(struct nlm_file *file) in nlm_file_inuse()
287 static void nlm_close_files(struct nlm_file *file) in nlm_close_files()
[all …]
/fs/ecryptfs/
Dfile.c37 struct file *file = iocb->ki_filp; in ecryptfs_read_update_atime() local
126 static int ecryptfs_readdir(struct file *file, struct dir_context *ctx) 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()
279 static int ecryptfs_dir_open(struct inode *inode, struct file *file) in ecryptfs_dir_open()
309 static int ecryptfs_flush(struct file *file, fl_owner_t td) in ecryptfs_flush()
321 static int ecryptfs_release(struct inode *inode, struct file *file) in ecryptfs_release()
329 static int ecryptfs_dir_release(struct inode *inode, struct file *file) in ecryptfs_dir_release()
337 static loff_t ecryptfs_dir_llseek(struct file *file, loff_t offset, int whence) in ecryptfs_dir_llseek()
343 ecryptfs_fsync(struct file *file, loff_t start, loff_t end, int datasync) in ecryptfs_fsync()
[all …]
/fs/proc/
Dinode.c235 struct file *file; in close_pdeo() local
275 static loff_t proc_reg_llseek(struct file *file, loff_t offset, int whence) in proc_reg_llseek()
304 static ssize_t pde_read(struct proc_dir_entry *pde, struct file *file, char __user *buf, size_t cou… in pde_read()
312 static ssize_t proc_reg_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) in proc_reg_read()
326 static ssize_t pde_write(struct proc_dir_entry *pde, struct file *file, const char __user *buf, siz… in pde_write()
334 static ssize_t proc_reg_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) in proc_reg_write()
348 static __poll_t pde_poll(struct proc_dir_entry *pde, struct file *file, struct poll_table_struct *p… in pde_poll()
356 static __poll_t proc_reg_poll(struct file *file, struct poll_table_struct *pts) in proc_reg_poll()
370 static long pde_ioctl(struct proc_dir_entry *pde, struct file *file, unsigned int cmd, unsigned lon… in pde_ioctl()
378 static long proc_reg_unlocked_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in proc_reg_unlocked_ioctl()
[all …]
Dkmsg.c20 static int kmsg_open(struct inode * inode, struct file * file) in kmsg_open()
25 static int kmsg_release(struct inode * inode, struct file * file) in kmsg_release()
31 static ssize_t kmsg_read(struct file *file, char __user *buf, in kmsg_read()
40 static __poll_t kmsg_poll(struct file *file, poll_table *wait) in kmsg_poll()
Dbase.c408 static ssize_t proc_pid_cmdline_read(struct file *file, char __user *buf, in proc_pid_cmdline_read()
572 static int lstats_open(struct inode *inode, struct file *file) in lstats_open()
577 static ssize_t lstats_write(struct file *file, const char __user *buf, in lstats_write()
866 static int __mem_open(struct inode *inode, struct file *file, unsigned int mode) in __mem_open()
877 static int mem_open(struct inode *inode, struct file *file) in mem_open()
884 static bool proc_mem_foll_force(struct file *file, struct mm_struct *mm) in proc_mem_foll_force()
906 static ssize_t mem_rw(struct file *file, char __user *buf, in mem_rw()
963 static ssize_t mem_read(struct file *file, char __user *buf, in mem_read()
969 static ssize_t mem_write(struct file *file, const char __user *buf, in mem_write()
975 loff_t mem_lseek(struct file *file, loff_t offset, int orig) in mem_lseek()
[all …]
/fs/
Dfile.c423 struct file * file = xchg(&fdt->fd[i], NULL); in close_files() local
595 void fd_install(unsigned int fd, struct file *file) in fd_install()
638 struct file *file; in file_close_fd_locked() local
657 struct file *file; in close_fd() local
699 struct file *file; in __range_close() local
794 struct file *file; in file_close_fd() local
822 struct file *file; in do_close_on_exec() local
842 struct file __rcu *file; in __get_file_rcu() local
897 struct file __rcu *file; in get_file_rcu() local
920 struct file __rcu *file; in get_file_active() local
[all …]
Deventfd.c109 static int eventfd_release(struct inode *inode, struct file *file) in eventfd_release()
118 static __poll_t eventfd_poll(struct file *file, poll_table *wait) in eventfd_poll()
216 struct file *file = iocb->ki_filp; in eventfd_read() local
247 static ssize_t eventfd_write(struct file *file, const char __user *buf, size_t count, in eventfd_write()
325 struct file *file; in eventfd_fget() local
369 struct eventfd_ctx *eventfd_ctx_fileget(struct file *file) in eventfd_ctx_fileget()
385 struct file *file; in do_eventfd() local
Dfile_table.c48 struct file file; member
291 static void file_init_path(struct file *file, const struct path *path, in file_init_path()
324 struct file *file; in alloc_file() local
349 struct file *file; in alloc_file_pseudo() local
371 struct file *file; in alloc_file_pseudo_noaccount() local
403 static void __fput(struct file *file) in __fput()
478 void fput(struct file *file) in fput()
511 void __fput_sync(struct file *file) in __fput_sync()
/fs/overlayfs/
Dfile.c27 static struct file *ovl_open_realfile(const struct file *file, in ovl_open_realfile()
65 static int ovl_change_flags(struct file *file, unsigned int flags) in ovl_change_flags()
92 static int ovl_real_fdget_meta(const struct file *file, struct fd *real, in ovl_real_fdget_meta()
131 static int ovl_real_fdget(const struct file *file, struct fd *real) in ovl_real_fdget()
144 static int ovl_open(struct inode *inode, struct file *file) in ovl_open()
176 static int ovl_release(struct inode *inode, struct file *file) in ovl_release()
183 static loff_t ovl_llseek(struct file *file, loff_t offset, int whence) in ovl_llseek()
228 static void ovl_file_modified(struct file *file) in ovl_file_modified()
234 static void ovl_file_end_write(struct file *file, loff_t pos, ssize_t ret) in ovl_file_end_write()
239 static void ovl_file_accessed(struct file *file) in ovl_file_accessed()
[all …]
/fs/ceph/
Dioctl.c18 static long ceph_ioctl_get_layout(struct file *file, void __user *arg) in ceph_ioctl_get_layout()
65 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()
180 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()
267 static long ceph_ioctl_syncio(struct file *file) in ceph_ioctl_syncio()
275 static int vet_mds_for_fscrypt(struct file *file) in vet_mds_for_fscrypt()
294 static long ceph_set_encryption_policy(struct file *file, unsigned long arg) in ceph_set_encryption_policy()
359 long ceph_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in ceph_ioctl()
/fs/smb/client/
Dcifs_debug.c652 static ssize_t cifs_stats_proc_write(struct file *file, in cifs_stats_proc_write()
791 static int cifs_stats_proc_open(struct inode *inode, struct file *file) in cifs_stats_proc_open()
938 static int cifsFYI_proc_open(struct inode *inode, struct file *file) in cifsFYI_proc_open()
943 static ssize_t cifsFYI_proc_write(struct file *file, const char __user *buffer, in cifsFYI_proc_write()
977 static int cifs_linux_ext_proc_open(struct inode *inode, struct file *file) in cifs_linux_ext_proc_open()
982 static ssize_t cifs_linux_ext_proc_write(struct file *file, in cifs_linux_ext_proc_write()
1008 static int cifs_lookup_cache_proc_open(struct inode *inode, struct file *file) in cifs_lookup_cache_proc_open()
1013 static ssize_t cifs_lookup_cache_proc_write(struct file *file, in cifs_lookup_cache_proc_write()
1039 static int traceSMB_proc_open(struct inode *inode, struct file *file) in traceSMB_proc_open()
1044 static ssize_t traceSMB_proc_write(struct file *file, const char __user *buffer, in traceSMB_proc_write()
[all …]
/fs/fuse/
Dreaddir.c34 static void fuse_add_dirent_to_cache(struct file *file, in fuse_add_dirent_to_cache()
96 static void fuse_readdir_cache_end(struct file *file, loff_t pos) in fuse_readdir_cache_end()
116 static bool fuse_emit(struct file *file, struct dir_context *ctx, in fuse_emit()
128 static int parse_dirfile(char *buf, size_t nbytes, struct file *file, in parse_dirfile()
152 static int fuse_direntplus_link(struct file *file, in fuse_direntplus_link()
267 static void fuse_force_forget(struct file *file, u64 nodeid) in fuse_force_forget()
288 static int parse_dirplusfile(char *buf, size_t nbytes, struct file *file, in parse_dirplusfile()
332 static int fuse_readdir_uncached(struct file *file, struct dir_context *ctx) in fuse_readdir_uncached()
446 static int fuse_readdir_cached(struct file *file, struct dir_context *ctx) in fuse_readdir_cached()
588 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.c362 const char *function, char *file, unsigned int line, in gfs2_assert_withdraw_i()
392 const char *function, char *file, unsigned int line) in gfs2_assert_warn_i()
423 char *file, unsigned int line) in gfs2_consist_i()
437 const char *function, char *file, unsigned int line) in gfs2_consist_inode_i()
457 const char *function, char *file, unsigned int line) in gfs2_consist_rgrpd_i()
481 const char *function, char *file, in gfs2_meta_check_ii()
504 char *file, unsigned int line) in gfs2_metatype_check_ii()
524 int gfs2_io_error_i(struct gfs2_sbd *sdp, const char *function, char *file, in gfs2_io_error_i()
540 const char *function, char *file, unsigned int line, in gfs2_io_error_bh_i()
Dfile.c58 static loff_t gfs2_llseek(struct file *file, loff_t offset, int whence) in gfs2_llseek()
105 static int gfs2_readdir(struct file *file, struct dir_context *ctx) in gfs2_readdir()
591 static int gfs2_mmap(struct file *file, struct vm_area_struct *vma) in gfs2_mmap()
626 int gfs2_open_common(struct inode *inode, struct file *file) in gfs2_open_common()
675 static int gfs2_open(struct inode *inode, struct file *file) in gfs2_open()
706 static int gfs2_release(struct inode *inode, struct file *file) in gfs2_release()
742 static int gfs2_fsync(struct file *file, loff_t start, loff_t end, in gfs2_fsync()
814 struct file *file = iocb->ki_filp; in gfs2_file_direct_read() local
877 struct file *file = iocb->ki_filp; in gfs2_file_direct_write() local
1014 struct file *file = iocb->ki_filp; in gfs2_file_buffered_write() local
[all …]
/fs/dlm/
Dplock.c27 void *file; member
122 int dlm_posix_lock(dlm_lockspace_t *lockspace, u64 number, struct file *file, in dlm_posix_lock()
241 struct file *file; in dlm_plock_callback() local
288 int dlm_posix_unlock(dlm_lockspace_t *lockspace, u64 number, struct file *file, in dlm_posix_unlock()
359 int dlm_posix_cancel(dlm_lockspace_t *lockspace, u64 number, struct file *file, in dlm_posix_cancel()
422 int dlm_posix_get(dlm_lockspace_t *lockspace, u64 number, struct file *file, in dlm_posix_get()
481 static ssize_t dev_read(struct file *file, char __user *u, size_t count, in dev_read()
520 static ssize_t dev_write(struct file *file, const char __user *u, size_t count, in dev_write()
586 static __poll_t dev_poll(struct file *file, poll_table *wait) in dev_poll()
Ddebug_fs.c473 static int table_open1(struct inode *inode, struct file *file) in table_open1()
487 static int table_open2(struct inode *inode, struct file *file) in table_open2()
501 static ssize_t table_write2(struct file *file, const char __user *user_buf, in table_write2()
530 static int table_open3(struct inode *inode, struct file *file) in table_open3()
544 static int table_open4(struct inode *inode, struct file *file) in table_open4()
594 static ssize_t waiters_read(struct file *file, char __user *userbuf, in waiters_read()
628 static ssize_t waiters_write(struct file *file, const char __user *user_buf, in waiters_write()
675 static int dlm_state_show(struct seq_file *file, void *offset) in dlm_state_show()
682 static int dlm_flags_show(struct seq_file *file, void *offset) in dlm_flags_show()
689 static int dlm_send_queue_cnt_show(struct seq_file *file, void *offset) in dlm_send_queue_cnt_show()
[all …]
/fs/configfs/
Dfile.c49 static inline struct configfs_fragment *to_frag(struct file *file) in to_frag()
56 static int fill_read_buffer(struct file *file, struct configfs_buffer *buffer) in fill_read_buffer()
82 struct file *file = iocb->ki_filp; in configfs_read_iter() local
108 struct file *file = iocb->ki_filp; in configfs_bin_read_iter() local
200 flush_write_buffer(struct file *file, struct configfs_buffer *buffer, size_t count) in flush_write_buffer()
222 struct file *file = iocb->ki_filp; in configfs_write_iter() local
239 struct file *file = iocb->ki_filp; in configfs_bin_write_iter() local
290 static int __configfs_open_file(struct inode *inode, struct file *file, int type) in __configfs_open_file()
401 static int configfs_release_bin_file(struct inode *inode, struct file *file) in configfs_release_bin_file()
/fs/udf/
Ddir.c35 static int udf_readdir(struct file *file, struct dir_context *ctx) in udf_readdir()
131 static int udf_dir_open(struct inode *inode, struct file *file) in udf_dir_open()
139 static int udf_dir_release(struct inode *inode, struct file *file) in udf_dir_release()
145 static loff_t udf_dir_llseek(struct file *file, loff_t offset, int whence) in udf_dir_llseek()
/fs/orangefs/
Dfile.c52 int *index_return, struct file *file) in wait_for_direct_io()
378 struct file *file = vmf->vma->vm_file; in orangefs_fault() local
401 static int orangefs_file_mmap(struct file *file, struct vm_area_struct *vma) in orangefs_file_mmap()
428 static int orangefs_file_release(struct inode *inode, struct file *file) in orangefs_file_release()
456 static int orangefs_fsync(struct file *file, in orangefs_fsync()
497 static loff_t orangefs_file_llseek(struct file *file, loff_t offset, int origin) in orangefs_file_llseek()
552 static int orangefs_flush(struct file *file, fl_owner_t id) in orangefs_flush()
/fs/bcachefs/
Ddebug.c338 static int bch2_dump_open(struct inode *inode, struct file *file) in bch2_dump_open()
357 static int bch2_dump_release(struct inode *inode, struct file *file) in bch2_dump_release()
366 static ssize_t bch2_read_btree(struct file *file, char __user *buf, in bch2_read_btree()
396 static ssize_t bch2_read_btree_formats(struct file *file, char __user *buf, in bch2_read_btree_formats()
430 static ssize_t bch2_read_bfloat_failed(struct file *file, char __user *buf, in bch2_read_bfloat_failed()
499 static ssize_t bch2_cached_btree_nodes_read(struct file *file, char __user *buf, in bch2_cached_btree_nodes_read()
577 static ssize_t bch2_btree_transactions_read(struct file *file, char __user *buf, in bch2_btree_transactions_read()
638 static ssize_t bch2_journal_pins_read(struct file *file, char __user *buf, in bch2_journal_pins_read()
678 static ssize_t bch2_btree_updates_read(struct file *file, char __user *buf, in bch2_btree_updates_read()
711 static int btree_transaction_stats_open(struct inode *inode, struct file *file) in btree_transaction_stats_open()
[all …]
/fs/ocfs2/
Dlocks.c23 static int ocfs2_do_flock(struct file *file, struct inode *inode, in ocfs2_do_flock()
82 static int ocfs2_do_funlock(struct file *file, int cmd, struct file_lock *fl) in ocfs2_do_funlock()
98 int ocfs2_flock(struct file *file, int cmd, struct file_lock *fl) in ocfs2_flock()
116 int ocfs2_lock(struct file *file, int cmd, struct file_lock *fl) in ocfs2_lock()
/fs/xfs/
Dxfs_file.c65 struct file *file, in xfs_dir_fsync()
126 struct file *file, in xfs_file_fsync()
887 struct file *file, in xfs_falloc_newsize()
903 struct file *file, in xfs_falloc_setsize()
919 struct file *file, in xfs_falloc_collapse_range()
945 struct file *file, in xfs_falloc_insert_range()
990 struct file *file, in xfs_falloc_zero_range()
1020 struct file *file, in xfs_falloc_unshare_range()
1045 struct file *file, in xfs_falloc_allocate_range()
1078 struct file *file, in xfs_file_fallocate()
[all …]
/fs/hfsplus/
Dinode.c26 static int hfsplus_read_folio(struct file *file, struct folio *folio) in hfsplus_read_folio()
41 int hfsplus_write_begin(struct file *file, struct address_space *mapping, in hfsplus_write_begin()
123 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()
300 int hfsplus_file_fsync(struct file *file, loff_t start, loff_t end, in hfsplus_file_fsync()
534 struct hfsplus_cat_file *file = &entry.file; in hfsplus_cat_read_inode() local
621 struct hfsplus_cat_file *file = &entry.file; in hfsplus_cat_write_inode() local
628 struct hfsplus_cat_file *file = &entry.file; in hfsplus_cat_write_inode() local
/fs/nfsd/
Dnfsctl.c101 static ssize_t nfsctl_transaction_write(struct file *file, const char __user *buf, size_t size, lof… in nfsctl_transaction_write()
122 static ssize_t nfsctl_transaction_read(struct file *file, char __user *buf, size_t size, loff_t *po… in nfsctl_transaction_read()
143 static int exports_net_open(struct net *net, struct file *file) in exports_net_open()
158 static int exports_nfsd_open(struct inode *inode, struct file *file) in exports_nfsd_open()
178 static int nfsd_pool_stats_open(struct inode *inode, struct file *file) in nfsd_pool_stats_open()
201 static inline struct net *netns(struct file *file) in netns()
220 static ssize_t write_unlock_ip(struct file *file, char *buf, size_t size) in write_unlock_ip()
260 static ssize_t write_unlock_fs(struct file *file, char *buf, size_t size) in write_unlock_fs()
318 static ssize_t write_filehandle(struct file *file, char *buf, size_t size) in write_filehandle()
402 static ssize_t write_threads(struct file *file, char *buf, size_t size) in write_threads()
[all …]

12345678910>>...15