|
@@ -201,7 +201,7 @@ struct zpool *zpool_create_pool(const char *type, const char *name, gfp_t gfp,
|
|
|
|
|
|
/**
|
|
|
* zpool_destroy_pool() - Destroy a zpool
|
|
|
- * @pool: The zpool to destroy.
|
|
|
+ * @zpool: The zpool to destroy.
|
|
|
*
|
|
|
* Implementations must guarantee this to be thread-safe,
|
|
|
* however only when destroying different pools. The same
|
|
@@ -224,7 +224,7 @@ void zpool_destroy_pool(struct zpool *zpool)
|
|
|
|
|
|
/**
|
|
|
* zpool_get_type() - Get the type of the zpool
|
|
|
- * @pool: The zpool to check
|
|
|
+ * @zpool: The zpool to check
|
|
|
*
|
|
|
* This returns the type of the pool.
|
|
|
*
|
|
@@ -239,7 +239,7 @@ const char *zpool_get_type(struct zpool *zpool)
|
|
|
|
|
|
/**
|
|
|
* zpool_malloc() - Allocate memory
|
|
|
- * @pool: The zpool to allocate from.
|
|
|
+ * @zpool: The zpool to allocate from.
|
|
|
* @size: The amount of memory to allocate.
|
|
|
* @gfp: The GFP flags to use when allocating memory.
|
|
|
* @handle: Pointer to the handle to set
|
|
@@ -261,7 +261,7 @@ int zpool_malloc(struct zpool *zpool, size_t size, gfp_t gfp,
|
|
|
|
|
|
/**
|
|
|
* zpool_free() - Free previously allocated memory
|
|
|
- * @pool: The zpool that allocated the memory.
|
|
|
+ * @zpool: The zpool that allocated the memory.
|
|
|
* @handle: The handle to the memory to free.
|
|
|
*
|
|
|
* This frees previously allocated memory. This does not guarantee
|
|
@@ -280,7 +280,7 @@ void zpool_free(struct zpool *zpool, unsigned long handle)
|
|
|
|
|
|
/**
|
|
|
* zpool_shrink() - Shrink the pool size
|
|
|
- * @pool: The zpool to shrink.
|
|
|
+ * @zpool: The zpool to shrink.
|
|
|
* @pages: The number of pages to shrink the pool.
|
|
|
* @reclaimed: The number of pages successfully evicted.
|
|
|
*
|
|
@@ -304,11 +304,11 @@ int zpool_shrink(struct zpool *zpool, unsigned int pages,
|
|
|
|
|
|
/**
|
|
|
* zpool_map_handle() - Map a previously allocated handle into memory
|
|
|
- * @pool: The zpool that the handle was allocated from
|
|
|
+ * @zpool: The zpool that the handle was allocated from
|
|
|
* @handle: The handle to map
|
|
|
- * @mm: How the memory should be mapped
|
|
|
+ * @mapmode: How the memory should be mapped
|
|
|
*
|
|
|
- * This maps a previously allocated handle into memory. The @mm
|
|
|
+ * This maps a previously allocated handle into memory. The @mapmode
|
|
|
* param indicates to the implementation how the memory will be
|
|
|
* used, i.e. read-only, write-only, read-write. If the
|
|
|
* implementation does not support it, the memory will be treated
|
|
@@ -332,7 +332,7 @@ void *zpool_map_handle(struct zpool *zpool, unsigned long handle,
|
|
|
|
|
|
/**
|
|
|
* zpool_unmap_handle() - Unmap a previously mapped handle
|
|
|
- * @pool: The zpool that the handle was allocated from
|
|
|
+ * @zpool: The zpool that the handle was allocated from
|
|
|
* @handle: The handle to unmap
|
|
|
*
|
|
|
* This unmaps a previously mapped handle. Any locks or other
|
|
@@ -347,7 +347,7 @@ void zpool_unmap_handle(struct zpool *zpool, unsigned long handle)
|
|
|
|
|
|
/**
|
|
|
* zpool_get_total_size() - The total size of the pool
|
|
|
- * @pool: The zpool to check
|
|
|
+ * @zpool: The zpool to check
|
|
|
*
|
|
|
* This returns the total size in bytes of the pool.
|
|
|
*
|