We tried to add this entry, but it looked invalid! We need to * let another pointer bit through mask */
| 261 | /* We tried to add this entry, but it looked invalid! We need to |
| 262 | * let another pointer bit through mask */ |
| 263 | static COLD void update_common_fix_invalid(struct htable *ht, const void *p, size_t h) |
| 264 | { |
| 265 | uintptr_t maskdiff; |
| 266 | |
| 267 | assert(ht->elems != 0); |
| 268 | |
| 269 | maskdiff = 0; |
| 270 | unset_another_common_bit(ht, &maskdiff, p); |
| 271 | fixup_table_common(ht, maskdiff); |
| 272 | |
| 273 | /* Now won't recurse */ |
| 274 | ht_add(ht, p, h); |
| 275 | } |
| 276 | |
| 277 | /* This does not expand the hash table, that's up to caller. */ |
| 278 | static void ht_add(struct htable *ht, const void *new, size_t h) |
no test coverage detected