* The pool will allocate chunks of at least @elts_per_chunk elements.
* Higher numbers lead to better allocation times but also to bigger
* unused memory blocks. Call @ep_delete() to free all pool's resources.
+ *
+ * Element pools can be treated as <<trans:respools,resources>>, see <<trans:res_eltpool()>>.
**/
struct eltpool *ep_new(uns elt_size, uns elts_per_chunk);
static inline void *ep_alloc(struct eltpool *pool)
{
pool->num_allocated++;
-#ifdef CONFIG_FAKE_ELTPOOL
+#ifdef CONFIG_UCW_FAKE_ELTPOOL
return xmalloc(pool->elt_size);
#else
struct eltpool_free *elt;
static inline void ep_free(struct eltpool *pool, void *p)
{
pool->num_allocated--;
-#ifdef CONFIG_FAKE_ELTPOOL
+#ifdef CONFIG_UCW_FAKE_ELTPOOL
(void) pool;
xfree(p);
#else