23 #ifndef __MOTR_CONF_CACHE_H__ 24 #define __MOTR_CONF_CACHE_H__
static struct m0_mutex lock
M0_TL_DESCR_DECLARE(m0_conf_cache, extern)
M0_INTERNAL bool m0_conf_cache_contains(struct m0_conf_cache *cache, const struct m0_fid *fid)
M0_TL_DECLARE(m0_conf_cache, M0_INTERNAL, struct m0_conf_obj)
M0_INTERNAL struct m0_conf_obj * m0_conf_cache_lookup(const struct m0_conf_cache *cache, const struct m0_fid *id)
struct m0_mutex * ca_lock
M0_INTERNAL int m0_conf_cache_add(struct m0_conf_cache *cache, struct m0_conf_obj *obj)
M0_INTERNAL int m0_conf_cache_from_string(struct m0_conf_cache *cache, const char *str)
M0_INTERNAL void m0_conf_cache_clean(struct m0_conf_cache *cache, const struct m0_conf_obj_type *type)
M0_INTERNAL struct m0_conf_obj * m0_conf_cache_pinned(const struct m0_conf_cache *cache)
M0_INTERNAL void m0_conf_cache_lock(struct m0_conf_cache *cache)
M0_INTERNAL bool m0_conf_cache_is_locked(const struct m0_conf_cache *cache)
M0_INTERNAL void m0_conf_cache_fini(struct m0_conf_cache *cache)
M0_INTERNAL void m0_conf_cache_del(const struct m0_conf_cache *cache, struct m0_conf_obj *obj)
M0_INTERNAL int m0_conf_cache_to_string(struct m0_conf_cache *cache, char **str, bool debug)
M0_INTERNAL void m0_conf_cache_init(struct m0_conf_cache *cache, struct m0_mutex *lock)
M0_INTERNAL void m0_conf_cache_gc(struct m0_conf_cache *cache)
M0_INTERNAL void m0_conf_cache_unlock(struct m0_conf_cache *cache)