Motr  M0
helper.c File Reference
#include "lib/trace.h"
#include "lib/assert.h"
#include "lib/memory.h"
#include "reqh/reqh_service.h"
#include "reqh/reqh.h"
#include "be/domain.h"
#include "be/dtm0_log.h"
#include "module/instance.h"
Include dependency graph for helper.c:

Go to the source code of this file.

Macros

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_DTM0
 

Functions

static int dtm0_log_init (struct m0_be_domain *dom, const char *suffix, const struct m0_buf *data)
 
static void dtm0_log_fini (struct m0_be_domain *dom, const char *suffix, const struct m0_buf *data)
 
M0_INTERNAL int m0_dtm0_log_create (struct m0_sm_group *grp, struct m0_be_domain *bedom, struct m0_be_seg *seg)
 

Variables

struct m0_be_0type m0_be_dtm0
 

Macro Definition Documentation

◆ M0_TRACE_SUBSYSTEM

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_DTM0

Definition at line 21 of file helper.c.

Function Documentation

◆ dtm0_log_fini()

static void dtm0_log_fini ( struct m0_be_domain dom,
const char *  suffix,
const struct m0_buf data 
)
static

Definition at line 47 of file helper.c.

Here is the call graph for this function:

◆ dtm0_log_init()

static int dtm0_log_init ( struct m0_be_domain dom,
const char *  suffix,
const struct m0_buf data 
)
static

Definition at line 32 of file helper.c.

Here is the call graph for this function:

◆ m0_dtm0_log_create()

M0_INTERNAL int m0_dtm0_log_create ( struct m0_sm_group grp,
struct m0_be_domain bedom,
struct m0_be_seg seg 
)

Definition at line 60 of file helper.c.

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

Variable Documentation

◆ m0_be_dtm0

struct m0_be_0type m0_be_dtm0
Initial value:
= {
.b0_name = "M0_BE:DTM_LOG",
.b0_init = dtm0_log_init,
.b0_fini = dtm0_log_fini,
}
static void dtm0_log_fini(struct m0_be_domain *dom, const char *suffix, const struct m0_buf *data)
Definition: helper.c:47
static int dtm0_log_init(struct m0_be_domain *dom, const char *suffix, const struct m0_buf *data)
Definition: helper.c:32

Definition at line 54 of file helper.c.