* Check if the bitarray is full
*
* Only \a bitarray_len bits are tested.
+ *
+ * \param bitx BitArray to test
+ * \return True if \a bitx is full, false otherwise
*/
INLINE bool bitarray_isFull(BitArray *bitx)
{
* \param bitx BitArray context
* \param idx Starting bit
* \param offset Number of bits to test
+ * \return True if range is full, false otherwise
*/
INLINE bool bitarray_isRangeFull(BitArray *bitx, int idx, int offset)
{
* \param bitx BitArray context
* \param idx Starting bit
* \param offset Number of bits to test
+ * \return True if range is empty, false otherwise
*/
INLINE bool bitarray_isRangeEmpty(BitArray *bitx, int idx, int offset)
{
kprintf("..%02x [%d]\n", bitx->array[i / 8], i);
}
+int bitarray_firstSetBit(BitArray *bitx);
+
/**
* Init a BitArray.
*