Simon Glass
104ee92c32
lib: linux: Add find_bit from Linux
...
Add lib/find_bit.c and include/linux/find.h from Linux v6.19, trimmed
to include only the functions needed for ext4l: find_first_bit(),
find_first_zero_bit(), find_next_bit(), find_next_zero_bit() and
find_last_bit()
The following items are removed from the Linux originals:
- find.h: _and_bit, _andnot_bit, _or_bit, _nth_bit variants, wrap
functions, clump8 functions, big-endian support, most for_each_...
macros
- find_bit.c: Corresponding implementations, random.h include
Add wrapper functions matching sandbox's asm/bitops.h declarations
(int return type, void* addr) that call the _find_* implementations.
Build find_bit.o only for sandbox for now.
Co-developed-by: Claude Opus 4.5 <noreply@anthropic.com >
Signed-off-by: Simon Glass <simon.glass@canonical.com >
2025-12-30 15:48:36 -07:00
..
2024-07-29 15:01:04 -06:00
2024-11-25 13:12:19 -06:00
2024-08-06 14:58:14 +02:00
2024-07-29 15:01:04 -06:00
2025-12-20 14:09:14 -07:00
2025-12-18 12:34:17 -07:00
2025-12-18 12:34:17 -07:00
2024-07-26 01:28:09 +02:00
2025-12-30 15:48:36 -07:00
2025-12-22 05:07:01 -07:00
2025-12-22 05:07:01 -07:00
2025-12-30 13:15:37 -07:00
2025-12-17 14:01:22 +00:00
2024-07-06 15:39:22 -03:00
2025-12-22 05:07:01 -07:00
2024-08-15 16:14:36 -06:00
2025-12-22 05:07:02 -07:00
2025-12-17 14:01:22 +00:00
2025-12-18 12:34:17 -07:00
2015-05-13 09:24:12 -07:00
2024-07-29 15:01:04 -06:00
2024-07-29 15:01:04 -06:00
2024-07-29 15:01:04 -06:00
2025-12-17 14:01:22 +00:00
2024-07-29 15:01:04 -06:00
2025-12-17 14:01:22 +00:00
2025-12-30 15:48:36 -07:00
2025-12-20 15:19:13 -07:00
2025-12-30 13:34:37 -07:00
2025-06-30 07:01:41 -06:00
2025-12-20 14:09:14 -07:00
2025-12-21 11:36:34 +00:00
2022-04-12 19:10:44 +02:00
2025-12-30 13:36:38 -07:00
2025-12-22 05:07:01 -07:00
2025-12-18 12:34:17 -07:00
2024-10-11 11:44:48 -06:00
2024-10-14 17:58:12 -06:00
2025-12-20 14:09:14 -07:00
2024-07-31 09:53:01 +02:00
2022-08-23 12:35:37 +02:00
2025-12-18 12:34:17 -07:00
2025-12-17 14:01:22 +00:00
2025-12-18 12:34:17 -07:00
2025-12-20 14:09:14 -07:00
2025-12-20 14:09:14 -07:00
2025-12-20 14:09:14 -07:00
2025-12-18 12:34:17 -07:00
2025-12-17 14:01:22 +00:00
2025-12-17 14:01:22 +00:00
2025-12-30 13:34:48 -07:00
2025-12-18 12:34:17 -07:00
2025-12-18 12:34:17 -07:00
2025-12-17 14:01:22 +00:00
2025-12-22 05:07:01 -07:00
2025-12-18 12:34:17 -07:00
2025-12-17 14:01:22 +00:00
2025-12-17 14:01:22 +00:00
2024-07-29 15:01:04 -06:00
2024-07-29 15:01:04 -06:00
2025-12-20 14:09:14 -07:00
2025-12-17 14:01:22 +00:00
2025-12-20 14:09:14 -07:00
2025-12-17 14:01:22 +00:00
2025-12-21 11:36:34 +00:00
2024-07-29 15:01:04 -06:00
2025-12-30 15:47:04 -07:00
2025-12-17 14:01:22 +00:00
2025-12-22 05:07:02 -07:00
2025-05-01 05:56:47 -06:00
2025-12-17 14:01:22 +00:00
2025-05-16 06:14:22 +02:00
2025-12-17 14:01:22 +00:00
2024-07-29 15:01:04 -06:00
2025-12-20 16:53:23 -07:00
2025-12-22 05:57:24 -07:00
2025-12-17 14:01:22 +00:00
2025-12-18 12:34:17 -07:00
2025-12-20 14:09:14 -07:00
2025-12-17 14:01:22 +00:00
2025-12-17 14:01:22 +00:00
2025-12-21 11:36:34 +00:00
2025-12-20 14:09:14 -07:00
2024-07-29 15:01:04 -06:00
2024-07-29 15:01:04 -06:00