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
..
2025-10-23 19:36:12 +01:00
2025-12-10 05:53:03 -07:00
2025-12-07 17:18:57 -07:00
2020-09-09 16:57:35 -04:00
2025-12-25 11:20:23 -07:00
2025-12-21 06:01:44 -07:00
2025-12-24 05:17:01 -07:00
2024-07-29 15:01:04 -06:00
2025-12-20 14:09:14 -07:00
2025-12-30 15:48:36 -07:00
2025-12-21 04:43:19 -07:00
2025-12-17 10:51:23 -07:00
2025-12-29 16:18:51 +00:00
2025-12-18 12:34:17 -07:00
2025-12-17 10:51:23 -07:00
2022-09-24 10:47:01 -04:00
2022-07-26 02:30:56 -06:00
2025-06-27 07:50:11 -06:00
2025-11-11 04:09:41 -07:00
2023-08-08 10:22:03 -04:00
2024-07-29 15:01:04 -06:00
2024-10-03 09:08:29 -06:00
2023-12-21 08:54:37 -05:00
2024-07-15 00:17:27 +01:00
2025-12-10 05:53:03 -07:00
2024-06-13 16:30:48 -06:00
2025-11-12 05:20:11 -07:00
2025-12-24 05:17:02 -07:00
2025-12-07 17:18:57 -07:00
2025-09-28 14:32:36 -06:00
2025-11-15 09:50:22 -07:00
2025-09-30 17:14:45 -06:00
2022-01-19 18:11:34 +01:00
2025-10-23 10:00:31 +01:00
2025-05-02 09:45:32 -06:00
2024-01-29 22:35:02 -05:00
2018-05-07 09:34:12 -04:00
2025-05-08 07:15:59 +02:00
2024-11-20 17:57:58 +01:00
2025-12-10 05:53:03 -07:00
2021-09-30 09:08:16 -04:00
2022-01-19 18:11:34 +01:00
2018-05-29 11:00:59 -04:00
2024-04-02 09:08:07 +02:00
2024-04-02 09:08:07 +02:00
2024-08-19 16:09:06 +09:00
2022-12-05 16:06:07 -05:00
2022-01-19 18:11:34 +01:00
2025-12-20 09:56:13 -07:00
2024-12-18 19:50:32 -07:00
2024-05-01 08:39:16 +02:00
2025-06-30 14:28:08 -06:00
2025-03-15 15:47:34 +00:00
2025-09-22 11:23:05 -06:00
2025-11-12 08:40:05 -07:00
2018-05-07 09:34:12 -04:00
2025-12-24 05:16:57 -07:00
2025-11-12 08:40:05 -07:00
2025-10-07 10:54:13 +00:00
2025-12-07 11:53:55 -07:00
2025-12-27 13:35:43 -07:00
2025-11-13 19:59:03 -07:00
2017-11-17 07:44:13 -05:00
2025-12-24 05:17:05 -07:00
2025-12-27 13:35:43 -07:00
2025-12-27 13:35:43 -07:00
2018-05-07 09:34:12 -04:00
2023-01-20 12:27:06 -05:00
2024-09-19 10:52:50 +03:00
2021-04-10 08:04:42 -04:00
2025-10-24 08:47:38 +01:00
2025-08-08 16:53:16 -06:00
2025-11-19 19:51:46 -07:00
2025-11-12 08:40:05 -07:00
2018-05-07 09:34:12 -04:00
2025-11-11 04:09:40 -07:00
2025-12-24 05:16:57 -07:00
2025-12-24 05:17:05 -07:00
2025-12-13 16:28:53 -07:00
2025-12-24 05:17:05 -07:00
2025-10-24 08:47:38 +01:00
2025-11-17 06:59:47 -07:00
2025-12-01 15:57:28 +00:00
2025-12-10 05:53:03 -07:00
2025-12-10 05:53:03 -07:00
2025-10-10 02:24:06 +01:00
2025-12-07 11:57:04 -07:00
2025-11-14 12:00:31 -07:00
2024-05-20 13:35:03 -06:00
2022-10-09 10:42:26 +02:00
2025-05-01 05:56:49 -06:00
2025-12-24 12:26:34 -07:00
2025-05-01 05:56:49 -06:00
2024-10-16 11:11:56 -06:00
2025-12-24 05:16:59 -07:00
2023-08-30 17:56:21 -04:00
2025-12-10 05:53:03 -07:00
2025-09-22 11:23:04 -06:00
2025-07-02 12:45:23 -06:00
2022-01-19 18:11:34 +01:00
2021-02-18 11:56:25 +01:00
2025-12-24 05:17:05 -07:00
2018-05-07 09:34:12 -04:00
2025-09-22 11:23:05 -06:00
2025-10-25 18:19:23 +01:00
2023-10-24 17:05:24 -04:00
2020-12-22 10:19:40 +08:00
2022-02-28 11:59:35 +05:30
2025-08-18 14:00:19 -06:00
2025-05-29 17:21:36 +01:00
2018-05-07 09:34:12 -04:00
2025-12-07 17:18:57 -07:00
2025-10-18 09:38:13 +01:00
2022-12-07 16:04:16 -05:00
2023-06-06 10:37:25 +02:00
2025-11-14 11:28:34 -07:00
2025-09-19 12:56:02 -06:00
2025-10-06 09:42:11 -06:00
2023-03-07 15:57:19 +01:00
2025-10-06 06:29:29 -06:00
2021-05-13 13:09:09 -04:00
2018-07-19 10:49:54 +02:00
2024-08-05 16:13:26 +02:00