| 118 | /* Allocate a bit string initialized with no bits set. */ |
| 119 | #ifdef _KERNEL |
| 120 | static inline bitstr_t * |
| 121 | bit_alloc(int _nbits, struct malloc_type *type, int flags) |
| 122 | { |
| 123 | return ((bitstr_t *)malloc(bitstr_size(_nbits), type, flags | M_ZERO)); |
| 124 | } |
| 125 | #else |
| 126 | static inline bitstr_t * |
| 127 | bit_alloc(int _nbits) |
no test coverage detected