Home
last modified time | relevance | path

Searched refs:SwapDir (Results 1 – 25 of 34) sorted by relevance

12

/dports/www/squid/squid-4.15/src/tests/
H A Dstub_SwapDir.cc17 void SwapDir::create() STUB
18 void SwapDir::dump(StoreEntry &) const STUB
21 void SwapDir::stat(StoreEntry &) const STUB
22 void SwapDir::statfs(StoreEntry &)const STUB
23 void SwapDir::maintain() STUB
27 void SwapDir::maxObjectSize(int64_t) STUB
28 void SwapDir::reference(StoreEntry &) STUB
32 void SwapDir::openLog() STUB
33 void SwapDir::closeLog() STUB
35 void SwapDir::writeCleanDone() STUB
[all …]
H A DTestSwapDir.h14 class TestSwapDir : public SwapDir
18 TestSwapDir() : SwapDir("test"), statsCalled (false) {} in TestSwapDir()
H A DtestRock.h30 typedef RefCount<Rock::SwapDir> SwapDirPointer;
/dports/www/squid/squid-4.15/src/fs/rock/
H A DRockSwapDir.cc42 Rock::SwapDir::SwapDir(): ::SwapDir("rock"), in SwapDir() function in Rock::SwapDir
48 Rock::SwapDir::~SwapDir() in ~SwapDir()
213 Rock::SwapDir::create() in create()
282 Rock::SwapDir::init() in init()
349 Rock::SwapDir::reconfigure() in reconfigure()
382 …ions.push_back(new ConfigOptionAdapter<SwapDir>(*const_cast<SwapDir *>(this), &SwapDir::parseSizeO… in getOptionTree()
383 …ions.push_back(new ConfigOptionAdapter<SwapDir>(*const_cast<SwapDir *>(this), &SwapDir::parseTimeO… in getOptionTree()
384 …ions.push_back(new ConfigOptionAdapter<SwapDir>(*const_cast<SwapDir *>(this), &SwapDir::parseRateO… in getOptionTree()
579 Rock::SwapDir::rebuild() in rebuild()
963 Rock::SwapDir::diskFull() in diskFull()
[all …]
H A DRockSwapDir.h30 class SwapDir: public ::SwapDir, public IORequestor, public Ipc::StoreMapCleaner
33 typedef RefCount<SwapDir> Pointer;
36 SwapDir();
37 virtual ~SwapDir();
167 std::vector<SwapDir::DirMap::Owner *> mapOwners;
H A DRockIoState.h22 class SwapDir; variable
32 …IoState(Rock::SwapDir::Pointer &aDir, StoreEntry *e, StoreIOState::STFNCB *cbFile, StoreIOState::S…
77 Rock::SwapDir::Pointer dir; ///< swap dir that initiated I/O
H A DRockStoreFileSystem.cc30 SwapDir *
33 return new SwapDir(); in createSwapDir()
H A DRockHeaderUpdater.h37 HeaderUpdater(const Rock::SwapDir::Pointer &aStore, const Ipc::StoreMapUpdate &update);
61 Rock::SwapDir::Pointer store; ///< cache_dir where the entry is stored
H A DRockRebuild.h32 Rebuild(SwapDir *dir);
75 SwapDir *sd;
H A Dforward.h30 class SwapDir; variable
H A DRockStoreFileSystem.h29 virtual SwapDir *createSwapDir();
H A DRockRebuild.cc203 Rock::Rebuild::Rebuild(SwapDir *dir): AsyncJob("Rock::Rebuild"), in Rebuild()
249 char hdrBuf[SwapDir::HeaderSize]; in start()
250 if (read(fd, hdrBuf, sizeof(hdrBuf)) != SwapDir::HeaderSize) in start()
257 dbOffset = SwapDir::HeaderSize; in start()
/dports/www/squid/squid-4.15/src/store/
H A DDisks.cc66 const SwapDir *sd = dynamic_cast<SwapDir*>(INDEXSD(dirn)); in storeDirSelectSwapDirRoundRobin()
104 RefCount<SwapDir> SD; in storeDirSelectSwapDirLeastLoad()
109 SD = dynamic_cast<SwapDir *>(INDEXSD(i)); in storeDirSelectSwapDirLeastLoad()
158 SwapDir *
164 SwapDir &
167 SwapDir *sd = INDEXSD(i); in dir()
227 SwapDir *sd = dynamic_cast<SwapDir*>(INDEXSD(idx)); in get()
524 SwapDir &sd = dir(idx); in anchorToCache()
600 RefCount<SwapDir> sd; in storeDirWriteCleanLogs()
618 sd = dynamic_cast<SwapDir *>(INDEXSD(dirn)); in storeDirWriteCleanLogs()
[all …]
H A DDisks.h57 SwapDir *store(int const x) const;
58 SwapDir &dir(int const idx) const;
H A Dforward.h58 typedef Store::Disk SwapDir; typedef
/dports/www/squid/squid-4.15/src/fs/ufs/
H A DUFSStrategy.h33 …StoreIOState::Pointer createState(SwapDir *SD, StoreEntry *e, StoreIOState::STIOCB * callback, voi…
36 StoreIOState::Pointer open(SwapDir *, StoreEntry *, StoreIOState::STFNCB *,
38 StoreIOState::Pointer create(SwapDir *, StoreEntry *, StoreIOState::STFNCB *,
H A DStoreFSufs.h42 virtual SwapDir *createSwapDir();
69 SwapDir *
H A DUFSStrategy.cc39 Fs::Ufs::UFSStrategy::createState(SwapDir *SD, StoreEntry *e, StoreIOState::STIOCB * aCallback, voi… in createState()
57 Fs::Ufs::UFSStrategy::open(SwapDir * SD, StoreEntry * e, StoreIOState::STFNCB *, in open()
93 Fs::Ufs::UFSStrategy::create(SwapDir * SD, StoreEntry * e, StoreIOState::STFNCB *, in create()
H A DUFSSwapDir.cc44 class UFSCleanLog : public SwapDir::CleanLog
48 UFSCleanLog(SwapDir *aSwapDir) : sd(aSwapDir) {} in UFSCleanLog()
63 SwapDir *sd = nullptr;
118 if (!SwapDir::canStore(e, diskSpaceNeeded, load)) in canStore()
249 ConfigOption *parentResult = SwapDir::getOptionTree(); in getOptionTree()
305 SwapDir(aType), in UFSSwapDir()
1049 SwapDir *sd; in HandleCleanEvent()
1058 sd = dynamic_cast <SwapDir *>(INDEXSD(i)); in HandleCleanEvent()
1102 Fs::Ufs::UFSSwapDir::IsUFSDir(SwapDir * sd) in IsUFSDir()
1120 assert (UFSSwapDir::IsUFSDir (dynamic_cast<SwapDir *>(INDEXSD(F0)))); in FilenoBelongsHere()
H A DUFSSwapDir.h30 class UFSSwapDir : public SwapDir
33 static bool IsUFSDir(SwapDir* sd);
H A DUFSStoreState.h27 UFSStoreState(SwapDir * SD, StoreEntry * anEntry, STIOCB * callback_, void *callback_data_);
/dports/www/squid/squid-4.15/src/
H A Dstore_io.cc44 SwapDir *SD = dynamic_cast<SwapDir *>(INDEXSD(dirn)); in storeCreate()
H A DStoreFileSystem.h104 virtual SwapDir *createSwapDir() = 0;
H A Dstore_rebuild.cc46 SwapDir *SD = dynamic_cast<SwapDir *>(INDEXSD(e->swap_dirn)); in storeCleanupDoubleCheck()
H A Dunlinkd.cc182 const RefCount<SwapDir> sd = Config.cacheSwap.swapDirs[i]; in unlinkdNeeded()

12