Searched refs:NUMBLOCKS (Results 1 – 1 of 1) sorted by relevance
37 #define NUMBLOCKS 4 macro46 K_MEM_SLAB_DEFINE(map_lgblks, 1024, NUMBLOCKS, 4);61 void *ptr[NUMBLOCKS]; /* Pointer to memory block */ in helper_thread()69 TC_PRINT("(2) - Allocate %d blocks in <%s>\n", NUMBLOCKS, __func__); in helper_thread()100 for (int i = 2; i < NUMBLOCKS; i++) { in helper_thread()130 for (int i = 0; i < NUMBLOCKS; i++) { in test_slab_get_all_blocks()144 zassert_equal(k_mem_slab_num_used_get(&map_lgblks), NUMBLOCKS, in test_slab_get_all_blocks()170 for (int i = 0; i < NUMBLOCKS; i++) { in test_slab_free_all_blocks()172 zassert_equal(k_mem_slab_num_used_get(&map_lgblks), NUMBLOCKS - i, in test_slab_free_all_blocks()213 void *ptr[NUMBLOCKS]; /* Pointer to memory block */ in ZTEST()[all …]