Home
last modified time | relevance | path

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

12345678910

/fs/
Dfile_table.c169 struct file *file; in alloc_file() local
198 int init_file(struct file *file, struct vfsmount *mnt, struct dentry *dentry, in init_file()
223 void fput(struct file *file) in fput()
239 void drop_file_write_access(struct file *file) in drop_file_write_access()
259 void __fput(struct file *file) in __fput()
298 struct file *file; in fget() local
326 struct file *file; in fget_light() local
349 void put_filp(struct file *file) in put_filp()
358 void file_move(struct file *file, struct list_head *list) in file_move()
367 void file_kill(struct file *file) in file_kill()
[all …]
Dread_write.c44 generic_file_llseek_unlocked(struct file *file, loff_t offset, int origin) in generic_file_llseek_unlocked()
88 loff_t generic_file_llseek(struct file *file, loff_t offset, int origin) in generic_file_llseek()
100 loff_t no_llseek(struct file *file, loff_t offset, int origin) in no_llseek()
106 loff_t default_llseek(struct file *file, loff_t offset, int origin) in default_llseek()
136 loff_t vfs_llseek(struct file *file, loff_t offset, int origin) in vfs_llseek()
153 struct file * file; in SYSCALL_DEFINE3() local
179 struct file * file; in SYSCALL_DEFINE5() local
215 int rw_verify_area(int read_write, struct file *file, loff_t *ppos, size_t count) in rw_verify_area()
277 ssize_t vfs_read(struct file *file, char __user *buf, size_t count, loff_t *pos) in vfs_read()
332 ssize_t vfs_write(struct file *file, const char __user *buf, size_t count, loff_t *pos) in vfs_write()
[all …]
Deventfd.c41 int eventfd_signal(struct file *file, int n) in eventfd_signal()
59 static int eventfd_release(struct inode *inode, struct file *file) in eventfd_release()
65 static unsigned int eventfd_poll(struct file *file, poll_table *wait) in eventfd_poll()
85 static ssize_t eventfd_read(struct file *file, char __user *buf, size_t count, in eventfd_read()
132 static ssize_t eventfd_write(struct file *file, const char __user *buf, size_t count, in eventfd_write()
188 struct file *file; in eventfd_fget() local
Dlibfs.c58 int simple_sync_file(struct file * file, struct dentry *dentry, int datasync) in simple_sync_file()
63 int dcache_dir_open(struct inode *inode, struct file *file) in dcache_dir_open()
72 int dcache_dir_close(struct inode *inode, struct file *file) in dcache_dir_close()
78 loff_t dcache_dir_lseek(struct file *file, loff_t offset, int origin) in dcache_dir_lseek()
330 int simple_readpage(struct file *file, struct page *page) in simple_readpage()
339 int simple_prepare_write(struct file *file, struct page *page, in simple_prepare_write()
351 int simple_write_begin(struct file *file, struct address_space *mapping, in simple_write_begin()
371 static int simple_commit_write(struct file *file, struct page *page, in simple_commit_write()
389 int simple_write_end(struct file *file, struct address_space *mapping, in simple_write_end()
577 char *simple_transaction_get(struct file *file, const char __user *buf, size_t size) in simple_transaction_get()
[all …]
Dtimerfd.c81 static int timerfd_release(struct inode *inode, struct file *file) in timerfd_release()
90 static unsigned int timerfd_poll(struct file *file, poll_table *wait) in timerfd_poll()
106 static ssize_t timerfd_read(struct file *file, char __user *buf, size_t count, in timerfd_read()
167 struct file *file; in timerfd_fget() local
214 struct file *file; in SYSCALL_DEFINE4() local
270 struct file *file; in SYSCALL_DEFINE2() local
/fs/nfsd/
Dnfsctl.c121 static ssize_t nfsctl_transaction_write(struct file *file, const char __user *buf, size_t size, lof… in nfsctl_transaction_write()
142 static ssize_t nfsctl_transaction_read(struct file *file, char __user *buf, size_t size, loff_t *po… in nfsctl_transaction_read()
162 static int exports_open(struct inode *inode, struct file *file) in exports_open()
196 static ssize_t write_svc(struct file *file, char *buf, size_t size) in write_svc()
229 static ssize_t write_add(struct file *file, char *buf, size_t size) in write_add()
262 static ssize_t write_del(struct file *file, char *buf, size_t size) in write_del()
298 static ssize_t write_export(struct file *file, char *buf, size_t size) in write_export()
332 static ssize_t write_unexport(struct file *file, char *buf, size_t size) in write_unexport()
366 static ssize_t write_getfs(struct file *file, char *buf, size_t size) in write_getfs()
428 static ssize_t write_getfd(struct file *file, char *buf, size_t size) in write_getfd()
[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()
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()
208 nlm_inspect_file(struct nlm_host *host, struct nlm_file *file, nlm_host_match_fn_t match) in nlm_inspect_file()
220 nlm_file_inuse(struct nlm_file *file) in nlm_file_inuse()
241 int (*is_failover_file)(void *data, struct nlm_file *file)) in nlm_traverse_files()
244 struct nlm_file *file; in nlm_traverse_files() local
285 nlm_release_file(struct nlm_file *file) in nlm_release_file()
[all …]
Dsvclock.c105 nlmsvc_lookup_block(struct nlm_file *file, struct nlm_lock *lock) in nlmsvc_lookup_block()
177 struct nlm_file *file, struct nlm_lock *lock, in nlmsvc_create_block()
249 struct nlm_file *file = block->b_file; in nlmsvc_free_block() local
276 struct nlm_file *file, in nlmsvc_traverse_blocks()
361 nlmsvc_lock(struct svc_rqst *rqstp, struct nlm_file *file, in nlmsvc_lock()
465 nlmsvc_testlock(struct svc_rqst *rqstp, struct nlm_file *file, in nlmsvc_testlock()
562 nlmsvc_unlock(struct nlm_file *file, struct nlm_lock *lock) in nlmsvc_unlock()
590 nlmsvc_cancel_blocked(struct nlm_file *file, struct nlm_lock *lock) in nlmsvc_cancel_blocked()
723 struct nlm_file *file = block->b_file; in nlmsvc_grant_blocked() local
/fs/cifs/
Dcifs_debug.c215 static int cifs_debug_data_proc_open(struct inode *inode, struct file *file) in cifs_debug_data_proc_open()
229 static ssize_t cifs_stats_proc_write(struct file *file, in cifs_stats_proc_write()
373 static int cifs_stats_proc_open(struct inode *inode, struct file *file) in cifs_stats_proc_open()
453 static int cifsFYI_proc_open(struct inode *inode, struct file *file) in cifsFYI_proc_open()
458 static ssize_t cifsFYI_proc_write(struct file *file, const char __user *buffer, in cifsFYI_proc_write()
492 static int cifs_oplock_proc_open(struct inode *inode, struct file *file) in cifs_oplock_proc_open()
497 static ssize_t cifs_oplock_proc_write(struct file *file, in cifs_oplock_proc_write()
529 static int cifs_experimental_proc_open(struct inode *inode, struct file *file) in cifs_experimental_proc_open()
534 static ssize_t cifs_experimental_proc_write(struct file *file, in cifs_experimental_proc_write()
568 static int cifs_linux_ext_proc_open(struct inode *inode, struct file *file) in cifs_linux_ext_proc_open()
[all …]
Dfile.c44 struct file *file, __u16 netfid) in cifs_init_private()
100 static inline int cifs_open_inode_helper(struct inode *inode, struct file *file, in cifs_open_inode_helper()
165 int cifs_open(struct inode *inode, struct file *file) in cifs_open()
347 static int cifs_reopen_file(struct file *file, bool can_flush) in cifs_reopen_file()
476 int cifs_close(struct inode *inode, struct file *file) in cifs_close()
574 int cifs_closedir(struct inode *inode, struct file *file) in cifs_closedir()
639 int cifs_lock(struct file *file, int cmd, struct file_lock *pfLock) in cifs_lock()
821 ssize_t cifs_user_write(struct file *file, const char __user *write_data, in cifs_user_write()
925 static ssize_t cifs_write(struct file *file, const char *write_data, in cifs_write()
1469 static int cifs_write_end(struct file *file, struct address_space *mapping, in cifs_write_end()
[all …]
/fs/smbfs/
Dfile.c32 smb_fsync(struct file *file, struct dentry * dentry, int datasync) in smb_fsync()
103 smb_readpage(struct file *file, struct page *page) in smb_readpage()
206 smb_updatepage(struct file *file, struct page *page, unsigned long offset, in smb_updatepage()
221 struct file * file = iocb->ki_filp; in smb_file_aio_read() local
245 smb_file_mmap(struct file * file, struct vm_area_struct * vma) in smb_file_mmap()
265 smb_file_splice_read(struct file *file, loff_t *ppos, in smb_file_splice_read()
295 static int smb_write_begin(struct file *file, struct address_space *mapping, in smb_write_begin()
306 static int smb_write_end(struct file *file, struct address_space *mapping, in smb_write_end()
343 struct file * file = iocb->ki_filp; in smb_file_aio_write() local
374 smb_file_open(struct inode *inode, struct file * file) in smb_file_open()
[all …]
/fs/gfs2/
Dutil.c65 const char *function, char *file, unsigned int line) in gfs2_assert_withdraw_i()
84 const char *function, char *file, unsigned int line) in gfs2_assert_warn_i()
114 char *file, unsigned int line) in gfs2_consist_i()
132 const char *function, char *file, unsigned int line) in gfs2_consist_inode_i()
154 const char *function, char *file, unsigned int line) in gfs2_consist_rgrpd_i()
175 const char *type, const char *function, char *file, in gfs2_meta_check_ii()
197 char *file, unsigned int line) in gfs2_metatype_check_ii()
216 int gfs2_io_error_i(struct gfs2_sbd *sdp, const char *function, char *file, in gfs2_io_error_i()
235 const char *function, char *file, unsigned int line) in gfs2_io_error_bh_i()
Dops_file.c55 static loff_t gfs2_llseek(struct file *file, loff_t offset, int origin) in gfs2_llseek()
83 static int gfs2_readdir(struct file *file, void *dirent, filldir_t filldir) in gfs2_readdir()
429 static int gfs2_mmap(struct file *file, struct vm_area_struct *vma) in gfs2_mmap()
457 static int gfs2_open(struct inode *inode, struct file *file) in gfs2_open()
506 static int gfs2_close(struct inode *inode, struct file *file) in gfs2_close()
541 static int gfs2_fsync(struct file *file, struct dentry *dentry, int datasync) in gfs2_fsync()
572 static int gfs2_setlease(struct file *file, long arg, struct file_lock **fl) in gfs2_setlease()
587 struct file *file, struct file_lock *fl) in gfs2_lm_plock_get()
597 struct file *file, int cmd, struct file_lock *fl) in gfs2_lm_plock()
607 struct file *file, struct file_lock *fl) in gfs2_lm_punlock()
[all …]
/fs/proc/
Dkmsg.c23 static int kmsg_open(struct inode * inode, struct file * file) in kmsg_open()
28 static int kmsg_release(struct inode * inode, struct file * file) in kmsg_release()
34 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.c137 static loff_t proc_reg_llseek(struct file *file, loff_t offset, int whence) in proc_reg_llseek()
172 static ssize_t proc_reg_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) in proc_reg_read()
194 static ssize_t proc_reg_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) in proc_reg_write()
216 static unsigned int proc_reg_poll(struct file *file, struct poll_table_struct *pts) in proc_reg_poll()
238 static long proc_reg_unlocked_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in proc_reg_unlocked_ioctl()
270 static long proc_reg_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in proc_reg_compat_ioctl()
293 static int proc_reg_mmap(struct file *file, struct vm_area_struct *vma) in proc_reg_mmap()
315 static int proc_reg_open(struct inode *inode, struct file *file) in proc_reg_open()
367 struct inode *inode, struct file *file) in find_pde_opener()
378 static int proc_reg_release(struct inode *inode, struct file *file) in proc_reg_release()
/fs/ecryptfs/
Dfile.c53 struct file *file = iocb->ki_filp; in ecryptfs_read_update_atime() local
113 static int ecryptfs_readdir(struct file *file, void *dirent, filldir_t filldir) in ecryptfs_readdir()
153 static int ecryptfs_open(struct inode *inode, struct file *file) in ecryptfs_open()
257 static int ecryptfs_flush(struct file *file, fl_owner_t td) in ecryptfs_flush()
268 static int ecryptfs_release(struct inode *inode, struct file *file) in ecryptfs_release()
276 ecryptfs_fsync(struct file *file, struct dentry *dentry, int datasync) in ecryptfs_fsync()
283 static int ecryptfs_fasync(int fd, struct file *file, int flag) in ecryptfs_fasync()
329 ecryptfs_ioctl(struct inode *inode, struct file *file, unsigned int cmd, in ecryptfs_ioctl()
/fs/fuse/
Dfile.c18 static int fuse_send_open(struct inode *inode, struct file *file, int isdir, in fuse_send_open()
101 void fuse_finish_open(struct inode *inode, struct file *file, in fuse_finish_open()
114 int fuse_open_common(struct inode *inode, struct file *file, int isdir) in fuse_open_common()
159 int fuse_release_common(struct inode *inode, struct file *file, int isdir) in fuse_release_common()
192 static int fuse_open(struct inode *inode, struct file *file) in fuse_open()
197 static int fuse_release(struct inode *inode, struct file *file) in fuse_release()
267 static int fuse_flush(struct file *file, fl_owner_t id) in fuse_flush()
317 int fuse_fsync_common(struct file *file, struct dentry *de, int datasync, in fuse_fsync_common()
369 static int fuse_fsync(struct file *file, struct dentry *de, int datasync) in fuse_fsync()
374 void fuse_read_fill(struct fuse_req *req, struct file *file, in fuse_read_fill()
[all …]
/fs/dlm/
Dplock.c34 void *file; member
73 int dlm_posix_lock(dlm_lockspace_t *lockspace, u64 number, struct file *file, in dlm_posix_lock()
149 struct file *file; in dlm_plock_callback() local
203 int dlm_posix_unlock(dlm_lockspace_t *lockspace, u64 number, struct file *file, in dlm_posix_unlock()
258 int dlm_posix_get(dlm_lockspace_t *lockspace, u64 number, struct file *file, in dlm_posix_get()
324 static ssize_t dev_read(struct file *file, char __user *u, size_t count, in dev_read()
351 static ssize_t dev_write(struct file *file, const char __user *u, size_t count, in dev_write()
393 static unsigned int dev_poll(struct file *file, poll_table *wait) in dev_poll()
/fs/afs/
Dproc.c184 static int afs_proc_cells_open(struct inode *inode, struct file *file) in afs_proc_cells_open()
249 static ssize_t afs_proc_cells_write(struct file *file, const char __user *buf, in afs_proc_cells_write()
326 static int afs_proc_rootcell_open(struct inode *inode, struct file *file) in afs_proc_rootcell_open()
331 static int afs_proc_rootcell_release(struct inode *inode, struct file *file) in afs_proc_rootcell_release()
336 static ssize_t afs_proc_rootcell_read(struct file *file, char __user *buf, in afs_proc_rootcell_read()
346 static ssize_t afs_proc_rootcell_write(struct file *file, in afs_proc_rootcell_write()
446 static int afs_proc_cell_volumes_open(struct inode *inode, struct file *file) in afs_proc_cell_volumes_open()
469 static int afs_proc_cell_volumes_release(struct inode *inode, struct file *file) in afs_proc_cell_volumes_release()
552 static int afs_proc_cell_vlservers_open(struct inode *inode, struct file *file) in afs_proc_cell_vlservers_open()
576 struct file *file) in afs_proc_cell_vlservers_release()
[all …]
Dflock.c254 static int afs_do_setlk(struct file *file, struct file_lock *fl) in afs_do_setlk()
442 static int afs_do_unlk(struct file *file, struct file_lock *fl) in afs_do_unlk()
477 static int afs_do_getlk(struct file *file, struct file_lock *fl) in afs_do_getlk()
517 int afs_lock(struct file *file, int cmd, struct file_lock *fl) in afs_lock()
540 int afs_flock(struct file *file, int cmd, struct file_lock *fl) in afs_flock()
/fs/hfsplus/
Dinode.c20 static int hfsplus_readpage(struct file *file, struct page *page) in hfsplus_readpage()
30 static int hfsplus_write_begin(struct file *file, struct address_space *mapping, in hfsplus_write_begin()
106 struct file *file = iocb->ki_filp; in hfsplus_direct_IO() local
241 static int hfsplus_file_open(struct inode *inode, struct file *file) in hfsplus_file_open()
251 static int hfsplus_file_release(struct inode *inode, struct file *file) in hfsplus_file_release()
423 struct hfsplus_cat_file *file = &entry.file; in hfsplus_cat_read_inode() local
494 struct hfsplus_cat_file *file = &entry.file; in hfsplus_cat_write_inode() local
501 struct hfsplus_cat_file *file = &entry.file; in hfsplus_cat_write_inode() local
/fs/ocfs2/
Dlocks.c39 static int ocfs2_do_flock(struct file *file, struct inode *inode, in ocfs2_do_flock()
93 static int ocfs2_do_funlock(struct file *file, int cmd, struct file_lock *fl) in ocfs2_do_funlock()
109 int ocfs2_flock(struct file *file, int cmd, struct file_lock *fl) in ocfs2_flock()
129 int ocfs2_lock(struct file *file, int cmd, struct file_lock *fl) in ocfs2_lock()
/fs/hpfs/
Dfile.c13 static int hpfs_file_release(struct inode *inode, struct file *file) in hpfs_file_release()
21 int hpfs_file_fsync(struct file *file, struct dentry *dentry, int datasync) in hpfs_file_fsync()
90 static int hpfs_readpage(struct file *file, struct page *page) in hpfs_readpage()
95 static int hpfs_write_begin(struct file *file, struct address_space *mapping, in hpfs_write_begin()
119 static ssize_t hpfs_file_write(struct file *file, const char __user *buf, in hpfs_file_write()
/fs/ncpfs/
Dfile.c26 static int ncp_fsync(struct file *file, struct dentry *dentry, int datasync) in ncp_fsync()
103 ncp_file_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) in ncp_file_read()
184 ncp_file_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) in ncp_file_write()
278 static int ncp_release(struct inode *inode, struct file *file) { in ncp_release()
285 static loff_t ncp_remote_llseek(struct file *file, loff_t offset, int origin) in ncp_remote_llseek()
/fs/jfs/
Dfile.c29 int jfs_fsync(struct file *file, struct dentry *dentry, int datasync) in jfs_fsync()
46 static int jfs_open(struct inode *inode, struct file *file) in jfs_open()
76 static int jfs_release(struct inode *inode, struct file *file) in jfs_release()

12345678910