Lines Matching defs:pool_block
17 struct pool_block *blocks;
24 struct pool_block {
25 struct pool_block *prev,*next;
32 #define SIZEOF_POOLBLOCK (MEM_ALIGN(sizeof(struct pool_block)))
140 static void *pool_block_attach(struct allocfree_pool *apool, struct pool_block *block)
150 static struct pool_block *
153 struct pool_block *block = PTR_OFFSET(mem, -SIZEOF_POOLBLOCK);
177 struct pool_block *block = calloc(1, SIZEOF_POOLBLOCK + size);
191 struct pool_block *block = pool_block_detach(apool, mem);
210 struct pool_block *block = pool_block_detach(apool, mem);
219 block = (struct pool_block*)new_mem;
228 struct pool_block *block, *next;