Lines Matching defs: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);
90 static int nfs42_proc_fallocate(struct rpc_message *msg, struct file *filep,
93 struct inode *inode = file_inode(filep);
99 lock = nfs_get_lock_context(nfs_file_open_context(filep));
111 err = _nfs42_proc_fallocate(msg, filep, lock, offset, len);
123 int nfs42_proc_allocate(struct file *filep, loff_t offset, loff_t len)
128 struct inode *inode = file_inode(filep);
136 err = nfs42_proc_fallocate(&msg, filep, offset, len);
144 int nfs42_proc_deallocate(struct file *filep, loff_t offset, loff_t len)
149 struct inode *inode = file_inode(filep);
157 err = nfs42_proc_fallocate(&msg, filep, offset, len);
631 static loff_t _nfs42_proc_llseek(struct file *filep,
634 struct inode *inode = file_inode(filep);
676 return vfs_setpos(filep, res.sr_offset, inode->i_sb->s_maxbytes);
679 loff_t nfs42_proc_llseek(struct file *filep, loff_t offset, int whence)
681 struct nfs_server *server = NFS_SERVER(file_inode(filep));
686 lock = nfs_get_lock_context(nfs_file_open_context(filep));
690 exception.inode = file_inode(filep);
694 err = _nfs42_proc_llseek(filep, lock, offset, whence);