store_digest.cc File Reference
#include "squid.h"
#include "Debug.h"
#include "event.h"
#include "globals.h"
#include "mgr/Registration.h"
#include "store_digest.h"
#include "CacheDigest.h"
#include "HttpReply.h"
#include "HttpRequest.h"
#include "internal.h"
#include "MemObject.h"
#include "PeerDigest.h"
#include "refresh.h"
#include "SquidConfig.h"
#include "SquidTime.h"
#include "Store.h"
#include "StoreSearch.h"
#include "util.h"
#include <cmath>
Include dependency graph for store_digest.cc:

Go to the source code of this file.

Classes

class  StoreDigestState
 
class  StoreDigestStats
 

Functions

static void storeDigestRebuildStart (void *datanotused)
 
static void storeDigestRebuildResume (void)
 
static void storeDigestRebuildFinish (void)
 
static void storeDigestRebuildStep (void *datanotused)
 
static void storeDigestRewriteStart (void *)
 
static void storeDigestRewriteResume (void)
 
static void storeDigestRewriteFinish (StoreEntry *e)
 
static void storeDigestCBlockSwapOut (StoreEntry *e)
 
static void storeDigestAdd (const StoreEntry *)
 
static uint64_t storeDigestCalcCap ()
 calculates digest capacity More...
 
void storeDigestInit (void)
 
void storeDigestNoteStoreReady (void)
 
void storeDigestDel (const StoreEntry *entry)
 
void storeDigestReport (StoreEntry *e)
 
static int storeDigestAddable (const StoreEntry *e)
 
static bool storeDigestResize ()
 
static void storeDigestSwapOutStep (void *data)
 

Variables

static StoreDigestState sd_state
 
static StoreDigestStats sd_stats
 
static EVH storeDigestSwapOutStep
 

Function Documentation

◆ storeDigestAdd()

◆ storeDigestAddable()

◆ storeDigestCalcCap()

◆ storeDigestCBlockSwapOut()

◆ storeDigestDel()

◆ storeDigestInit()

◆ storeDigestNoteStoreReady()

void storeDigestNoteStoreReady ( void  )

◆ storeDigestRebuildFinish()

◆ storeDigestRebuildResume()

◆ storeDigestRebuildStart()

static void storeDigestRebuildStart ( void *  datanotused)
static

◆ storeDigestRebuildStep()

◆ storeDigestReport()

◆ storeDigestResize()

static bool storeDigestResize ( )
static
Returns
true if we actually resized the digest

Definition at line 325 of file store_digest.cc.

References assert, CacheDigest::capacity, debugs, store_digest, storeDigestCalcCap(), CacheDigest::updateCapacity(), and xpercentInt().

Referenced by storeDigestRebuildResume().

◆ storeDigestRewriteFinish()

◆ storeDigestRewriteResume()

◆ storeDigestRewriteStart()

◆ storeDigestSwapOutStep()

Variable Documentation

◆ sd_state

StoreDigestState sd_state
static

Definition at line 68 of file store_digest.cc.

◆ sd_stats

StoreDigestStats sd_stats
static

Definition at line 69 of file store_digest.cc.

◆ storeDigestSwapOutStep

EVH storeDigestSwapOutStep
static

Definition at line 79 of file store_digest.cc.

Referenced by storeDigestRewriteResume(), and storeDigestSwapOutStep().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors