Motr  M0
load_fom.c File Reference
#include "lib/trace.h"
#include "conf/load_fom.h"
#include "conf/confd.h"
#include "conf/confd_stob.h"
#include "lib/memory.h"
Include dependency graph for load_fom.c:

Go to the source code of this file.

Macros

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_SPIEL
 
#define _CASE(phase, op)
 

Functions

 M0_TL_DESCR_DECLARE (rpcbulk, M0_EXTERN)
 
static int conf_load_fom_tick (struct m0_fom *fom)
 
static void conf_load_fom_fini (struct m0_fom *fom)
 
static int conf_net_buffer_allocate (struct m0_fom *)
 
static int conf_prepare (struct m0_fom *)
 
static int conf_buffer_free (struct m0_fom *)
 
static int conf_zero_copy_initiate (struct m0_fom *)
 
static int conf_zero_copy_finish (struct m0_fom *)
 
static size_t conf_load_fom_home_locality (const struct m0_fom *fom)
 
static bool conf_load_fom_invariant (const struct m0_conf_load_fom *fom)
 
M0_INTERNAL int m0_conf_load_fom_create (struct m0_fop *fop, struct m0_fom **out, struct m0_reqh *reqh)
 
static int conf_fom_conf_file_save (struct m0_conf_load_fom *conf_fom)
 

Variables

const struct m0_fom_ops conf_load_fom_ops
 
const struct m0_fom_type_ops conf_load_fom_type_ops
 
struct m0_sm_state_descr conf_load_phases []
 
struct m0_sm_conf conf_load_conf
 

Macro Definition Documentation

◆ _CASE

#define _CASE (   phase,
  op 
)
Value:
case phase: \
rc = op(fom); \
break
op
Definition: libdemo.c:64
Definition: dump.c:103

◆ M0_TRACE_SUBSYSTEM

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_SPIEL

Definition at line 22 of file load_fom.c.