Lines Matching defs:pool
37 struct pool { struct
38 struct fio_mutex *lock; /* protects this pool */ argument
54 static struct pool mp[MAX_POOLS]; argument
59 static inline void pool_lock(struct pool *pool) in pool_lock()
64 static inline void pool_unlock(struct pool *pool) in pool_unlock()
89 static inline int ptr_valid(struct pool *pool, void *ptr) in ptr_valid()
101 static int blocks_iter(struct pool *pool, unsigned int pool_idx, in blocks_iter()
156 static int blocks_free(struct pool *pool, unsigned int pool_idx, in blocks_free()
162 static void set_blocks(struct pool *pool, unsigned int pool_idx, in set_blocks()
168 static void clear_blocks(struct pool *pool, unsigned int pool_idx, in clear_blocks()
181 static int add_pool(struct pool *pool, unsigned int alloc_size) in add_pool()
250 static void cleanup_pool(struct pool *pool) in cleanup_pool()
319 static void sfree_pool(struct pool *pool, void *ptr) in sfree_pool()
349 struct pool *pool = NULL; in sfree() local
370 static void *__smalloc_pool(struct pool *pool, size_t size) in __smalloc_pool()
425 static void *smalloc_pool(struct pool *pool, size_t size) in smalloc_pool()