#include "squid.h"
#include "MemBuf.h"
#include "store/Controller.h"
#include "store_rebuild.h"
#include "time/gadgets.h"
#include <cstring>
#include "tests/STUB.h"
Include dependency graph for stub_store_rebuild.cc:
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 * | dc | ) |
Definition at line 30 of file stub_store_rebuild.cc.
References Store::Controller::store_dirs_rebuilding.
◆ storeRebuildLoadEntry()
bool storeRebuildLoadEntry | ( | int | fd, |
int | diskIndex, | ||
MemBuf & | buf, | ||
StoreRebuildData & | counts | ||
) |
Definition at line 38 of file stub_store_rebuild.cc.
References MemBuf::appended(), assert, MemBuf::hasSpace(), MemBuf::space(), and MemBuf::spaceSize().
◆ 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().