22 #define M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_CONF 26 #include "conf/onwire_xc.h" 29 #define XCAST(xobj) ((struct m0_confx_profile *)(&(xobj)->xo_u)) 80 m0_conf_profile_bob_fini(
x);
99 .
ft_id = M0_CONF__PROFILE_FT_ID,
100 .ft_name =
"conf_profile" 102 .cot_create = &profile_create,
103 .cot_xt = &m0_confx_profile_xc,
104 .cot_branch =
"u_profile",
105 .cot_xc_init = &m0_xc_m0_confx_profile_struct_init,
110 #undef M0_TRACE_SUBSYSTEM const struct m0_conf_obj_type * m0_conf_obj_type(const struct m0_conf_obj *obj)
M0_INTERNAL const struct m0_fid ** conf_obj_downlinks_none(const struct m0_conf_obj *obj)
static int profile_decode(struct m0_conf_obj *dest, const struct m0_confx_obj *src)
const struct m0_conf_obj_type M0_CONF_PROFILE_TYPE
M0_CONF__CTOR_DEFINE(profile_create, m0_conf_profile, &profile_ops)
M0_CONF__INVARIANT_DEFINE(profile_invariant, m0_conf_profile)
bool(* coo_invariant)(const struct m0_conf_obj *obj)
M0_INTERNAL int conf_obj_lookup_denied(const struct m0_conf_obj *parent, const struct m0_fid *name, struct m0_conf_obj **out)
static int profile_encode(struct m0_confx_obj *dest, const struct m0_conf_obj *src)
M0_INTERNAL bool m0_conf_obj_is_stub(const struct m0_conf_obj *obj)
static bool profile_check(const void *bob)
static bool profile_match(const struct m0_conf_obj *cached, const struct m0_confx_obj *flat)
const struct m0_fid_type cot_ftype
struct m0_fid_arr cp_pools
struct m0_confx_header xp_header
M0_INTERNAL void confx_encode(struct m0_confx_obj *dest, const struct m0_conf_obj *src)
M0_BASSERT(offsetof(struct m0_confx_profile, xp_header)==0)
M0_INTERNAL bool m0_fid_arr_eq(const struct m0_fid_arr *a, const struct m0_fid_arr *b)
#define M0_CONF_CAST(ptr, type)
M0_CONF__BOB_DEFINE(m0_conf_profile, M0_CONF_PROFILE_MAGIC, profile_check)
static const struct m0_conf_obj_ops profile_ops
static void profile_delete(struct m0_conf_obj *obj)
M0_INTERNAL int m0_fid_arr_copy(struct m0_fid_arr *to, const struct m0_fid_arr *from)
struct m0_fid_arr xp_pools
static struct m0_addb2_source * s
M0_INTERNAL bool m0_fid_arr_all_unique(const struct m0_fid_arr *a)
struct m0_pdclust_src_addr src
#define offsetof(typ, memb)