const struct m0_conf_obj_type * m0_conf_obj_type(const struct m0_conf_obj *obj)
struct m0_ut_suite conf_walk_ut
M0_INTERNAL int m0_conf_ut_cache_init(void)
M0_INTERNAL struct m0_conf_obj * m0_conf_cache_lookup(const struct m0_conf_cache *cache, const struct m0_fid *id)
static void test_conf_walk(void)
M0_INTERNAL int m0_conf_walk(int(*fn)(struct m0_conf_obj *obj, void *args), struct m0_conf_obj *origin, void *args)
struct m0_conf_cache m0_conf_ut_cache
struct m0_conf_root * root
static int conf_ut_count_nondirs(struct m0_conf_obj *obj, void *args)
M0_INTERNAL int m0_conf_ut_cache_fini(void)
M0_INTERNAL void m0_conf_ut_cache_from_file(struct m0_conf_cache *cache, const char *path)
const struct m0_fid M0_CONF_ROOT_FID
M0_INTERNAL void m0_conf_cache_lock(struct m0_conf_cache *cache)
const struct m0_conf_obj_type M0_CONF_DIR_TYPE
M0_INTERNAL void m0_conf_cache_unlock(struct m0_conf_cache *cache)