|
| K_MEM_SLAB_DEFINE (kmslab, 16, 3, 8) |
|
void | tmslab_alloc_free (void *data) |
|
static void | tmslab_alloc_align (void *data) |
|
static void | tmslab_alloc_timeout (void *data) |
|
static void | tmslab_used_get (void *data) |
|
| K_SEM_DEFINE (SEM_HELPERDONE, 0, 1) |
|
| K_SEM_DEFINE (SEM_REGRESSDONE, 0, 1) |
|
static | K_THREAD_STACK_DEFINE (stack,(1024+CONFIG_TEST_EXTRA_STACKSIZE)) |
|
static void | helper_thread (void *p0, void *p1, void *p2) |
|
void | test_mslab_kinit (void) |
| Initialize the memory slab using k_mem_slab_init() and allocates/frees blocks. More...
|
|
void | test_mslab_kdefine (void) |
| Verify K_MEM_SLAB_DEFINE() with allocates/frees blocks. More...
|
|
void | test_mslab_alloc_free_thread (void) |
| Verify alloc and free of blocks from mem_slab. More...
|
|
void | test_mslab_alloc_align (void) |
| Allocate memory blocks and check for alignment of 8 bytes. More...
|
|
void | test_mslab_alloc_timeout (void) |
| Verify allocation of memory blocks with timeouts. More...
|
|
void | test_mslab_used_get (void) |
| Verify count of allocated blocks. More...
|
|
void | test_mslab_pending (void) |
| Verify pending of allocating blocks. More...
|
|