Motr  M0
bob.c File Reference
#include "lib/ub.h"
#include "ut/ut.h"
#include "lib/tlist.h"
#include "lib/bob.h"
Include dependency graph for bob.c:

Go to the source code of this file.

Data Structures

struct  foo
 

Enumerations

enum  { N = 256 }
 
enum  { magix = 0xbeda551edcaca0ffULL }
 

Functions

 M0_TL_DESCR_DEFINE (foo, "foo-s", static, struct foo, f_linkage, f_magix, magix, 0)
 
 M0_TL_DEFINE (foo, static, struct foo)
 
 M0_BOB_DEFINE (static, &foo_bob, foo)
 
static void test_tlist_init (void)
 
static void test_bob_init (void)
 
static void test_bob_fini (void)
 
static void test_tlink_init (void)
 
static void test_tlink_fini (void)
 
static bool foo_check (const void *bob)
 
static void test_check (void)
 
static void test_bob_of (void)
 
void test_bob (void)
 

Variables

static struct m0_bob_type foo_bob
 
static struct foo F
 
static struct foo rank [N]
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator

Definition at line 28 of file bob.c.

◆ anonymous enum

anonymous enum
Enumerator
magix 

Definition at line 39 of file bob.c.

Function Documentation

◆ foo_check()

static bool foo_check ( const void *  bob)
static

Definition at line 90 of file bob.c.

Here is the caller graph for this function:

◆ M0_BOB_DEFINE()

M0_BOB_DEFINE ( static  ,
foo_bob,
foo   
)

◆ M0_TL_DEFINE()

M0_TL_DEFINE ( foo  ,
static  ,
struct foo   
)

◆ M0_TL_DESCR_DEFINE()

M0_TL_DESCR_DEFINE ( foo  ,
"foo-s ,
static  ,
struct foo  ,
f_linkage  ,
f_magix  ,
magix  ,
 
)

◆ test_bob()

void test_bob ( void  )

Definition at line 131 of file bob.c.

Here is the call graph for this function:

◆ test_bob_fini()

static void test_bob_fini ( void  )
static

Definition at line 69 of file bob.c.

Here is the caller graph for this function:

◆ test_bob_init()

static void test_bob_init ( void  )
static

Definition at line 62 of file bob.c.

Here is the caller graph for this function:

◆ test_bob_of()

static void test_bob_of ( void  )
static

Definition at line 119 of file bob.c.

Here is the caller graph for this function:

◆ test_check()

static void test_check ( void  )
static

Definition at line 97 of file bob.c.

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

◆ test_tlink_fini()

static void test_tlink_fini ( void  )
static

Definition at line 82 of file bob.c.

Here is the caller graph for this function:

◆ test_tlink_init()

static void test_tlink_init ( void  )
static

Definition at line 76 of file bob.c.

Here is the caller graph for this function:

◆ test_tlist_init()

static void test_tlist_init ( void  )
static

Definition at line 53 of file bob.c.

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

Variable Documentation

◆ F

struct foo F
static

Definition at line 48 of file bob.c.

◆ foo_bob

struct m0_bob_type foo_bob
static

Definition at line 47 of file bob.c.

◆ rank

struct foo rank[N]
static

Definition at line 49 of file bob.c.