|
Motr
M0
|
#include <unistd.h>#include <errno.h>#include "motr/client.h"#include "motr/st/st.h"#include "motr/st/st_assert.h"#include "motr/st/st_misc.h"
Go to the source code of this file.
Data Structures | |
| struct | st_cleaning_bin |
Enumerations | |
| enum | { ST_MAX_OP_NUM = 4096, ST_MAX_ENTITY_NUM = 4096, ST_MAX_PTR_NUM = 4096 } |
Functions | |
| bool | st_assertimpl (bool c, const char *str_c, const char *file, int lno, const char *func) |
| static struct st_cleaning_bin * | get_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) |
| int | st_cleaner_init () |
| void | st_cleaner_fini () |
| bool | st_is_cleaner_up () |
| void | st_cleaner_enable () |
| void | st_cleaner_disable () |
| static void | release_op (struct m0_op *op) |
| void | st_cleaner_empty_bin () |
Variables | |
| static bool | st_cleaner_up_flags [ST_MAX_WORKER_NUM] |
| static struct st_cleaning_bin | worker_bins [ST_MAX_WORKER_NUM] |
| anonymous enum |
| Enumerator | |
|---|---|
| ST_MAX_OP_NUM | |
| ST_MAX_ENTITY_NUM | |
| ST_MAX_PTR_NUM | |
Definition at line 86 of file st_assert.c.
|
inlinestatic |
Definition at line 120 of file st_assert.c.


|
static |
Definition at line 359 of file st_assert.c.


| void st_cleaner_disable | ( | void | ) |
Definition at line 348 of file st_assert.c.


| void st_cleaner_empty_bin | ( | void | ) |
Definition at line 418 of file st_assert.c.


| void st_cleaner_enable | ( | void | ) |
Definition at line 337 of file st_assert.c.


| void st_cleaner_fini | ( | void | ) |
Definition at line 307 of file st_assert.c.


| int st_cleaner_init | ( | void | ) |
Definition at line 259 of file st_assert.c.


| bool st_is_cleaner_up | ( | void | ) |
Definition at line 326 of file st_assert.c.


| void st_mark_entity | ( | struct m0_entity * | entity | ) |
Definition at line 177 of file st_assert.c.


| void st_mark_op | ( | struct m0_op * | op | ) |
Definition at line 131 of file st_assert.c.


| void st_mark_ptr | ( | void * | ptr | ) |
Definition at line 218 of file st_assert.c.


| void st_unmark_entity | ( | struct m0_entity * | entity | ) |
Definition at line 198 of file st_assert.c.


| void st_unmark_op | ( | struct m0_op * | op | ) |
Definition at line 156 of file st_assert.c.


| void st_unmark_ptr | ( | void * | ptr | ) |
Definition at line 239 of file st_assert.c.


|
static |
Definition at line 63 of file st_assert.c.
|
static |
Definition at line 84 of file st_assert.c.