| 193 | } |
| 194 | |
| 195 | void *htable_prev_(const struct htable *ht, struct htable_iter *i) |
| 196 | { |
| 197 | for (;;) { |
| 198 | if (!i->off) |
| 199 | return NULL; |
| 200 | i->off--; |
| 201 | if (entry_is_valid(ht->table[i->off])) |
| 202 | return get_raw_ptr(ht, ht->table[i->off]); |
| 203 | } |
| 204 | } |
| 205 | |
| 206 | /* Another bit currently in mask needs to be exposed, so that a bucket with p in |
| 207 | * it won't appear invalid */ |
nothing calls this directly
no test coverage detected