Re: [PATCH v9 1/2] lib/bitmap: add bitmap_{read,write}()

From: Andy Shevchenko
Date: Thu Oct 26 2023 - 08:16:52 EST


On Thu, Oct 26, 2023 at 03:15:40PM +0300, Andy Shevchenko wrote:
> On Wed, Oct 25, 2023 at 10:38:11AM +0200, Alexander Potapenko wrote:

...

> > * bitmap_to_arr64(buf, src, nbits) Copy nbits from buf to u64[] dst
> > * bitmap_get_value8(map, start) Get 8bit value from map at start
> > * bitmap_set_value8(map, value, start) Set 8bit value to map at start
> > + * bitmap_read(map, start, nbits) Read an nbits-sized value from
> > + * map at start
> > + * bitmap_write(map, value, start, nbits) Write an nbits-sized value to
> > + * map at start
>
> I still didn't get the grouping you implied with this...

Ah, sorry, I haven't noticed the descriptions are two-liners.

--
With Best Regards,
Andy Shevchenko