Lines Matching full:blocks
34 /* Number of memory blocks. The minimum number of blocks needed to run the
53 * This routine gets all blocks from the memory slab. It uses semaphores
69 TC_PRINT("(2) - Allocate %d blocks in <%s>\n", NUMBLOCKS, __func__); in helper_thread()
98 * Free all the other blocks. The first 2 blocks are freed by this task in helper_thread()
103 TC_PRINT("%s: freed all blocks allocated by this task\n", __func__); in helper_thread()
113 * @brief Get all blocks from the memory slab
115 * Get all blocks from the memory slab. It also tries to get one more block
122 * @param p pointer to pointer of allocated blocks
131 /* Verify number of used blocks in the map */ in test_slab_get_all_blocks()
141 * Verify number of used blocks in the map - expect all blocks are in test_slab_get_all_blocks()
155 * @brief Free all memory blocks
157 * This routine frees all memory blocks and also verifies that the number of
158 * blocks used are correct.
164 * @param p pointer to pointer of allocated blocks
171 /* Verify number of used blocks in the map */ in test_slab_free_all_blocks()
184 * Verify number of used blocks in the map in test_slab_free_all_blocks()
185 * - should be 0 as no blocks are used in test_slab_free_all_blocks()
202 * memory blocks from the map and calls test_slab_free_all_blocks()
203 * to free all memory blocks. It also tries to wait (with and without
220 TC_PRINT("(1) - Allocate and free %d blocks " in ZTEST()
236 * helper thread got all memory blocks. There is no free block left. in ZTEST()