summaryrefslogtreecommitdiffstats
path: root/src/util/slab.h
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2018-11-26 10:28:02 -0800
committerIan Romanick <[email protected]>2018-12-14 07:36:05 -0800
commita6b7d1151ca3a9e29aef4d79a8833ee77701e973 (patch)
tree2217d4fb06229b493a2ebd93e824a17b4857f49e /src/util/slab.h
parentba5402ec9ae347af50871f754ed8664d7d40658c (diff)
util/slab: Rename slab_mempool typed parameters to mempool
Now everything with type 'struct slab_child_pool *' is name pool, and everything with type 'struct slab_mempool *' is named mempool. Signed-off-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/util/slab.h')
-rw-r--r--src/util/slab.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/util/slab.h b/src/util/slab.h
index e83f8ec1a0e..5a25adaf7f4 100644
--- a/src/util/slab.h
+++ b/src/util/slab.h
@@ -84,11 +84,11 @@ struct slab_mempool {
struct slab_child_pool child;
};
-void slab_create(struct slab_mempool *pool,
+void slab_create(struct slab_mempool *mempool,
unsigned item_size,
unsigned num_items);
-void slab_destroy(struct slab_mempool *pool);
-void *slab_alloc_st(struct slab_mempool *pool);
-void slab_free_st(struct slab_mempool *pool, void *ptr);
+void slab_destroy(struct slab_mempool *mempool);
+void *slab_alloc_st(struct slab_mempool *mempool);
+void slab_free_st(struct slab_mempool *mempool, void *ptr);
#endif