• Home
  • Raw
  • Download

Lines Matching refs:file

41 static int nfs_file_open(struct inode *, struct file *);
42 static int nfs_file_release(struct inode *, struct file *);
43 static loff_t nfs_file_llseek(struct file *file, loff_t offset, int origin);
44 static int nfs_file_mmap(struct file *, struct vm_area_struct *);
45 static ssize_t nfs_file_splice_read(struct file *filp, loff_t *ppos,
52 static int nfs_file_flush(struct file *, fl_owner_t id);
53 static int nfs_file_fsync(struct file *, struct dentry *dentry, int datasync);
55 static int nfs_lock(struct file *filp, int cmd, struct file_lock *fl);
56 static int nfs_flock(struct file *filp, int cmd, struct file_lock *fl);
57 static int nfs_setlease(struct file *file, long arg, struct file_lock **fl);
118 nfs_file_open(struct inode *inode, struct file *filp) in nfs_file_open()
136 nfs_file_release(struct inode *inode, struct file *filp) in nfs_file_release()
162 static int nfs_revalidate_file_size(struct inode *inode, struct file *filp) in nfs_revalidate_file_size()
179 static loff_t nfs_file_llseek(struct file *filp, loff_t offset, int origin) in nfs_file_llseek()
233 nfs_file_flush(struct file *file, fl_owner_t id) in nfs_file_flush() argument
235 struct nfs_open_context *ctx = nfs_file_open_context(file); in nfs_file_flush()
236 struct dentry *dentry = file->f_path.dentry; in nfs_file_flush()
244 if ((file->f_mode & FMODE_WRITE) == 0) in nfs_file_flush()
279 nfs_file_splice_read(struct file *filp, loff_t *ppos, in nfs_file_splice_read()
298 nfs_file_mmap(struct file * file, struct vm_area_struct * vma) in nfs_file_mmap() argument
300 struct dentry *dentry = file->f_path.dentry; in nfs_file_mmap()
307 status = nfs_revalidate_mapping(inode, file->f_mapping); in nfs_file_mmap()
311 file_accessed(file); in nfs_file_mmap()
322 nfs_file_fsync(struct file *file, struct dentry *dentry, int datasync) in nfs_file_fsync() argument
324 struct nfs_open_context *ctx = nfs_file_open_context(file); in nfs_file_fsync()
343 static int nfs_write_begin(struct file *file, struct address_space *mapping, in nfs_write_begin() argument
353 file->f_path.dentry->d_parent->d_name.name, in nfs_write_begin()
354 file->f_path.dentry->d_name.name, in nfs_write_begin()
362 ret = nfs_flush_incompatible(file, page); in nfs_write_begin()
370 static int nfs_write_end(struct file *file, struct address_space *mapping, in nfs_write_end() argument
378 file->f_path.dentry->d_parent->d_name.name, in nfs_write_end()
379 file->f_path.dentry->d_name.name, in nfs_write_end()
402 status = nfs_updatepage(file, page, offset, copied); in nfs_write_end()
456 struct file *filp = vma->vm_file; in nfs_vm_page_mkwrite()
494 static int nfs_need_sync_write(struct file *filp, struct inode *inode) in nfs_need_sync_write()
553 static int do_getlk(struct file *filp, int cmd, struct file_lock *fl) in do_getlk()
581 static int do_vfs_lock(struct file *file, struct file_lock *fl) in do_vfs_lock() argument
586 res = posix_lock_file_wait(file, fl); in do_vfs_lock()
589 res = flock_lock_file_wait(file, fl); in do_vfs_lock()
601 static int do_unlk(struct file *filp, int cmd, struct file_lock *fl) in do_unlk()
626 static int do_setlk(struct file *filp, int cmd, struct file_lock *fl) in do_setlk()
662 static int nfs_lock(struct file *filp, int cmd, struct file_lock *fl) in nfs_lock()
698 static int nfs_flock(struct file *filp, int cmd, struct file_lock *fl) in nfs_flock()
722 static int nfs_setlease(struct file *file, long arg, struct file_lock **fl) in nfs_setlease() argument
725 file->f_path.dentry->d_parent->d_name.name, in nfs_setlease()
726 file->f_path.dentry->d_name.name, arg); in nfs_setlease()