We tried to add this entry, but it looked invalid! We need to * let another pointer bit through mask */
| 273 | /* We tried to add this entry, but it looked invalid! We need to |
| 274 | * let another pointer bit through mask */ |
| 275 | static COLD void update_common_fix_invalid(struct htable *ht, const void *p, size_t h) |
| 276 | { |
| 277 | uintptr_t maskdiff; |
| 278 | |
| 279 | assert(ht->elems != 0); |
| 280 | |
| 281 | maskdiff = 0; |
| 282 | unset_another_common_bit(ht, &maskdiff, p); |
| 283 | fixup_table_common(ht, maskdiff); |
| 284 | |
| 285 | /* Now won't recurse */ |
| 286 | ht_add(ht, p, h); |
| 287 | } |
| 288 | |
| 289 | /* This does not expand the hash table, that's up to caller. */ |
| 290 | static void ht_add(struct htable *ht, const void *new, size_t h) |
no test coverage detected