MOS Source Code
Loading...
Searching...
No Matches
test_kmalloc.c File Reference
#include "test_engine_impl.h"
#include <mos_stdlib.h>
#include <mos_string.h>
+ Include dependency graph for test_kmalloc.c:

Go to the source code of this file.

Functions

static void kmalloc_single (mos_test_result_t *, bool *, bool *)
 
static void __mos_test_wrapped_test_kmalloc_single (mos_test_result_t *result)
 
 MOS_PUT_IN_SECTION (".mos.test_cases", mos_test_func_t, MOS_CONCAT(test_cases_kmalloc_single_L, __LINE__), { __mos_test_wrapped_test_kmalloc_single, "kmalloc_single" })
 
static void kmalloc_single (mos_test_result_t *_MT_result, __maybe_unused bool *_mt_test_skipped, __maybe_unused bool *_mt_loop_leave)
 
static void kmalloc_stress (mos_test_result_t *, bool *, bool *)
 
static void __mos_test_wrapped_test_kmalloc_stress (mos_test_result_t *result)
 
 MOS_PUT_IN_SECTION (".mos.test_cases", mos_test_func_t, MOS_CONCAT(test_cases_kmalloc_stress_L, __LINE__), { __mos_test_wrapped_test_kmalloc_stress, "kmalloc_stress" })
 
static void kmalloc_stress (mos_test_result_t *_MT_result, __maybe_unused bool *_mt_test_skipped, __maybe_unused bool *_mt_loop_leave)
 
static void kmalloc_large (mos_test_result_t *, bool *, bool *)
 
static void __mos_test_wrapped_test_kmalloc_large (mos_test_result_t *result)
 
 MOS_PUT_IN_SECTION (".mos.test_cases", mos_test_func_t, MOS_CONCAT(test_cases_kmalloc_large_L, __LINE__), { __mos_test_wrapped_test_kmalloc_large, "kmalloc_large" })
 
static void kmalloc_large (mos_test_result_t *_MT_result, __maybe_unused bool *_mt_test_skipped, __maybe_unused bool *_mt_loop_leave)
 
static void kmalloc_a_lot (mos_test_result_t *, bool *, bool *)
 
static void __mos_test_wrapped_test_kmalloc_a_lot (mos_test_result_t *result)
 
 MOS_PUT_IN_SECTION (".mos.test_cases", mos_test_func_t, MOS_CONCAT(test_cases_kmalloc_a_lot_L, __LINE__), { __mos_test_wrapped_test_kmalloc_a_lot, "kmalloc_a_lot" })
 
static void kmalloc_a_lot (mos_test_result_t *_MT_result, __maybe_unused bool *_mt_test_skipped, __maybe_unused bool *_mt_loop_leave)
 

Function Documentation

◆ kmalloc_single() [1/2]

static void kmalloc_single ( mos_test_result_t * ,
bool * ,
bool *  )
static

◆ __mos_test_wrapped_test_kmalloc_single()

static void __mos_test_wrapped_test_kmalloc_single ( mos_test_result_t * result)
static

Definition at line 8 of file test_kmalloc.c.

+ Here is the call graph for this function:

◆ MOS_PUT_IN_SECTION() [1/4]

MOS_PUT_IN_SECTION ( ".mos.test_cases" ,
mos_test_func_t ,
MOS_CONCAT(test_cases_kmalloc_single_L, __LINE__) ,
{ __mos_test_wrapped_test_kmalloc_single, "kmalloc_single" }  )

◆ kmalloc_single() [2/2]

static void kmalloc_single ( mos_test_result_t * _MT_result,
__maybe_unused bool * _mt_test_skipped,
__maybe_unused bool * _mt_loop_leave )
static

Definition at line 8 of file test_kmalloc.c.

◆ kmalloc_stress() [1/2]

static void kmalloc_stress ( mos_test_result_t * ,
bool * ,
bool *  )
static

◆ __mos_test_wrapped_test_kmalloc_stress()

static void __mos_test_wrapped_test_kmalloc_stress ( mos_test_result_t * result)
static

Definition at line 16 of file test_kmalloc.c.

+ Here is the call graph for this function:

◆ MOS_PUT_IN_SECTION() [2/4]

MOS_PUT_IN_SECTION ( ".mos.test_cases" ,
mos_test_func_t ,
MOS_CONCAT(test_cases_kmalloc_stress_L, __LINE__) ,
{ __mos_test_wrapped_test_kmalloc_stress, "kmalloc_stress" }  )

◆ kmalloc_stress() [2/2]

static void kmalloc_stress ( mos_test_result_t * _MT_result,
__maybe_unused bool * _mt_test_skipped,
__maybe_unused bool * _mt_loop_leave )
static

Definition at line 16 of file test_kmalloc.c.

◆ kmalloc_large() [1/2]

static void kmalloc_large ( mos_test_result_t * ,
bool * ,
bool *  )
static

◆ __mos_test_wrapped_test_kmalloc_large()

static void __mos_test_wrapped_test_kmalloc_large ( mos_test_result_t * result)
static

Definition at line 29 of file test_kmalloc.c.

+ Here is the call graph for this function:

◆ MOS_PUT_IN_SECTION() [3/4]

MOS_PUT_IN_SECTION ( ".mos.test_cases" ,
mos_test_func_t ,
MOS_CONCAT(test_cases_kmalloc_large_L, __LINE__) ,
{ __mos_test_wrapped_test_kmalloc_large, "kmalloc_large" }  )

◆ kmalloc_large() [2/2]

static void kmalloc_large ( mos_test_result_t * _MT_result,
__maybe_unused bool * _mt_test_skipped,
__maybe_unused bool * _mt_loop_leave )
static

Definition at line 29 of file test_kmalloc.c.

◆ kmalloc_a_lot() [1/2]

static void kmalloc_a_lot ( mos_test_result_t * ,
bool * ,
bool *  )
static

◆ __mos_test_wrapped_test_kmalloc_a_lot()

static void __mos_test_wrapped_test_kmalloc_a_lot ( mos_test_result_t * result)
static

Definition at line 47 of file test_kmalloc.c.

+ Here is the call graph for this function:

◆ MOS_PUT_IN_SECTION() [4/4]

MOS_PUT_IN_SECTION ( ".mos.test_cases" ,
mos_test_func_t ,
MOS_CONCAT(test_cases_kmalloc_a_lot_L, __LINE__) ,
{ __mos_test_wrapped_test_kmalloc_a_lot, "kmalloc_a_lot" }  )

◆ kmalloc_a_lot() [2/2]

static void kmalloc_a_lot ( mos_test_result_t * _MT_result,
__maybe_unused bool * _mt_test_skipped,
__maybe_unused bool * _mt_loop_leave )
static

Definition at line 47 of file test_kmalloc.c.