zephyr/tests/subsys
Yuval Peress 3fd0a1508b rtio: fix bug in mempool release API
It was previously assumed that the 'sys_mem_blocks' struct would maintain
information about contiguous blocks allocated so the release API only
took the starting address. This led to an issue where allocating 2+
blocks would end up with a memory leak because any block not being the
first would never be released.

Add the buffer length as an argument so the correct number of blocks can
be released. Also, ammend the tests to match and verify.

Signed-off-by: Yuval Peress <peress@google.com>
2023-05-01 09:26:06 -05:00
..
canbus/isotp sys/util: extend usage of DIV_ROUND_UP 2023-04-12 16:42:29 +02:00
debug samples, tests, boards: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
dfu tests: dfu: img_util: Replace prj_<board> files with overlays 2023-03-20 10:18:32 +01:00
dsp/basicmath zdsp: add in-place operaton test for basicmath 2023-02-21 15:06:06 +01:00
edac device: remove redundant init functions 2023-04-19 10:00:25 +02:00
emul emul: Migrate all emulation use to use DT_HAS_ 2023-04-28 08:37:33 -05:00
fs tests/samples: Replace minimal libc malloc configs with common ones 2023-04-27 20:17:24 +09:00
input device: remove redundant init functions 2023-04-19 10:00:25 +02:00
ipc/ipc_service device: remove redundant init functions 2023-04-19 10:00:25 +02:00
jwt test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
logging tests/subsys/logging: Require a full C library 2023-04-27 20:18:11 +09:00
mgmt mgmt/mcumgr: Add tests for zcbor_map_decode_bulk_reset 2023-04-24 13:28:49 +02:00
modbus modbus: add user data for adu callback 2022-09-02 10:51:57 +02:00
openthread device: remove redundant init functions 2023-04-19 10:00:25 +02:00
pm tests: pm: stm32 soc power mgmt for nucleo_l476rg 2023-04-25 10:37:13 -07:00
portability tests: remove intel adsp cavs platforms from filters 2023-04-06 18:51:56 +02:00
rtio/rtio_api rtio: fix bug in mempool release API 2023-05-01 09:26:06 -05:00
sd tests: sd: remove subsys from test identifer 2023-03-10 14:01:59 +02:00
settings settings fcb: Increase buffer for mcu with large write block size 2023-01-26 22:50:40 +09:00
shell shell: fix MISRA 5.7 violations on struct shell 2023-04-14 12:21:08 +02:00
storage tests/samples: use integration_plaforms in more tests/samples 2022-11-29 16:03:23 +01:00
testsuite/fff_fake_contexts fff: Add fff_extensions.h, RETURN_HANDLED_CONTEXT() 2023-03-16 13:43:33 -04:00
tracing/tracing_api tests: tracing_api: move to new ztest API 2022-09-08 10:39:10 +02:00
usb all: Fix "#if IS_ENABLED(CONFIG_FOO)" occurrences 2022-12-21 10:09:23 +01:00
zbus tests: zbus: modify test identifiers to match component 2023-02-19 20:39:20 -05:00