Motr  M0
stob.c File Reference
#include "be/ut/helper.h"
#include "lib/errno.h"
#include "lib/memory.h"
#include "lib/semaphore.h"
#include "module/instance.h"
#include "ut/ut.h"
#include "ut/stob.h"
#include "ut/threads.h"
#include "stob/ad.h"
#include "stob/domain.h"
#include "stob/stob.h"
Include dependency graph for stob.c:

Go to the source code of this file.

Data Structures

struct  stob_ut_ctx
 

Enumerations

enum  { M0_STOB_UT_STOB_NR = 0x04, M0_STOB_UT_THREADS_PER_STOB = 0x04, M0_STOB_UT_THREAD_NR }
 

Functions

static void stob_ut_stob_thread (void *param)
 
 M0_UT_THREADS_DEFINE (stob_ut_stob, stob_ut_stob_thread)
 
static void stob_ut_stob_multi (struct m0_be_ut_backend *ut_be, const char *location, const char *dom_cfg, const char *dom_init_cfg, const char *stob_cfg, int thread_nr, int stob_nr)
 
static void stob_ut_stob_single (struct m0_be_ut_backend *ut_be, const char *location, const char *dom_cfg, const char *dom_init_cfg, const char *stob_cfg)
 
void m0_stob_ut_stob_null (void)
 
void m0_stob_ut_stob_linux (void)
 
void m0_stob_ut_stob_perf (void)
 
void m0_stob_ut_stob_perf_null (void)
 
void m0_stob_ut_ad_init (struct m0_be_ut_backend *ut_be, struct m0_be_ut_seg *ut_seg)
 
void m0_stob_ut_ad_fini (struct m0_be_ut_backend *ut_be, struct m0_be_ut_seg *ut_seg)
 
void m0_stob_ut_stob_ad (void)
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
M0_STOB_UT_STOB_NR 
M0_STOB_UT_THREADS_PER_STOB 
M0_STOB_UT_THREAD_NR 

Definition at line 36 of file stob.c.

Function Documentation

◆ m0_stob_ut_ad_init()

void m0_stob_ut_ad_init ( struct m0_be_ut_backend ut_be,
struct m0_be_ut_seg ut_seg 
)
Here is the caller graph for this function:

◆ m0_stob_ut_stob_ad()

void m0_stob_ut_stob_ad ( void  )

Definition at line 278 of file stob.c.

Here is the call graph for this function:

◆ m0_stob_ut_stob_linux()

void m0_stob_ut_stob_linux ( void  )

Definition at line 252 of file stob.c.

Here is the call graph for this function:

◆ m0_stob_ut_stob_null()

void m0_stob_ut_stob_null ( void  )

Definition at line 243 of file stob.c.

Here is the call graph for this function:

◆ m0_stob_ut_stob_perf()

void m0_stob_ut_stob_perf ( void  )

Definition at line 259 of file stob.c.

Here is the call graph for this function:

◆ m0_stob_ut_stob_perf_null()

void m0_stob_ut_stob_perf_null ( void  )

Definition at line 266 of file stob.c.

Here is the call graph for this function:

◆ M0_UT_THREADS_DEFINE()

M0_UT_THREADS_DEFINE ( stob_ut_stob  ,
stob_ut_stob_thread   
)

◆ stob_ut_stob_multi()

static void stob_ut_stob_multi ( struct m0_be_ut_backend ut_be,
const char *  location,
const char *  dom_cfg,
const char *  dom_init_cfg,
const char *  stob_cfg,
int  thread_nr,
int  stob_nr 
)
static

Definition at line 114 of file stob.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ stob_ut_stob_single()

static void stob_ut_stob_single ( struct m0_be_ut_backend ut_be,
const char *  location,
const char *  dom_cfg,
const char *  dom_init_cfg,
const char *  stob_cfg 
)
static

Definition at line 172 of file stob.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ stob_ut_stob_thread()

static void stob_ut_stob_thread ( void *  param)
static

Definition at line 53 of file stob.c.

Here is the call graph for this function: