#include "lib/trace.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_controller, xc_header)==0) |
|
static bool | controller_check (const void *bob) |
|
| M0_CONF__BOB_DEFINE (m0_conf_controller, M0_CONF_CONTROLLER_MAGIC, controller_check) |
|
| M0_CONF__INVARIANT_DEFINE (controller_invariant, m0_conf_controller) |
|
static int | controller_decode (struct m0_conf_obj *dest, const struct m0_confx_obj *src) |
|
static int | controller_encode (struct m0_confx_obj *dest, const struct m0_conf_obj *src) |
|
static bool | controller_match (const struct m0_conf_obj *cached, const struct m0_confx_obj *flat) |
|
static int | controller_lookup (const struct m0_conf_obj *parent, const struct m0_fid *name, struct m0_conf_obj **out) |
|
static const struct m0_fid ** | controller_downlinks (const struct m0_conf_obj *obj) |
|
static void | controller_delete (struct m0_conf_obj *obj) |
|
| M0_CONF__CTOR_DEFINE (controller_create, m0_conf_controller, &controller_ops) |
|
◆ M0_TRACE_SUBSYSTEM
#define M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_CONF |
◆ XCAST
◆ controller_check()
static bool controller_check |
( |
const void * |
bob | ) |
|
|
static |
◆ controller_decode()
◆ controller_delete()
static void controller_delete |
( |
struct m0_conf_obj * |
obj | ) |
|
|
static |
◆ controller_downlinks()
◆ controller_encode()
◆ controller_lookup()
◆ controller_match()
◆ M0_BASSERT()
◆ M0_CONF__BOB_DEFINE()
◆ M0_CONF__CTOR_DEFINE()
◆ M0_CONF__INVARIANT_DEFINE()
◆ controller_ops
Initial value:= {
.coo_invariant = controller_invariant,
}
static bool controller_match(const struct m0_conf_obj *cached, const struct m0_confx_obj *flat)
static void controller_delete(struct m0_conf_obj *obj)
static const struct m0_fid ** controller_downlinks(const struct m0_conf_obj *obj)
static int controller_lookup(const struct m0_conf_obj *parent, const struct m0_fid *name, struct m0_conf_obj **out)
static int controller_encode(struct m0_confx_obj *dest, const struct m0_conf_obj *src)
static int controller_decode(struct m0_conf_obj *dest, const struct m0_confx_obj *src)
Definition at line 118 of file controller.c.
◆ M0_CONF_CONTROLLER_TYPE
Initial value:= {
.cot_ftype = {
.ft_id = M0_CONF__CONTROLLER_FT_ID,
.ft_name = "conf_controller"
},
.cot_create = &controller_create,
.cot_xt = &m0_confx_controller_xc,
.cot_branch = "u_controller",
.cot_xc_init = &m0_xc_m0_confx_controller_struct_init,
}
Definition at line 131 of file controller.c.