25 #ifndef __MOTR_STOB_CACHE_H__ 26 #define __MOTR_STOB_CACHE_H__ 109 const struct m0_fid *stob_fid);
M0_INTERNAL void m0_stob_cache_unlock(struct m0_stob_cache *cache)
M0_INTERNAL void m0_stob_cache_lock(struct m0_stob_cache *cache)
m0_stob_cache_eviction_cb_t sc_eviction_cb
M0_INTERNAL void m0_stob_cache_purge(struct m0_stob_cache *cache, int nr)
M0_INTERNAL struct m0_stob * m0_stob_cache_lookup(struct m0_stob_cache *cache, const struct m0_fid *stob_fid)
M0_INTERNAL void m0_stob_cache_idle(struct m0_stob_cache *cache, struct m0_stob *stob)
static struct m0_stob * stob
M0_INTERNAL int m0_stob_cache_init(struct m0_stob_cache *cache, uint64_t idle_size, m0_stob_cache_eviction_cb_t eviction_cb)
M0_INTERNAL bool m0_stob_cache__invariant(const struct m0_stob_cache *cache)
M0_INTERNAL bool m0_stob_cache_is_locked(const struct m0_stob_cache *cache)
M0_INTERNAL void m0_stob_cache_fini(struct m0_stob_cache *cache)
M0_INTERNAL bool m0_stob_cache_is_not_locked(const struct m0_stob_cache *cache)
void(* m0_stob_cache_eviction_cb_t)(struct m0_stob_cache *cache, struct m0_stob *stob)
M0_INTERNAL void m0_stob_cache__print(struct m0_stob_cache *cache)
M0_INTERNAL void m0_stob_cache_add(struct m0_stob_cache *cache, struct m0_stob *stob)