#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_enclosure, xe_header)==0) |
|
static bool | enclosure_check (const void *bob) |
|
| M0_CONF__BOB_DEFINE (m0_conf_enclosure, M0_CONF_ENCLOSURE_MAGIC, enclosure_check) |
|
| M0_CONF__INVARIANT_DEFINE (enclosure_invariant, m0_conf_enclosure) |
|
static int | enclosure_decode (struct m0_conf_obj *dest, const struct m0_confx_obj *src) |
|
static int | enclosure_encode (struct m0_confx_obj *dest, const struct m0_conf_obj *src) |
|
static bool | enclosure_match (const struct m0_conf_obj *cached, const struct m0_confx_obj *flat) |
|
static int | enclosure_lookup (const struct m0_conf_obj *parent, const struct m0_fid *name, struct m0_conf_obj **out) |
|
static const struct m0_fid ** | enclosure_downlinks (const struct m0_conf_obj *obj) |
|
static void | enclosure_delete (struct m0_conf_obj *obj) |
|
| M0_CONF__CTOR_DEFINE (enclosure_create, m0_conf_enclosure, &enclosure_ops) |
|
◆ M0_TRACE_SUBSYSTEM
#define M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_CONF |
◆ XCAST
◆ enclosure_check()
static bool enclosure_check |
( |
const void * |
bob | ) |
|
|
static |
◆ enclosure_decode()
◆ enclosure_delete()
static void enclosure_delete |
( |
struct m0_conf_obj * |
obj | ) |
|
|
static |
◆ enclosure_downlinks()
◆ enclosure_encode()
◆ enclosure_lookup()
◆ enclosure_match()
◆ M0_BASSERT()
◆ M0_CONF__BOB_DEFINE()
◆ M0_CONF__CTOR_DEFINE()
◆ M0_CONF__INVARIANT_DEFINE()
◆ enclosure_ops
Initial value:= {
.coo_invariant = enclosure_invariant,
}
static int enclosure_encode(struct m0_confx_obj *dest, const struct m0_conf_obj *src)
static int enclosure_lookup(const struct m0_conf_obj *parent, const struct m0_fid *name, struct m0_conf_obj **out)
static const struct m0_fid ** enclosure_downlinks(const struct m0_conf_obj *obj)
static bool enclosure_match(const struct m0_conf_obj *cached, const struct m0_confx_obj *flat)
static int enclosure_decode(struct m0_conf_obj *dest, const struct m0_confx_obj *src)
static void enclosure_delete(struct m0_conf_obj *obj)
Definition at line 127 of file enclosure.c.
◆ M0_CONF_ENCLOSURE_TYPE
Initial value:= {
.cot_ftype = {
.ft_id = M0_CONF__ENCLOSURE_FT_ID,
.ft_name = "conf_enclosure"
},
.cot_create = &enclosure_create,
.cot_xt = &m0_confx_enclosure_xc,
.cot_branch = "u_enclosure",
.cot_xc_init = &m0_xc_m0_confx_enclosure_struct_init,
}
Definition at line 140 of file enclosure.c.