nuttx/mm/mm_gran
shichunma aeed361f4e mm/gran: reject pools with too many granules
struct gran_s and struct graninfo_s store granule counts in uint16_t.
Reject pools whose computed granule count exceeds UINT16_MAX,
instead of truncating the count and creating an invalid handle.

Signed-off-by: shichunma <shichunma@bestechnic.com>
2026-07-03 10:32:15 +08:00
..
CMakeLists.txt mm: migrate to SPDX identifier 2024-09-13 08:49:05 +08:00
Make.defs mm: migrate to SPDX identifier 2024-09-13 08:49:05 +08:00
mm_gran.h mm: migrate to SPDX identifier 2024-09-13 08:49:05 +08:00
mm_granalloc.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
mm_grancritical.c mm: migrate to SPDX identifier 2024-09-13 08:49:05 +08:00
mm_granfree.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
mm_graninfo.c mm: migrate to SPDX identifier 2024-09-13 08:49:05 +08:00
mm_graninit.c mm/gran: reject pools with too many granules 2026-07-03 10:32:15 +08:00
mm_granrelease.c mm: migrate to SPDX identifier 2024-09-13 08:49:05 +08:00
mm_granreserve.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
mm_grantable.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
mm_grantable.h style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
mm_pgalloc.c mm/gran: add gran_alloc_align API 2025-05-12 15:01:37 +08:00