Whamcloud - gitweb
LU-4517 tests: get params directly in _wait_osc_import_state
[fs/lustre-release.git] / lustre / llite / vvp_internal.h
index 42042a9..4b907b1 100644 (file)
@@ -1,6 +1,4 @@
-/* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
- * vim:expandtab:shiftwidth=8:tabstop=8:
- *
+/*
  * GPL HEADER START
  *
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  * GPL HEADER END
  */
 /*
- * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
+ * Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved.
  * Use is subject to license terms.
+ *
+ * Copyright (c) 2013, Intel Corporation.
  */
 /*
  * This file is part of Lustre, http://www.lustre.org/
 #include <cl_object.h>
 #include "llite_internal.h"
 
-int               vvp_io_init     (const struct lu_env *env,
-                                   struct cl_object *obj, struct cl_io *io);
-int               vvp_lock_init   (const struct lu_env *env,
-                                   struct cl_object *obj, struct cl_lock *lock,
-                                   const struct cl_io *io);
-struct cl_page   *vvp_page_init   (const struct lu_env *env,
-                                   struct cl_object *obj,
-                                   struct cl_page *page, cfs_page_t *vmpage);
+int vvp_io_init(const struct lu_env *env, struct cl_object *obj,
+               struct cl_io *io);
+int vvp_lock_init(const struct lu_env *env, struct cl_object *obj,
+                 struct cl_lock *lock, const struct cl_io *io);
+int vvp_page_init(const struct lu_env *env, struct cl_object *obj,
+                 struct cl_page *page, pgoff_t index);
 struct lu_object *vvp_object_alloc(const struct lu_env *env,
-                                   const struct lu_object_header *hdr,
-                                   struct lu_device *dev);
-
+                                  const struct lu_object_header *hdr,
+                                  struct lu_device *dev);
 struct ccc_object *cl_inode2ccc(struct inode *inode);
 
-extern cfs_mem_cache_t *vvp_page_kmem;
-extern cfs_mem_cache_t *vvp_thread_kmem;
+extern struct kmem_cache *vvp_thread_kmem;
 
 #endif /* VVP_INTERNAL_H */