Lines Matching refs:filep
35 static int _nfs42_proc_fallocate(struct rpc_message *msg, struct file *filep, in _nfs42_proc_fallocate() argument
38 struct inode *inode = file_inode(filep); in _nfs42_proc_fallocate()
54 status = nfs42_set_rw_stateid(&args.falloc_stateid, filep, FMODE_WRITE); in _nfs42_proc_fallocate()
71 static int nfs42_proc_fallocate(struct rpc_message *msg, struct file *filep, in nfs42_proc_fallocate() argument
74 struct nfs_server *server = NFS_SERVER(file_inode(filep)); in nfs42_proc_fallocate()
79 err = _nfs42_proc_fallocate(msg, filep, offset, len); in nfs42_proc_fallocate()
88 int nfs42_proc_allocate(struct file *filep, loff_t offset, loff_t len) in nfs42_proc_allocate() argument
93 struct inode *inode = file_inode(filep); in nfs42_proc_allocate()
101 err = nfs42_proc_fallocate(&msg, filep, offset, len); in nfs42_proc_allocate()
109 int nfs42_proc_deallocate(struct file *filep, loff_t offset, loff_t len) in nfs42_proc_deallocate() argument
114 struct inode *inode = file_inode(filep); in nfs42_proc_deallocate()
123 err = nfs42_proc_fallocate(&msg, filep, offset, len); in nfs42_proc_deallocate()
133 loff_t nfs42_proc_llseek(struct file *filep, loff_t offset, int whence) in nfs42_proc_llseek() argument
135 struct inode *inode = file_inode(filep); in nfs42_proc_llseek()
154 status = nfs42_set_rw_stateid(&args.sa_stateid, filep, FMODE_READ); in nfs42_proc_llseek()
166 return vfs_setpos(filep, res.sr_offset, inode->i_sb->s_maxbytes); in nfs42_proc_llseek()