Motr  M0
st_assert.h File Reference
#include "motr/client.h"
Include dependency graph for st_assert.h:

Go to the source code of this file.

Macros

#define __MOTR_ST_ASSERT_H__
 
#define ST_ASSERT_FATAL(a)
 

Functions

int st_cleaner_init (void)
 
void st_cleaner_fini (void)
 
bool st_is_cleaner_up (void)
 
void st_cleaner_enable (void)
 
void st_cleaner_disable (void)
 
void st_cleaner_empty_bin (void)
 
void st_mark_op (struct m0_op *op)
 
void st_unmark_op (struct m0_op *op)
 
void st_mark_entity (struct m0_entity *entity)
 
void st_unmark_entity (struct m0_entity *entity)
 
void st_mark_ptr (void *ptr)
 
void st_unmark_ptr (void *ptr)
 

Macro Definition Documentation

◆ __MOTR_ST_ASSERT_H__

#define __MOTR_ST_ASSERT_H__

Definition at line 26 of file st_assert.h.

◆ ST_ASSERT_FATAL

#define ST_ASSERT_FATAL (   a)
Value:
do { \
if (!st_assertimpl((a),#a,__FILE__,__LINE__,__func__))\
return; \
} while(0);
bool st_assertimpl(bool c, const char *str_c, const char *file, int lno, const char *func)
Definition: st_assert.c:93

Definition at line 31 of file st_assert.h.

Function Documentation

◆ st_cleaner_disable()

void st_cleaner_disable ( void  )

Definition at line 348 of file st_assert.c.

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

◆ st_cleaner_empty_bin()

void st_cleaner_empty_bin ( void  )

Definition at line 418 of file st_assert.c.

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

◆ st_cleaner_enable()

void st_cleaner_enable ( void  )

Definition at line 337 of file st_assert.c.

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

◆ st_cleaner_fini()

void st_cleaner_fini ( void  )

Definition at line 307 of file st_assert.c.

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

◆ st_cleaner_init()

int st_cleaner_init ( void  )

Definition at line 259 of file st_assert.c.

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

◆ st_is_cleaner_up()

bool st_is_cleaner_up ( void  )

Definition at line 326 of file st_assert.c.

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

◆ st_mark_entity()

void st_mark_entity ( struct m0_entity entity)

Definition at line 177 of file st_assert.c.

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

◆ st_mark_op()

void st_mark_op ( struct m0_op op)

Definition at line 131 of file st_assert.c.

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

◆ st_mark_ptr()

void st_mark_ptr ( void *  ptr)

Definition at line 218 of file st_assert.c.

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

◆ st_unmark_entity()

void st_unmark_entity ( struct m0_entity entity)

Definition at line 198 of file st_assert.c.

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

◆ st_unmark_op()

void st_unmark_op ( struct m0_op op)

Definition at line 156 of file st_assert.c.

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

◆ st_unmark_ptr()

void st_unmark_ptr ( void *  ptr)

Definition at line 239 of file st_assert.c.

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