bitmap: Add functions to set/clear ranges of bits
Add bitmap_zero_range() and bitmap_fill_range() functions which will set a contiguous range of bits in the bitmap to 0 or 1. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Showing
ccan/bitmap/bitmap.c
0 → 100644
Please register or sign in to comment