Michal Nazarewicz 5e19b013f5 lib: bitmap: add alignment offset for bitmap_find_next_zero_area()
Add a bitmap_find_next_zero_area_off() function which works like
bitmap_find_next_zero_area() function except it allows an offset to be
specified when alignment is checked.  This lets caller request a bit such
that its number plus the offset is aligned according to the mask.

[gregory.0xf0@gmail.com: Retrieved from https://patchwork.linuxtv.org/patch/6254/ and updated documentation]
Signed-off-by: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Gregory Fong <gregory.0xf0@gmail.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: Kukjin Kim <kgene.kim@samsung.com>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Laura Abbott <lauraa@codeaurora.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2014-12-13 12:42:46 -08:00
..
2014-09-22 16:48:47 +09:00
2014-11-30 20:13:13 -08:00
2014-11-24 17:24:08 -05:00
2014-12-11 13:20:50 -08:00
2014-12-08 20:00:44 +01:00
2014-11-19 13:01:26 -05:00
2014-10-03 15:28:18 -06:00
2014-10-14 09:00:44 -06:00
2014-11-12 11:16:09 +01:00
2014-08-01 22:35:55 +08:00
2014-07-08 13:36:52 -07:00
2014-11-04 17:34:15 -08:00
2014-10-09 11:35:48 +03:00
2014-10-08 16:01:41 -04:00
2014-08-07 14:40:08 -04:00
2014-12-13 12:42:45 -08:00
2014-12-10 17:41:05 -08:00
2014-08-06 18:01:24 -07:00
2014-05-20 10:30:40 +09:00
2014-12-11 17:48:14 -08:00
2014-09-25 16:07:15 +02:00
2014-06-06 16:08:13 -07:00
2014-09-29 15:37:01 -04:00
2014-06-02 14:56:01 -07:00
2014-09-01 13:48:59 +02:00
2014-11-04 14:53:36 +01:00
2014-12-10 17:41:10 -08:00
2014-07-22 21:55:45 +01:00
2014-05-27 17:38:11 -07:00
2014-10-09 22:25:58 -04:00
2014-10-24 00:14:36 +02:00
2014-11-25 16:38:32 -05:00
2014-11-25 16:38:32 -05:00
2014-11-25 16:38:32 -05:00
2014-11-04 13:29:38 +00:00
2014-12-11 13:06:58 -08:00
2014-06-10 14:35:22 -07:00
2014-12-11 18:15:33 -08:00
2014-07-09 14:58:37 +01:00
2014-08-26 13:45:56 -04:00
2014-12-08 20:00:44 +01:00
2014-12-08 20:00:44 +01:00
2014-08-08 15:57:26 -07:00
2014-08-08 15:57:31 -07:00
2014-06-12 00:21:11 -04:00
2014-06-04 16:53:57 -07:00
2014-08-08 15:57:24 -07:00
2014-06-04 16:53:56 -07:00
2014-12-09 16:29:11 -05:00
2014-09-23 21:40:48 -07:00
2014-08-08 15:57:22 -07:00
2014-11-28 16:08:16 +01:00
2014-09-16 15:02:55 -06:00
2014-12-09 12:05:24 +02:00
2014-12-09 21:42:00 +02:00
2014-06-04 16:53:57 -07:00