#include "lib/trace.h"
#include "lib/string.h"
#include "conf/objs/common.h"
#include "conf/onwire_xc.h"
#include "motr/magic.h"
Go to the source code of this file.
|
| M0_BASSERT (offsetof(struct m0_confx_root, xt_header)==0) |
|
static bool | root_check (const void *bob) |
|
| M0_CONF__BOB_DEFINE (m0_conf_root, M0_CONF_ROOT_MAGIC, root_check) |
|
| M0_CONF__INVARIANT_DEFINE (root_invariant, m0_conf_root) |
|
static int | root_decode (struct m0_conf_obj *dest, const struct m0_confx_obj *src) |
|
static int | root_encode (struct m0_confx_obj *dest, const struct m0_conf_obj *src) |
|
static bool | root_match (const struct m0_conf_obj *cached, const struct m0_confx_obj *flat) |
|
static int | root_lookup (const struct m0_conf_obj *parent, const struct m0_fid *name, struct m0_conf_obj **out) |
|
static const struct m0_fid ** | root_downlinks (const struct m0_conf_obj *obj) |
|
static void | root_delete (struct m0_conf_obj *obj) |
|
| M0_CONF__CTOR_DEFINE (root_create, m0_conf_root, &root_ops) |
|
◆ M0_TRACE_SUBSYSTEM
#define M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_CONF |
◆ XCAST
◆ M0_BASSERT()
◆ M0_CONF__BOB_DEFINE()
◆ M0_CONF__CTOR_DEFINE()
M0_CONF__CTOR_DEFINE |
( |
root_create |
, |
|
|
m0_conf_root |
, |
|
|
& |
root_ops |
|
) |
| |
◆ M0_CONF__INVARIANT_DEFINE()
◆ root_check()
static bool root_check |
( |
const void * |
bob | ) |
|
|
static |
◆ root_decode()
◆ root_delete()
◆ root_downlinks()
◆ root_encode()
- Todo:
- Make spiel happy for now as it does not know about fdmi yet.
Definition at line 102 of file root.c.
◆ root_lookup()
◆ root_match()
◆ M0_CONF_ROOT_TYPE
Initial value:= {
.cot_ftype = {
.ft_id = M0_CONF__ROOT_FT_ID,
.ft_name = "conf_root"
},
.cot_create = &root_create,
.cot_xt = &m0_confx_root_xc,
.cot_branch = "u_root",
.cot_xc_init = &m0_xc_m0_confx_root_struct_init,
}
Definition at line 214 of file root.c.
◆ root_ops
Initial value:= {
.coo_invariant = root_invariant,
}
static void root_delete(struct m0_conf_obj *obj)
static const struct m0_fid ** root_downlinks(const struct m0_conf_obj *obj)
static int root_encode(struct m0_confx_obj *dest, const struct m0_conf_obj *src)
static int root_lookup(const struct m0_conf_obj *parent, const struct m0_fid *name, struct m0_conf_obj **out)
static int root_decode(struct m0_conf_obj *dest, const struct m0_confx_obj *src)
static bool root_match(const struct m0_conf_obj *cached, const struct m0_confx_obj *flat)
Definition at line 201 of file root.c.