Lines Matching refs:alloconly_pool
15 struct alloconly_pool {
42 #define DEFAULT_BASE_SIZE MEM_ALIGN(sizeof(struct alloconly_pool))
62 static void block_alloc(struct alloconly_pool *pool, size_t size);
82 .alloconly_pool = TRUE,
122 struct alloconly_pool apool, *new_apool;
124 MEM_ALIGN(sizeof(struct alloconly_pool) + SENTRY_COUNT);
131 /* create a fake alloconly_pool so we can call block_alloc() */
140 /* now allocate the actual alloconly_pool from the created block */
141 new_apool = p_new(&apool.pool, struct alloconly_pool, 1);
151 /* set base_size so p_clear() doesn't trash alloconly_pool structure. */
163 struct alloconly_pool *apool;
167 apool = (struct alloconly_pool *)pool;
172 static void pool_alloconly_destroy(struct alloconly_pool *apool)
196 struct alloconly_pool *apool = (struct alloconly_pool *)pool;
206 struct alloconly_pool *apool = (struct alloconly_pool *)pool;
213 struct alloconly_pool *apool = (struct alloconly_pool *)*pool;
225 static void block_alloc(struct alloconly_pool *apool, size_t size)
268 struct alloconly_pool *apool = (struct alloconly_pool *)pool;
303 struct alloconly_pool *apool = (struct alloconly_pool *)pool;
315 static bool pool_try_grow(struct alloconly_pool *apool, void *mem, size_t size)
337 struct alloconly_pool *apool = (struct alloconly_pool *)pool;
364 struct alloconly_pool *apool = (struct alloconly_pool *)pool;
373 struct alloconly_pool allocation. */
404 struct alloconly_pool *apool = (struct alloconly_pool *)pool;
411 struct alloconly_pool *apool = (struct alloconly_pool *)pool;
424 struct alloconly_pool *apool = (struct alloconly_pool *)pool;