Motr  M0
list.c File Reference
#include "lib/trace.h"
#include "be/list.h"
#include "ut/ut.h"
#include "lib/misc.h"
#include "be/ut/helper.h"
Include dependency graph for list.c:

Go to the source code of this file.

Data Structures

struct  test
 

Macros

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_UT
 

Enumerations

enum  { TEST_MAGIC = 0x331fefefefefe177, TEST_LINK_MAGIC = 0x331acacacacac277 }
 

Functions

 M0_BE_LIST_DESCR_DEFINE (test, "test:m0-be-list", static, struct test, t_linkage, t_magic, TEST_MAGIC, TEST_LINK_MAGIC)
 
 M0_BE_LIST_DEFINE (test, static, struct test)
 
static void check (struct m0_be_list *list, struct m0_be_seg *seg)
 
static M0_UNUSED void print (struct m0_be_list *list)
 
M0_INTERNAL void m0_be_ut_list (void)
 

Macro Definition Documentation

◆ M0_TRACE_SUBSYSTEM

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_UT

Definition at line 23 of file list.c.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
TEST_MAGIC 
TEST_LINK_MAGIC 

Definition at line 37 of file list.c.

Function Documentation

◆ check()

static void check ( struct m0_be_list list,
struct m0_be_seg seg 
)
static

Definition at line 174 of file list.c.

Here is the caller graph for this function:

◆ M0_BE_LIST_DEFINE()

M0_BE_LIST_DEFINE ( test  ,
static  ,
struct test   
)

◆ M0_BE_LIST_DESCR_DEFINE()

M0_BE_LIST_DESCR_DEFINE ( test  ,
"test:m0-be-list ,
static  ,
struct test  ,
t_linkage  ,
t_magic  ,
TEST_MAGIC  ,
TEST_LINK_MAGIC   
)

◆ m0_be_ut_list()

M0_INTERNAL void m0_be_ut_list ( void  )

Definition at line 59 of file list.c.

Here is the call graph for this function:

◆ print()

static M0_UNUSED void print ( struct m0_be_list list)
static

Definition at line 186 of file list.c.

Here is the caller graph for this function: