#include "lib/trace.h"
#include "conf/objs/common.h"
#include "conf/onwire_xc.h"
#include "conf/pvers.h"
#include "motr/magic.h"
#include "layout/pdclust.h"
Go to the source code of this file.
|
| M0_BASSERT (offsetof(struct m0_confx_pver, xv_header)==0) |
|
static bool | pver_check (const void *bob) |
|
| M0_CONF__BOB_DEFINE (m0_conf_pver, M0_CONF_PVER_MAGIC, pver_check) |
|
| M0_CONF__INVARIANT_DEFINE (pver_invariant, m0_conf_pver) |
|
static int | pver_decode (struct m0_conf_obj *dest, const struct m0_confx_obj *src) |
|
static int | pver_encode (struct m0_confx_obj *dest, const struct m0_conf_obj *src) |
|
static bool | pver_match (const struct m0_conf_obj *cached, const struct m0_confx_obj *flat) |
|
static int | pver_lookup (const struct m0_conf_obj *parent, const struct m0_fid *name, struct m0_conf_obj **out) |
|
static const struct m0_fid ** | pver_downlinks (const struct m0_conf_obj *obj) |
|
static void | pver_delete (struct m0_conf_obj *obj) |
|
| M0_CONF__CTOR_DEFINE (pver_create, m0_conf_pver, &pver_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 |
( |
pver_create |
, |
|
|
m0_conf_pver |
, |
|
|
& |
pver_ops |
|
) |
| |
◆ M0_CONF__INVARIANT_DEFINE()
◆ pver_check()
static bool pver_check |
( |
const void * |
bob | ) |
|
|
static |
◆ pver_decode()
◆ pver_delete()
◆ pver_downlinks()
◆ pver_encode()
◆ pver_lookup()
◆ pver_match()
◆ M0_CONF_PVER_TYPE
Initial value:= {
.cot_ftype = {
.ft_id = M0_CONF__PVER_FT_ID,
.ft_name = "conf_pver"
},
.cot_create = &pver_create,
.cot_xt = &m0_confx_pver_xc,
.cot_branch = "u_pver",
.cot_xc_init = &m0_xc_m0_confx_pver_struct_init,
}
Definition at line 260 of file pver.c.
◆ pver_ops
Initial value:= {
.coo_invariant = pver_invariant,
}
static bool pver_match(const struct m0_conf_obj *cached, const struct m0_confx_obj *flat)
static int pver_encode(struct m0_confx_obj *dest, const struct m0_conf_obj *src)
static void pver_delete(struct m0_conf_obj *obj)
static int pver_lookup(const struct m0_conf_obj *parent, const struct m0_fid *name, struct m0_conf_obj **out)
static int pver_decode(struct m0_conf_obj *dest, const struct m0_confx_obj *src)
static const struct m0_fid ** pver_downlinks(const struct m0_conf_obj *obj)
Definition at line 247 of file pver.c.