Lines Matching full:cache
39 int log_cache_init(struct log_cache *cache, const struct log_cache_config *config);
43 * @param[in] cache Cache object.
50 bool log_cache_get(struct log_cache *cache, uintptr_t id, uint8_t **data);
52 /** @brief Put new entry into cache.
54 * @param cache Cache object.
58 void log_cache_put(struct log_cache *cache, uint8_t *data);
63 * not found in the cache. Releasing puts entry in idle list.
65 * @param cache Cache object.
68 void log_cache_release(struct log_cache *cache, uint8_t *data);
72 * @param cache Cache object.
76 static inline uint32_t log_cache_get_hit(struct log_cache *cache) in log_cache_get_hit() argument
78 return cache->hit; in log_cache_get_hit()
83 * @param cache Cache object.
87 static inline uint32_t log_cache_get_miss(struct log_cache *cache) in log_cache_get_miss() argument
89 return cache->miss; in log_cache_get_miss()