| 205 | } |
| 206 | |
| 207 | void *htable_prev_(const struct htable *ht, struct htable_iter *i) |
| 208 | { |
| 209 | for (;;) { |
| 210 | if (!i->off) |
| 211 | return NULL; |
| 212 | i->off--; |
| 213 | if (entry_is_valid(ht->table[i->off])) |
| 214 | return get_raw_ptr(ht, ht->table[i->off]); |
| 215 | } |
| 216 | } |
| 217 | |
| 218 | /* Another bit currently in mask needs to be exposed, so that a bucket with p in |
| 219 | * it won't appear invalid */ |
nothing calls this directly
no test coverage detected