#include "squid.h"
#include "MemBuf.h"
#include "store/Controller.h"
#include "store_rebuild.h"
#include "time/gadgets.h"
#include <cstring>
#include "tests/STUB.h"
![](stub__store__rebuild_8cc__incl.png)
Go to the source code of this file.
Macros | |
#define | STUB_API "stub_store_rebuild.cc" |
Functions | |
void | storeRebuildProgress (int, int, int) STUB bool storeRebuildParseEntry(MemBuf & |
void StoreEntry cache_key StoreRebuildData uint64_t | STUB_RETVAL (false) void StoreRebuildData |
void | storeRebuildComplete (StoreRebuildData *) |
bool | storeRebuildLoadEntry (int fd, int, MemBuf &buf, StoreRebuildData &) |
loads entry from disk; fills supplied memory buffer on success More... | |
Macro Definition Documentation
◆ STUB_API
#define STUB_API "stub_store_rebuild.cc" |
Definition at line 19 of file stub_store_rebuild.cc.
Function Documentation
◆ storeRebuildComplete()
void storeRebuildComplete | ( | StoreRebuildData * | ) |
Definition at line 30 of file stub_store_rebuild.cc.
References assert, StoreRebuildData::bad_log_op, StoreRebuildData::badflags, SquidConfig::cacheSwap, StoreRebuildData::cancelcount, StoreRebuildData::clashcount, Config, counts, current_time, debugs, StoreRebuildData::dupcount, eventAdd(), StoreRebuildData::expcount, Debug::Extra(), Important, StoreRebuildData::invalid, Store::DiskConfig::n_configured, StoreRebuildData::objcount, RebuildProgress, safe_free, StoreRebuildData::scancount, StoreRebuildData::started(), StoreRebuildData::startTime, Store::Controller::store_dirs_rebuilding, storeCleanup(), storeCleanupComplete(), tvSubDsec(), StoreRebuildData::updateStartTime(), StoreRebuildData::validations, and StoreRebuildData::zero_object_sz.
◆ storeRebuildLoadEntry()
bool storeRebuildLoadEntry | ( | int | fd, |
int | , | ||
MemBuf & | buf, | ||
StoreRebuildData & | |||
) |
Definition at line 38 of file stub_store_rebuild.cc.
References MemBuf::appended(), assert, DBG_IMPORTANT, debugs, StatCounters::disk, FD_READ_METHOD(), MemBuf::hasSpace(), MemBuf::space(), MemBuf::spaceSize(), statCounter, StatCounters::syscalls, and xstrerr().
◆ storeRebuildProgress()
◆ STUB_RETVAL()
void StoreEntry cache_key StoreRebuildData uint64_t STUB_RETVAL | ( | false | ) |
Definition at line 23 of file stub_store_rebuild.cc.
References min().
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products