23 #define M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_CONF 28 #include "conf/onwire_xc.h" 53 M0_LOG(
M0_WARN,
"Cannot parse configuration string:\n%s", str);
74 return M0_ERR_INFO(-ENOMEM,
"failed to allocate internal buffer" 75 " for encoded Spiel conf data");
92 #undef M0_TRACE_SUBSYSTEM M0_INTERNAL int m0_xcode_print(const struct m0_xcode_obj *obj, char *str, int nr)
M0_INTERNAL void m0_confx_free(struct m0_confx *enc)
static bool m0_addr_is_aligned(const void *addr, unsigned shift)
#define M0_LOG(level,...)
M0_INTERNAL int m0_xcode_read(struct m0_xcode_obj *obj, const char *str)
M0_INTERNAL void m0_confx_string_free(char *str)
M0_INTERNAL void m0_free_aligned(void *data, size_t size, unsigned shift)
M0_INTERNAL void m0_xcode_free_obj(struct m0_xcode_obj *obj)
M0_INTERNAL int m0_pageshift_get(void)
#define M0_ERR_INFO(rc, fmt,...)
return M0_ERR(-EOPNOTSUPP)
M0_INTERNAL int m0_confx_to_string(struct m0_confx *confx, char **out)
M0_INTERNAL int m0_confstr_parse(const char *str, struct m0_confx **out)
#define M0_ALLOC_PTR(ptr)
#define M0_XCODE_OBJ(type, ptr)
M0_INTERNAL void * m0_alloc_aligned(size_t size, unsigned shift)