Motr  M0
rmapi.c File Reference
#include "lib/types.h"
#include "lib/memory.h"
#include "lib/misc.h"
#include "ut/ut.h"
#include "lib/ub.h"
#include "lib/finject.h"
#include "rm/rm.h"
#include "rm/ut/rings.h"
#include "rm/ut/rmut.h"
Include dependency graph for rmapi.c:

Go to the source code of this file.

Functions

bool res_tlist_is_empty (const struct m0_tl *list)
 
bool res_tlist_contains (const struct m0_tl *list, const struct m0_rm_resource *res)
 
bool m0_rm_ur_tlist_contains (const struct m0_tl *list, const struct m0_rm_credit *credit)
 
bool m0_rm_ur_tlist_is_empty (const struct m0_tl *list)
 
static void credits_api_test (void)
 
static void owner_api_test (void)
 
static void res_api_test (void)
 
static void rt_api_test (void)
 
static void dom_api_test (void)
 
void rm_api_test (void)
 

Function Documentation

◆ credits_api_test()

static void credits_api_test ( void  )
static

Definition at line 46 of file rmapi.c.

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

◆ dom_api_test()

static void dom_api_test ( void  )
static

Definition at line 206 of file rmapi.c.

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

◆ m0_rm_ur_tlist_contains()

bool m0_rm_ur_tlist_contains ( const struct m0_tl list,
const struct m0_rm_credit credit 
)
Here is the caller graph for this function:

◆ m0_rm_ur_tlist_is_empty()

bool m0_rm_ur_tlist_is_empty ( const struct m0_tl list)
Here is the caller graph for this function:

◆ owner_api_test()

static void owner_api_test ( void  )
static

Definition at line 135 of file rmapi.c.

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

◆ res_api_test()

static void res_api_test ( void  )
static

Definition at line 166 of file rmapi.c.

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

◆ res_tlist_contains()

bool res_tlist_contains ( const struct m0_tl list,
const struct m0_rm_resource res 
)
Here is the caller graph for this function:

◆ res_tlist_is_empty()

bool res_tlist_is_empty ( const struct m0_tl list)
Here is the caller graph for this function:

◆ rm_api_test()

void rm_api_test ( void  )

Definition at line 219 of file rmapi.c.

Here is the call graph for this function:

◆ rt_api_test()

static void rt_api_test ( void  )
static

Definition at line 191 of file rmapi.c.

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