| 97 | }; |
| 98 | |
| 99 | static inline struct cache_entry *mem_pool__ce_alloc(struct mem_pool *mem_pool, size_t len) |
| 100 | { |
| 101 | struct cache_entry *ce; |
| 102 | ce = mem_pool_alloc(mem_pool, cache_entry_size(len)); |
| 103 | ce->mem_pool_allocated = 1; |
| 104 | return ce; |
| 105 | } |
| 106 | |
| 107 | static inline struct cache_entry *mem_pool__ce_calloc(struct mem_pool *mem_pool, size_t len) |
| 108 | { |
no test coverage detected