| 221 | } |
| 222 | |
| 223 | static inline bitmap *bitmap_realloc0(bitmap *b, |
| 224 | unsigned long obits, unsigned long nbits) |
| 225 | { |
| 226 | b = realloc(b, bitmap_sizeof(nbits)); |
| 227 | |
| 228 | if ((nbits > obits) && b) |
| 229 | bitmap_zero_range(b, obits, nbits); |
| 230 | |
| 231 | return b; |
| 232 | } |
| 233 | |
| 234 | static inline bitmap *bitmap_realloc1(bitmap *b, |
| 235 | unsigned long obits, unsigned long nbits) |