Lines Matching refs:filep
25 static void nfs42_set_netaddr(struct file *filep, struct nfs42_netaddr *naddr)
27 struct nfs_client *clp = (NFS_SERVER(file_inode(filep)))->nfs_client;
44 static int _nfs42_proc_fallocate(struct rpc_message *msg, struct file *filep,
47 struct inode *inode = file_inode(filep);
99 static int nfs42_proc_fallocate(struct rpc_message *msg, struct file *filep,
102 struct inode *inode = file_inode(filep);
108 lock = nfs_get_lock_context(nfs_file_open_context(filep));
120 err = _nfs42_proc_fallocate(msg, filep, lock, offset, len);
132 int nfs42_proc_allocate(struct file *filep, loff_t offset, loff_t len)
137 struct inode *inode = file_inode(filep);
145 err = nfs42_proc_fallocate(&msg, filep, offset, len);
153 int nfs42_proc_deallocate(struct file *filep, loff_t offset, loff_t len)
158 struct inode *inode = file_inode(filep);
166 err = nfs42_proc_fallocate(&msg, filep, offset, len);
662 static loff_t _nfs42_proc_llseek(struct file *filep,
665 struct inode *inode = file_inode(filep);
708 return vfs_setpos(filep, res.sr_offset, inode->i_sb->s_maxbytes);
711 loff_t nfs42_proc_llseek(struct file *filep, loff_t offset, int whence)
713 struct nfs_server *server = NFS_SERVER(file_inode(filep));
718 lock = nfs_get_lock_context(nfs_file_open_context(filep));
722 exception.inode = file_inode(filep);
726 err = _nfs42_proc_llseek(filep, lock, offset, whence);