Searched refs:memory_area (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/tests/lib/spsc_pbuf/src/ |
D | main.c | 28 static uint8_t memory_area[216] __aligned(MAX(Z_SPSC_PBUF_DCACHE_LINE, 4)); in test_spsc_pbuf_flags() local 35 (sizeof(memory_area) - offsetof(struct spsc_pbuf, ext.cache.data)) : in test_spsc_pbuf_flags() 36 (sizeof(memory_area) - offsetof(struct spsc_pbuf, ext.nocache.data))) - in test_spsc_pbuf_flags() 39 memset(memory_area, 0, sizeof(memory_area)); in test_spsc_pbuf_flags() 40 ib = spsc_pbuf_init(memory_area, sizeof(memory_area), flags); in test_spsc_pbuf_flags() 41 zassert_equal_ptr(ib, memory_area, NULL); in test_spsc_pbuf_flags() 65 ib = spsc_pbuf_init(memory_area, sizeof(memory_area), flags); in test_spsc_pbuf_flags() 66 zassert_equal_ptr(ib, memory_area, NULL); in test_spsc_pbuf_flags()
|
/Zephyr-latest/tests/subsys/ipc/pbuf/src/ |
D | main.c | 18 static char memory_area[MEM_AREA_SZ] __aligned(32); variable 51 static PBUF_MAYBE_CONST struct pbuf_cfg cfg = PBUF_CFG_INIT(memory_area, MEM_AREA_SZ, 0); in ZTEST() 118 static PBUF_MAYBE_CONST struct pbuf_cfg cfg0 = PBUF_CFG_INIT(memory_area, MEM_AREA_SZ, 32); in ZTEST() 119 static PBUF_MAYBE_CONST struct pbuf_cfg cfg1 = PBUF_CFG_INIT(memory_area, MEM_AREA_SZ, 0); in ZTEST() 120 static PBUF_MAYBE_CONST struct pbuf_cfg cfg2 = PBUF_CFG_INIT(memory_area, 20, 4); in ZTEST()
|