Lines Matching full:block
21 * One should ensure that the block is released to the same memory slab from
61 void *ptr[NUMBLOCKS]; /* Pointer to memory block */ in helper_thread()
80 * Free the first memory block. RegressionTask is currently blocked in helper_thread()
81 * waiting (with a timeout) for a memory block. Freeing the memory in helper_thread()
82 * block will unblock RegressionTask. in helper_thread()
84 TC_PRINT("(4) - Free a block in <%s> to unblock the other task " in helper_thread()
87 TC_PRINT("%s: About to free a memory block\n", __func__); in helper_thread()
93 TC_PRINT("(5) <%s> freeing the next block\n", __func__); in helper_thread()
94 TC_PRINT("%s: About to free another memory block\n", __func__); in helper_thread()
115 * Get all blocks from the memory slab. It also tries to get one more block
128 void *errptr; /* Pointer to block */ in test_slab_get_all_blocks()
135 /* Get memory block */ in test_slab_get_all_blocks()
147 /* Try to get one more block and it should fail */ in test_slab_get_all_blocks()
175 TC_PRINT(" block ptr to free p[%d] = %p\n", i, p[i]); in test_slab_free_all_blocks()
176 /* Free memory block */ in test_slab_free_all_blocks()
179 TC_PRINT("map_lgblks freed %d block\n", i + 1); in test_slab_free_all_blocks()
204 * timeout) for a memory block.
212 void *b; /* Pointer to memory block */ in ZTEST()
213 void *ptr[NUMBLOCKS]; /* Pointer to memory block */ in ZTEST()
236 * helper thread got all memory blocks. There is no free block left. in ZTEST()
248 TC_PRINT("%s: start to wait for block\n", __func__); in ZTEST()
257 TC_PRINT("%s: start to wait for block\n", __func__); in ZTEST()
267 /* Free memory block */ in ZTEST()
268 TC_PRINT("%s: Used %d block\n", __func__, in ZTEST()
271 TC_PRINT("%s: 1 block freed, used %d block\n", in ZTEST()