#include "echo_internal.h"
+/** \defgroup echo_client Echo Client
+ * @{
+ */
+
struct echo_device {
struct cl_device ed_cl;
struct echo_client_obd *ed_ec;
static int echo_client_cleanup(struct obd_device *obddev);
-/** \defgroup echo_helpers
+/** \defgroup echo_helpers Helper functions
* @{
*/
static inline struct echo_device *cl2echo_dev(const struct cl_device *dev)
}
};
-/** defgroup echo_page echo_page
+/** \defgroup echo_page Page operations
*
* Echo page operations.
*
};
/** @} echo_page */
-/** \defgroup echo_lock echo_lock
+/** \defgroup echo_lock Locking
*
* echo lock operations
*
/** @} echo_lock */
-/** \defgroup echo_cl_ops echo_cl_ops
+/** \defgroup echo_cl_ops cl_object operations
*
* operations for cl_object
*
};
/** @} echo_cl_ops */
-/** \defgroup echo_lu_ops echo_lu_ops
+/** \defgroup echo_lu_ops lu_object operations
*
* operations for echo lu object.
*
};
/** @} echo_lu_ops */
-/** \defgroup echo_lu_dev_ops
+/** \defgroup echo_lu_dev_ops lu_device operations
*
* Operations for echo lu device.
*
* @{
*/
static struct lu_object *echo_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 echo_object *eco;
struct lu_object *obj = NULL;
static struct cl_device_operations echo_device_cl_ops = {
};
-/** \defgroup echo_init echo_init
+/** \defgroup echo_init Setup and teardown
*
* Init and fini functions for echo client.
*
};
/** @} echo_init */
-/** \defgroup echo_exports
+/** \defgroup echo_exports Exported operations
*
* exporting functions to echo client
*
lu_kmem_fini(echo_caches);
}
+/** @} echo_client */