zephyr/lib
Krzysztof Sychla a51d3c0f74 kernel: heap: Add allocation metadata to allocated_bytes
The allocated_bytes were missing the allocation metadata. Because of that
the sum of free_bytes and allocated_bytes doesn't remain constant after
each allocation. This convention doesn't match glibc's behavior. This
commit changes the chunksz_to_bytes function to include the metadata in the
calculation. The analysis of the mallinfo2 function from glibc has been
done in #92392 Pull Request.

Signed-off-by: Krzysztof Sychla <ksychla@antmicro.com>
2025-07-07 10:08:58 -05:00
..
acpi lib: fix typo in multiple directories 2025-01-28 00:06:18 +01:00
cpp cpp: Add c++ version number 2025-02-10 15:57:26 +00:00
crc lib: crc: add CRC-32K/4.2 2025-04-14 09:49:02 +02:00
hash lib: hash: murmur3: Account for unaligned 32-bit access 2025-04-29 17:54:51 +02:00
heap kernel: heap: Add allocation metadata to allocated_bytes 2025-07-07 10:08:58 -05:00
libc lib: libc: fixed Kconfig typo 2025-06-30 17:38:17 -05:00
mem_blocks
min_heap lib: min_heap: Refactor heapify_up/down functions 2025-06-26 11:58:05 -04:00
net_buf lib: net_buf: remove deprecated net_buf_put() and net_buf_get() functions 2025-03-12 19:04:19 +01:00
open-amp openamp: enable address translation in CMake 2025-06-27 08:44:56 -10:00
os lib: os: zvfs: select: Fix warning about bitshifting signed value 2025-07-04 13:16:32 -05:00
posix posix: env: use sizeof void ptr instead of char ptr ptr 2025-06-26 10:50:56 -10:00
runtime
smf lib: smf: correct redundant ctx->executing assignment 2025-06-30 15:20:48 -05:00
utils lib: hex: remove unnecessary defensive programming 2025-06-11 10:25:14 -07:00
uuid lib: uuid: do not support UUID_v5 on TF-M platforms 2025-05-27 10:29:34 +02:00
CMakeLists.txt lib: min_heap: Add min-heap data structure 2025-06-07 13:29:24 +01:00
Kconfig lib: min_heap: Add min-heap data structure 2025-06-07 13:29:24 +01:00