@@ -101,7 +101,7 @@ static void zpool_put_driver(struct zpool_driver *driver)
101101
102102/**
103103 * zpool_has_pool() - Check if the pool driver is available
104- * @type The type of the zpool to check (e.g. zbud, zsmalloc)
104+ * @type: The type of the zpool to check (e.g. zbud, zsmalloc)
105105 *
106106 * This checks if the @type pool driver is available. This will try to load
107107 * the requested module, if needed, but there is no guarantee the module will
@@ -136,10 +136,10 @@ EXPORT_SYMBOL(zpool_has_pool);
136136
137137/**
138138 * zpool_create_pool() - Create a new zpool
139- * @type The type of the zpool to create (e.g. zbud, zsmalloc)
140- * @name The name of the zpool (e.g. zram0, zswap)
141- * @gfp The GFP flags to use when allocating the pool.
142- * @ops The optional ops callback.
139+ * @type: The type of the zpool to create (e.g. zbud, zsmalloc)
140+ * @name: The name of the zpool (e.g. zram0, zswap)
141+ * @gfp: The GFP flags to use when allocating the pool.
142+ * @ops: The optional ops callback.
143143 *
144144 * This creates a new zpool of the specified type. The gfp flags will be
145145 * used when allocating memory, if the implementation supports it. If the
@@ -201,7 +201,7 @@ struct zpool *zpool_create_pool(const char *type, const char *name, gfp_t gfp,
201201
202202/**
203203 * zpool_destroy_pool() - Destroy a zpool
204- * @pool The zpool to destroy.
204+ * @pool: The zpool to destroy.
205205 *
206206 * Implementations must guarantee this to be thread-safe,
207207 * however only when destroying different pools. The same
@@ -224,7 +224,7 @@ void zpool_destroy_pool(struct zpool *zpool)
224224
225225/**
226226 * zpool_get_type() - Get the type of the zpool
227- * @pool The zpool to check
227+ * @pool: The zpool to check
228228 *
229229 * This returns the type of the pool.
230230 *
@@ -239,10 +239,10 @@ const char *zpool_get_type(struct zpool *zpool)
239239
240240/**
241241 * zpool_malloc() - Allocate memory
242- * @pool The zpool to allocate from.
243- * @size The amount of memory to allocate.
244- * @gfp The GFP flags to use when allocating memory.
245- * @handle Pointer to the handle to set
242+ * @pool: The zpool to allocate from.
243+ * @size: The amount of memory to allocate.
244+ * @gfp: The GFP flags to use when allocating memory.
245+ * @handle: Pointer to the handle to set
246246 *
247247 * This allocates the requested amount of memory from the pool.
248248 * The gfp flags will be used when allocating memory, if the
@@ -261,8 +261,8 @@ int zpool_malloc(struct zpool *zpool, size_t size, gfp_t gfp,
261261
262262/**
263263 * zpool_free() - Free previously allocated memory
264- * @pool The zpool that allocated the memory.
265- * @handle The handle to the memory to free.
264+ * @pool: The zpool that allocated the memory.
265+ * @handle: The handle to the memory to free.
266266 *
267267 * This frees previously allocated memory. This does not guarantee
268268 * that the pool will actually free memory, only that the memory
@@ -280,9 +280,9 @@ void zpool_free(struct zpool *zpool, unsigned long handle)
280280
281281/**
282282 * zpool_shrink() - Shrink the pool size
283- * @pool The zpool to shrink.
284- * @pages The number of pages to shrink the pool.
285- * @reclaimed The number of pages successfully evicted.
283+ * @pool: The zpool to shrink.
284+ * @pages: The number of pages to shrink the pool.
285+ * @reclaimed: The number of pages successfully evicted.
286286 *
287287 * This attempts to shrink the actual memory size of the pool
288288 * by evicting currently used handle(s). If the pool was
@@ -304,9 +304,9 @@ int zpool_shrink(struct zpool *zpool, unsigned int pages,
304304
305305/**
306306 * zpool_map_handle() - Map a previously allocated handle into memory
307- * @pool The zpool that the handle was allocated from
308- * @handle The handle to map
309- * @mm How the memory should be mapped
307+ * @pool: The zpool that the handle was allocated from
308+ * @handle: The handle to map
309+ * @mm: How the memory should be mapped
310310 *
311311 * This maps a previously allocated handle into memory. The @mm
312312 * param indicates to the implementation how the memory will be
@@ -332,8 +332,8 @@ void *zpool_map_handle(struct zpool *zpool, unsigned long handle,
332332
333333/**
334334 * zpool_unmap_handle() - Unmap a previously mapped handle
335- * @pool The zpool that the handle was allocated from
336- * @handle The handle to unmap
335+ * @pool: The zpool that the handle was allocated from
336+ * @handle: The handle to unmap
337337 *
338338 * This unmaps a previously mapped handle. Any locks or other
339339 * actions that the implementation took in zpool_map_handle()
@@ -347,7 +347,7 @@ void zpool_unmap_handle(struct zpool *zpool, unsigned long handle)
347347
348348/**
349349 * zpool_get_total_size() - The total size of the pool
350- * @pool The zpool to check
350+ * @pool: The zpool to check
351351 *
352352 * This returns the total size in bytes of the pool.
353353 *
0 commit comments