Re: [PATCH v7 1/8] bitops: Introduce the for_each_set_clump8 macro

2019-01-12 Thread Andy Shevchenko
On Sat, Jan 12, 2019 at 3:47 AM William Breathitt Gray wrote: > > This macro iterates for each 8-bit group of bits (clump) with set bits, > within a bitmap memory region. For each iteration, "start" is set to the > bit offset of the found clump, while the respective clump value is > stored to the

[PATCH v7 1/8] bitops: Introduce the for_each_set_clump8 macro

2019-01-11 Thread William Breathitt Gray
This macro iterates for each 8-bit group of bits (clump) with set bits, within a bitmap memory region. For each iteration, "start" is set to the bit offset of the found clump, while the respective clump value is stored to the location pointed by "clump". Additionally, the bitmap_get_value8 and bitm