Fill to 87.5% */
| 88 | |
| 89 | /* Fill to 87.5% */ |
| 90 | static inline size_t ht_max(const struct htable *ht) |
| 91 | { |
| 92 | return ((size_t)7 << ht->bits) / 8; |
| 93 | } |
| 94 | |
| 95 | /* Clean deleted if we're full, and more than 12.5% deleted */ |
| 96 | static inline size_t ht_max_deleted(const struct htable *ht) |
no outgoing calls