7 struct pool_item *prev;
8 struct pool_item *next;
14 struct pool_item item;
16 void (*move)(struct pool_item *item, int new_base);
17 void (*move_up)(struct pool_item *item, int new_limit);
20 #define POOL_ALLOC_MODE_REALLOC 1
21 #define POOL_ALLOC_MODE_LAST_FIT 2
22 #define POOL_ALLOC_MODE_MOVEABLE 4
25 struct pool_head *head,
28 void (*move)(struct pool_item *item, int new_base),
29 void (*move_up)(struct pool_item *item, int new_limit)
32 struct pool_head *head,
33 struct pool_item *item,
38 void pool_free(struct pool_head *head, struct pool_item *item);