#include <P_CacheHosting.h>
Public Member Functions | |
int | Init (CacheType typ) |
int | Init (matcher_line *line_info, CacheType typ) |
void | UpdateMatch (CacheHostResult *r, char *rd) |
void | Print () |
~CacheHostRecord () | |
CacheHostRecord () | |
Data Fields | |
CacheType | type |
Vol ** | vols |
volatile int | good_num_vols |
volatile int | num_vols |
int | num_initialized |
unsigned short * | vol_hash_table |
CacheVol ** | cp |
int | num_cachevols |
Definition at line 36 of file P_CacheHosting.h.
CacheHostRecord::~CacheHostRecord | ( | ) | [inline] |
Definition at line 42 of file P_CacheHosting.h.
References ats_free(), cp, vol_hash_table, and vols.
CacheHostRecord::CacheHostRecord | ( | ) | [inline] |
Definition at line 58 of file P_CacheHosting.h.
int CacheHostRecord::Init | ( | CacheType | typ | ) |
Definition at line 428 of file CacheHosting.cc.
References ats_malloc(), build_vol_hash_table(), cp, cp_list, cp_list_len, Debug, DLL< C, L >::head, ink_assert, num_cachevols, CacheVol::num_vols, num_vols, REC_SIGNAL_CONFIG_ERROR, RecSignalWarning(), CacheVol::scheme, CacheVol::size, type, CacheVol::vol_number, CacheVol::vols, and vols.
Referenced by CacheHostTable::BuildTable(), CacheHostTable::BuildTableFromString(), and CacheHostMatcher::NewEntry().
int CacheHostRecord::Init | ( | matcher_line * | line_info, | |
CacheType | typ | |||
) |
Definition at line 468 of file CacheHosting.cc.
References ats_free(), ats_malloc(), ats_strdup, build_vol_hash_table(), cp, cp_list, Debug, DLL< C, L >::head, ink_assert, matcher_line::line, matcher_line::line_num, MATCHER_MAX_TOKENS, num_cachevols, CacheVol::num_vols, num_vols, PATH_NAME_MAX, REC_ReadConfigString, REC_SIGNAL_CONFIG_ERROR, RecSignalWarning(), CacheVol::scheme, CacheVol::size, STORE_BLOCK_SIZE, type, val, CacheVol::vol_number, CacheVol::vols, and vols.
void CacheHostRecord::Print | ( | ) |
Definition at line 602 of file CacheHosting.cc.
void CacheHostRecord::UpdateMatch | ( | CacheHostResult * | r, | |
char * | rd | |||
) |
Definition at line 596 of file CacheHosting.cc.
References CacheHostResult::record.
Referenced by CacheHostMatcher::Match().
Definition at line 55 of file P_CacheHosting.h.
Referenced by Init(), and ~CacheHostRecord().
volatile int CacheHostRecord::good_num_vols |
Definition at line 51 of file P_CacheHosting.h.
Definition at line 56 of file P_CacheHosting.h.
Referenced by Init(), and Cache::open_done().
Definition at line 53 of file P_CacheHosting.h.
volatile int CacheHostRecord::num_vols |
Definition at line 52 of file P_CacheHosting.h.
Referenced by build_vol_hash_table(), cache_disk_replacement_stability(), Init(), and CacheVC::scanVol().
Definition at line 49 of file P_CacheHosting.h.
Referenced by Init().
unsigned short* CacheHostRecord::vol_hash_table |
Definition at line 54 of file P_CacheHosting.h.
Referenced by build_vol_hash_table(), cache_disk_replacement_stability(), Cache::key_to_vol(), CacheProcessor::mark_storage_offline(), and ~CacheHostRecord().
Definition at line 50 of file P_CacheHosting.h.
Referenced by build_vol_hash_table(), cache_disk_replacement_stability(), Init(), Cache::key_to_vol(), CacheVC::scanVol(), and ~CacheHostRecord().