Lines Matching refs:backend
72 bool LoadStats(BackendImpl* backend, Addr address, OnDiskStats* stats) {
73 MappedFile* file = backend->File(address);
95 bool StoreStats(BackendImpl* backend, Addr address, OnDiskStats* stats) {
96 MappedFile* file = backend->File(address);
105 bool CreateStats(BackendImpl* backend, Addr* address, OnDiskStats* stats) {
106 if (!backend->CreateBlock(BLOCK_256, 2, address))
116 return StoreStats(backend, *address, stats);
125 bool Stats::Init(BackendImpl* backend, uint32* storage_addr) {
129 if (!LoadStats(backend, address, &stats))
132 if (!CreateStats(backend, &address, &stats))
138 backend_ = backend;
149 if (!size_histogram_ && backend->cache_type() == net::DISK_CACHE &&
150 backend->ShouldReportAgain()) {