History

include/bitmap.h: add new functions to documentation

I found these functions only by chance although I was looking exactly for something like them. So, add them to the list of functions to make them more visible.

Wolfram Sang committed 6 years ago

Commit a392d261 parent 780d2a91 file · +6 −0Browse files

Showing the changes to include/linux (1 of 1 file). Show all

Unified · Split

include/linux/bitmap.h+6−0
@@ -51,6 +51,12 @@ · 50 unmodified lines
51 * bitmap_clear(dst, pos, nbits) Clear specified bit area51 * bitmap_clear(dst, pos, nbits) Clear specified bit area
52 * bitmap_find_next_zero_area(buf, len, pos, n, mask) Find bit free area52 * bitmap_find_next_zero_area(buf, len, pos, n, mask) Find bit free area
53 * bitmap_find_next_zero_area_off(buf, len, pos, n, mask, mask_off) as above53 * bitmap_find_next_zero_area_off(buf, len, pos, n, mask, mask_off) as above
54 * bitmap_next_clear_region(map, &start, &end, nbits) Find next clear region
55 * bitmap_next_set_region(map, &start, &end, nbits) Find next set region
56 * bitmap_for_each_clear_region(map, rs, re, start, end)
57 * Iterate over all clear regions
58 * bitmap_for_each_set_region(map, rs, re, start, end)
59 * Iterate over all set regions
54 * bitmap_shift_right(dst, src, n, nbits) *dst = *src >> n60 * bitmap_shift_right(dst, src, n, nbits) *dst = *src >> n
55 * bitmap_shift_left(dst, src, n, nbits) *dst = *src << n61 * bitmap_shift_left(dst, src, n, nbits) *dst = *src << n
56 * bitmap_cut(dst, src, first, n, nbits) Cut n bits from first, copy rest62 * bitmap_cut(dst, src, first, n, nbits) Cut n bits from first, copy rest