Lines Matching refs:filep

40 static int _nfs42_proc_fallocate(struct rpc_message *msg, struct file *filep,  in _nfs42_proc_fallocate()  argument
43 struct inode *inode = file_inode(filep); in _nfs42_proc_fallocate()
59 status = nfs42_set_rw_stateid(&args.falloc_stateid, filep, FMODE_WRITE); in _nfs42_proc_fallocate()
76 static int nfs42_proc_fallocate(struct rpc_message *msg, struct file *filep, in nfs42_proc_fallocate() argument
79 struct nfs_server *server = NFS_SERVER(file_inode(filep)); in nfs42_proc_fallocate()
84 err = _nfs42_proc_fallocate(msg, filep, offset, len); in nfs42_proc_fallocate()
93 int nfs42_proc_allocate(struct file *filep, loff_t offset, loff_t len) in nfs42_proc_allocate() argument
98 struct inode *inode = file_inode(filep); in nfs42_proc_allocate()
106 err = nfs42_proc_fallocate(&msg, filep, offset, len); in nfs42_proc_allocate()
114 int nfs42_proc_deallocate(struct file *filep, loff_t offset, loff_t len) in nfs42_proc_deallocate() argument
119 struct inode *inode = file_inode(filep); in nfs42_proc_deallocate()
128 err = nfs42_proc_fallocate(&msg, filep, offset, len); in nfs42_proc_deallocate()
138 static loff_t _nfs42_proc_llseek(struct file *filep, loff_t offset, int whence) in _nfs42_proc_llseek() argument
140 struct inode *inode = file_inode(filep); in _nfs42_proc_llseek()
159 status = nfs42_set_rw_stateid(&args.sa_stateid, filep, FMODE_READ); in _nfs42_proc_llseek()
171 return vfs_setpos(filep, res.sr_offset, inode->i_sb->s_maxbytes); in _nfs42_proc_llseek()
174 loff_t nfs42_proc_llseek(struct file *filep, loff_t offset, int whence) in nfs42_proc_llseek() argument
176 struct nfs_server *server = NFS_SERVER(file_inode(filep)); in nfs42_proc_llseek()
181 err = _nfs42_proc_llseek(filep, offset, whence); in nfs42_proc_llseek()