ck_bitmap: Add ck_bitmap_buffer function.

Returns a pointer to the buffer used to initialize
the bitmap.
ck_pring
Samy Al Bahra 13 years ago
parent e4bbd2d2e4
commit e88e17d27b

@ -142,4 +142,11 @@ ck_bitmap_test(struct ck_bitmap *bitmap, unsigned int n)
return block & mask; return block & mask;
} }
CK_CC_INLINE static void *
ck_bitmap_buffer(struct ck_bitmap *bitmap)
{
return bitmap->map;
}
#endif /* _CK_BITMAP_H */ #endif /* _CK_BITMAP_H */

Loading…
Cancel
Save