/fs/lockd/ |
D | svcsubs.c | 46 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/ |
D | file.c | 37 struct file *file = iocb->ki_filp; in ecryptfs_read_update_atime() local 101 static int ecryptfs_readdir(struct file *file, struct dir_context *ctx) in ecryptfs_readdir() 163 static int ecryptfs_mmap(struct file *file, struct vm_area_struct *vma) in ecryptfs_mmap() 185 static int ecryptfs_open(struct inode *inode, struct file *file) in ecryptfs_open() 254 static int ecryptfs_dir_open(struct inode *inode, struct file *file) in ecryptfs_dir_open() 284 static int ecryptfs_flush(struct file *file, fl_owner_t td) in ecryptfs_flush() 296 static int ecryptfs_release(struct inode *inode, struct file *file) in ecryptfs_release() 304 static int ecryptfs_dir_release(struct inode *inode, struct file *file) in ecryptfs_dir_release() 312 static loff_t ecryptfs_dir_llseek(struct file *file, loff_t offset, int whence) in ecryptfs_dir_llseek() 318 ecryptfs_fsync(struct file *file, loff_t start, loff_t end, int datasync) in ecryptfs_fsync() [all …]
|
/fs/proc/ |
D | inode.c | 241 struct file *file; in close_pdeo() local 281 static loff_t proc_reg_llseek(struct file *file, loff_t offset, int whence) in proc_reg_llseek() 310 static ssize_t pde_read(struct proc_dir_entry *pde, struct file *file, char __user *buf, size_t cou… in pde_read() 320 static ssize_t proc_reg_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) in proc_reg_read() 334 static ssize_t pde_write(struct proc_dir_entry *pde, struct file *file, const char __user *buf, siz… in pde_write() 344 static ssize_t proc_reg_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) in proc_reg_write() 358 static __poll_t pde_poll(struct proc_dir_entry *pde, struct file *file, struct poll_table_struct *p… in pde_poll() 368 static __poll_t proc_reg_poll(struct file *file, struct poll_table_struct *pts) in proc_reg_poll() 382 static long pde_ioctl(struct proc_dir_entry *pde, struct file *file, unsigned int cmd, unsigned lon… in pde_ioctl() 392 static long proc_reg_unlocked_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in proc_reg_unlocked_ioctl() [all …]
|
D | kmsg.c | 20 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()
|
D | base.c | 370 static ssize_t proc_pid_cmdline_read(struct file *file, char __user *buf, in proc_pid_cmdline_read() 534 static int lstats_open(struct inode *inode, struct file *file) in lstats_open() 539 static ssize_t lstats_write(struct file *file, const char __user *buf, in lstats_write() 829 static int __mem_open(struct inode *inode, struct file *file, unsigned int mode) in __mem_open() 840 static int mem_open(struct inode *inode, struct file *file) in mem_open() 850 static ssize_t mem_rw(struct file *file, char __user *buf, in mem_rw() 905 static ssize_t mem_read(struct file *file, char __user *buf, in mem_read() 911 static ssize_t mem_write(struct file *file, const char __user *buf, in mem_write() 917 loff_t mem_lseek(struct file *file, loff_t offset, int orig) in mem_lseek() 933 static int mem_release(struct inode *inode, struct file *file) in mem_release() [all …]
|
D | fd.c | 25 struct file *file = NULL; in seq_show() local 92 static int seq_fdinfo_open(struct inode *inode, struct file *file) in seq_fdinfo_open() 111 struct file *file; in tid_fd_mode() local 241 static int proc_readfd_common(struct file *file, struct dir_context *ctx, in proc_readfd_common() 282 static int proc_readfd(struct file *file, struct dir_context *ctx) in proc_readfd() 355 static int proc_readfdinfo(struct file *file, struct dir_context *ctx) in proc_readfdinfo() 361 static int proc_open_fdinfo(struct inode *inode, struct file *file) in proc_open_fdinfo()
|
/fs/ |
D | file.c | 430 struct file * file = xchg(&fdt->fd[i], NULL); in close_files() local 602 void fd_install(unsigned int fd, struct file *file) in fd_install() 640 struct file *file; in pick_file() local 657 struct file *file; in close_fd() local 707 struct file *file; in __range_close() local 809 struct file *file; in close_fd_get_file() local 836 struct file *file; in do_close_on_exec() local 858 struct file *file; in __fget_files_rcu() local 911 struct file *file; in __fget_files() local 939 struct file *file = NULL; in fget_task() local [all …]
|
D | libfs.c | 81 int dcache_dir_open(struct inode *inode, struct file *file) in dcache_dir_open() 89 int dcache_dir_close(struct inode *inode, struct file *file) in dcache_dir_close() 138 loff_t dcache_dir_lseek(struct file *file, loff_t offset, int whence) in dcache_dir_lseek() 189 int dcache_readdir(struct file *file, struct dir_context *ctx) in dcache_readdir() 387 int simple_open(struct inode *inode, struct file *file) in simple_open() 543 static int simple_read_folio(struct file *file, struct folio *folio) in simple_read_folio() 552 int simple_write_begin(struct file *file, struct address_space *mapping, in simple_write_begin() 598 static int simple_write_end(struct file *file, struct address_space *mapping, in simple_write_end() 852 void simple_transaction_set(struct file *file, size_t n) in simple_transaction_set() 867 char *simple_transaction_get(struct file *file, const char __user *buf, size_t size) in simple_transaction_get() [all …]
|
D | eventfd.c | 121 static int eventfd_release(struct inode *inode, struct file *file) in eventfd_release() 130 static __poll_t eventfd_poll(struct file *file, poll_table *wait) in eventfd_poll() 228 struct file *file = iocb->ki_filp; in eventfd_read() local 272 static ssize_t eventfd_write(struct file *file, const char __user *buf, size_t count, in eventfd_write() 357 struct file *file; in eventfd_fget() local 401 struct eventfd_ctx *eventfd_ctx_fileget(struct file *file) in eventfd_ctx_fileget() 417 struct file *file; in do_eventfd() local
|
D | read_write.c | 37 static inline bool unsigned_offsets(struct file *file) in unsigned_offsets() 54 loff_t vfs_setpos(struct file *file, loff_t offset, loff_t maxsize) in vfs_setpos() 86 generic_file_llseek_size(struct file *file, loff_t offset, int whence, in generic_file_llseek_size() 144 loff_t generic_file_llseek(struct file *file, loff_t offset, int whence) in generic_file_llseek() 162 loff_t fixed_size_llseek(struct file *file, loff_t offset, int whence, loff_t size) in fixed_size_llseek() 181 loff_t no_seek_end_llseek(struct file *file, loff_t offset, int whence) in no_seek_end_llseek() 201 loff_t no_seek_end_llseek_size(struct file *file, loff_t offset, int whence, loff_t size) in no_seek_end_llseek_size() 224 loff_t noop_llseek(struct file *file, loff_t offset, int whence) in noop_llseek() 230 loff_t default_llseek(struct file *file, loff_t offset, int whence) in default_llseek() 285 loff_t vfs_llseek(struct file *file, loff_t offset, int whence) in vfs_llseek() [all …]
|
D | proc_namespace.c | 21 static __poll_t mounts_poll(struct file *file, poll_table *wait) in mounts_poll() 242 static int mounts_open_common(struct inode *inode, struct file *file, in mounts_open_common() 299 static int mounts_release(struct inode *inode, struct file *file) in mounts_release() 309 static int mounts_open(struct inode *inode, struct file *file) in mounts_open() 314 static int mountinfo_open(struct inode *inode, struct file *file) in mountinfo_open() 319 static int mountstats_open(struct inode *inode, struct file *file) in mountstats_open()
|
/fs/overlayfs/ |
D | file.c | 41 static struct file *ovl_open_realfile(const struct file *file, in ovl_open_realfile() 80 static int ovl_change_flags(struct file *file, unsigned int flags) in ovl_change_flags() 107 static int ovl_real_fdget_meta(const struct file *file, struct fd *real, in ovl_real_fdget_meta() 136 static int ovl_real_fdget(const struct file *file, struct fd *real) in ovl_real_fdget() 148 static int ovl_open(struct inode *inode, struct file *file) in ovl_open() 172 static int ovl_release(struct inode *inode, struct file *file) in ovl_release() 179 static loff_t ovl_llseek(struct file *file, loff_t offset, int whence) in ovl_llseek() 224 static void ovl_file_accessed(struct file *file) in ovl_file_accessed() 285 struct file *file = iocb->ki_filp; in ovl_read_iter() local 336 struct file *file = iocb->ki_filp; in ovl_write_iter() local [all …]
|
/fs/ceph/ |
D | ioctl.c | 17 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() 241 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/nfsd/ |
D | nfsctl.c | 101 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_proc_open(struct inode *inode, struct file *file) in exports_proc_open() 170 static int exports_nfsd_open(struct inode *inode, struct file *file) in exports_nfsd_open() 216 static inline struct net *netns(struct file *file) in netns() 235 static ssize_t write_unlock_ip(struct file *file, char *buf, size_t size) in write_unlock_ip() 274 static ssize_t write_unlock_fs(struct file *file, char *buf, size_t size) in write_unlock_fs() 331 static ssize_t write_filehandle(struct file *file, char *buf, size_t size) in write_filehandle() 413 static ssize_t write_threads(struct file *file, char *buf, size_t size) in write_threads() [all …]
|
/fs/smb/client/ |
D | cifs_debug.c | 532 static ssize_t cifs_stats_proc_write(struct file *file, in cifs_stats_proc_write() 665 static int cifs_stats_proc_open(struct inode *inode, struct file *file) in cifs_stats_proc_open() 812 static int cifsFYI_proc_open(struct inode *inode, struct file *file) in cifsFYI_proc_open() 817 static ssize_t cifsFYI_proc_write(struct file *file, const char __user *buffer, in cifsFYI_proc_write() 851 static int cifs_linux_ext_proc_open(struct inode *inode, struct file *file) in cifs_linux_ext_proc_open() 856 static ssize_t cifs_linux_ext_proc_write(struct file *file, in cifs_linux_ext_proc_write() 882 static int cifs_lookup_cache_proc_open(struct inode *inode, struct file *file) in cifs_lookup_cache_proc_open() 887 static ssize_t cifs_lookup_cache_proc_write(struct file *file, in cifs_lookup_cache_proc_write() 913 static int traceSMB_proc_open(struct inode *inode, struct file *file) in traceSMB_proc_open() 918 static ssize_t traceSMB_proc_write(struct file *file, const char __user *buffer, in traceSMB_proc_write() [all …]
|
/fs/fuse/ |
D | readdir.c | 34 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() 586 int fuse_readdir(struct file *file, struct dir_context *ctx) in fuse_readdir()
|
D | control.c | 23 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/ |
D | util.c | 381 const char *function, char *file, unsigned int line, in gfs2_assert_withdraw_i() 411 const char *function, char *file, unsigned int line) in gfs2_assert_warn_i() 441 char *file, unsigned int line) in gfs2_consist_i() 454 const char *function, char *file, unsigned int line) in gfs2_consist_inode_i() 474 const char *function, char *file, unsigned int line) in gfs2_consist_rgrpd_i() 498 const char *type, const char *function, char *file, in gfs2_meta_check_ii() 521 char *file, unsigned int line) in gfs2_metatype_check_ii() 541 int gfs2_io_error_i(struct gfs2_sbd *sdp, const char *function, char *file, in gfs2_io_error_i() 557 const char *function, char *file, unsigned int line, in gfs2_io_error_bh_i()
|
D | file.c | 57 static loff_t gfs2_llseek(struct file *file, loff_t offset, int whence) in gfs2_llseek() 104 static int gfs2_readdir(struct file *file, struct dir_context *ctx) in gfs2_readdir() 588 static int gfs2_mmap(struct file *file, struct vm_area_struct *vma) in gfs2_mmap() 623 int gfs2_open_common(struct inode *inode, struct file *file) in gfs2_open_common() 669 static int gfs2_open(struct inode *inode, struct file *file) in gfs2_open() 700 static int gfs2_release(struct inode *inode, struct file *file) in gfs2_release() 736 static int gfs2_fsync(struct file *file, loff_t start, loff_t end, in gfs2_fsync() 808 struct file *file = iocb->ki_filp; in gfs2_file_direct_read() local 871 struct file *file = iocb->ki_filp; in gfs2_file_direct_write() local 1008 struct file *file = iocb->ki_filp; in gfs2_file_buffered_write() local [all …]
|
/fs/dlm/ |
D | plock.c | 24 void *file; member 102 int dlm_posix_lock(dlm_lockspace_t *lockspace, u64 number, struct file *file, in dlm_posix_lock() 205 struct file *file; in dlm_plock_callback() local 252 int dlm_posix_unlock(dlm_lockspace_t *lockspace, u64 number, struct file *file, in dlm_posix_unlock() 320 int dlm_posix_get(dlm_lockspace_t *lockspace, u64 number, struct file *file, in dlm_posix_get() 382 static ssize_t dev_read(struct file *file, char __user *u, size_t count, in dev_read() 419 static ssize_t dev_write(struct file *file, const char __user *u, size_t count, in dev_write() 495 static __poll_t dev_poll(struct file *file, poll_table *wait) in dev_poll()
|
/fs/orangefs/ |
D | file.c | 51 int *index_return, struct file *file) in wait_for_direct_io() 358 struct file *file = vmf->vma->vm_file; in orangefs_fault() local 381 static int orangefs_file_mmap(struct file *file, struct vm_area_struct *vma) in orangefs_file_mmap() 408 static int orangefs_file_release(struct inode *inode, struct file *file) in orangefs_file_release() 436 static int orangefs_fsync(struct file *file, in orangefs_fsync() 477 static loff_t orangefs_file_llseek(struct file *file, loff_t offset, int origin) in orangefs_file_llseek() 532 static int orangefs_flush(struct file *file, fl_owner_t id) in orangefs_flush()
|
/fs/configfs/ |
D | file.c | 49 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/ocfs2/ |
D | locks.c | 22 static int ocfs2_do_flock(struct file *file, struct inode *inode, in ocfs2_do_flock() 81 static int ocfs2_do_funlock(struct file *file, int cmd, struct file_lock *fl) in ocfs2_do_funlock() 97 int ocfs2_flock(struct file *file, int cmd, struct file_lock *fl) in ocfs2_flock() 115 int ocfs2_lock(struct file *file, int cmd, struct file_lock *fl) in ocfs2_lock()
|
/fs/hfsplus/ |
D | inode.c | 26 static int hfsplus_read_folio(struct file *file, struct folio *folio) in hfsplus_read_folio() 46 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 220 static int hfsplus_file_open(struct inode *inode, struct file *file) in hfsplus_file_open() 230 static int hfsplus_file_release(struct inode *inode, struct file *file) in hfsplus_file_release() 305 int hfsplus_file_fsync(struct file *file, loff_t start, loff_t end, in hfsplus_file_fsync() 536 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/nfs/ |
D | file.c | 138 nfs_file_flush(struct file *file, fl_owner_t id) in nfs_file_flush() 181 nfs_file_mmap(struct file * file, struct vm_area_struct * vma) in nfs_file_mmap() 206 nfs_file_fsync_commit(struct file *file, int datasync) in nfs_file_fsync_commit() 222 nfs_file_fsync(struct file *file, loff_t start, loff_t end, int datasync) in nfs_file_fsync() 288 static bool nfs_want_read_modify_write(struct file *file, struct page *page, in nfs_want_read_modify_write() 315 static int nfs_write_begin(struct file *file, struct address_space *mapping, in nfs_write_begin() 348 static int nfs_write_end(struct file *file, struct address_space *mapping, in nfs_write_end() 475 static int nfs_swap_activate(struct swap_info_struct *sis, struct file *file, in nfs_swap_activate() 512 static void nfs_swap_deactivate(struct file *file) in nfs_swap_deactivate() 605 struct file *file = iocb->ki_filp; in nfs_file_write() local
|