| 105 | } |
| 106 | |
| 107 | static inline struct cache_entry *mem_pool__ce_calloc(struct mem_pool *mem_pool, size_t len) |
| 108 | { |
| 109 | struct cache_entry * ce; |
| 110 | ce = mem_pool_calloc(mem_pool, 1, cache_entry_size(len)); |
| 111 | ce->mem_pool_allocated = 1; |
| 112 | return ce; |
| 113 | } |
| 114 | |
| 115 | static struct mem_pool *find_mem_pool(struct index_state *istate) |
| 116 | { |
no test coverage detected