Lines Matching refs:filep

25 static void nfs42_set_netaddr(struct file *filep, struct nfs42_netaddr *naddr)  in nfs42_set_netaddr()  argument
27 struct nfs_client *clp = (NFS_SERVER(file_inode(filep)))->nfs_client; in nfs42_set_netaddr()
44 static int _nfs42_proc_fallocate(struct rpc_message *msg, struct file *filep, in _nfs42_proc_fallocate() argument
47 struct inode *inode = file_inode(filep); in _nfs42_proc_fallocate()
94 static int nfs42_proc_fallocate(struct rpc_message *msg, struct file *filep, in nfs42_proc_fallocate() argument
97 struct inode *inode = file_inode(filep); in nfs42_proc_fallocate()
103 lock = nfs_get_lock_context(nfs_file_open_context(filep)); in nfs42_proc_fallocate()
115 err = _nfs42_proc_fallocate(msg, filep, lock, offset, len); in nfs42_proc_fallocate()
127 int nfs42_proc_allocate(struct file *filep, loff_t offset, loff_t len) in nfs42_proc_allocate() argument
132 struct inode *inode = file_inode(filep); in nfs42_proc_allocate()
140 err = nfs42_proc_fallocate(&msg, filep, offset, len); in nfs42_proc_allocate()
148 int nfs42_proc_deallocate(struct file *filep, loff_t offset, loff_t len) in nfs42_proc_deallocate() argument
153 struct inode *inode = file_inode(filep); in nfs42_proc_deallocate()
161 err = nfs42_proc_fallocate(&msg, filep, offset, len); in nfs42_proc_deallocate()
653 static loff_t _nfs42_proc_llseek(struct file *filep, in _nfs42_proc_llseek() argument
656 struct inode *inode = file_inode(filep); in _nfs42_proc_llseek()
699 return vfs_setpos(filep, res.sr_offset, inode->i_sb->s_maxbytes); in _nfs42_proc_llseek()
702 loff_t nfs42_proc_llseek(struct file *filep, loff_t offset, int whence) in nfs42_proc_llseek() argument
704 struct nfs_server *server = NFS_SERVER(file_inode(filep)); in nfs42_proc_llseek()
709 lock = nfs_get_lock_context(nfs_file_open_context(filep)); in nfs42_proc_llseek()
713 exception.inode = file_inode(filep); in nfs42_proc_llseek()
717 err = _nfs42_proc_llseek(filep, lock, offset, whence); in nfs42_proc_llseek()