Is the unrb empty in at least the first len bits? */
| 207 | |
| 208 | /* Is the unrb empty in at least the first len bits? */ |
| 209 | static inline bool |
| 210 | ub_empty(struct unrb *ub, int len) { |
| 211 | int first_set; |
| 212 | |
| 213 | bit_ffs(ub->map, len, &first_set); |
| 214 | return (first_set == -1); |
| 215 | } |
| 216 | |
| 217 | /* Is the unrb full? That is, is the number of set elements equal to len? */ |
| 218 | static inline bool |
no test coverage detected