Searched defs:HashCacheStrategy (Results 1 – 1 of 1) sorted by relevance
384 struct HashCacheStrategy : BaseCacheStrategy<Backend>, BaseHashCacheStrategy { struct386 typedef HashCacheStrategy<Backend> Strategy; argument388 HashCacheStrategy(BaseCache *parent) in HashCacheStrategy() argument392 static size_t RequiredSpace(size_t objectSize) in RequiredSpace()418 // it's very important that we cast this to BaseHashCacheStrategy in NewSlab() argument424 void ReturnSlab(BaseCache::Slab *slab) in ReturnSlab()432 size_t _SlabSize() const in _SlabSize()437 status_t _PrepareSlab(BaseCache *parent, Slab *slab, void *pages, in _PrepareSlab()458 void _ClearSlab(BaseCache *parent, void *pages, size_t byteCount) in _ClearSlab()464 void _ClearSlabRange(BaseCache *parent, uint8_t *data, uint8_t *end) in _ClearSlabRange()[all …]