
Go to the source code of this file.
Classes | |
struct | memitem |
Macros | |
#define | xmalloc my_xmalloc |
#define | xcalloc my_xcalloc |
#define | xfree my_xfree |
Functions | |
void | my_free (char *, int, void *) |
void * | my_xmalloc (size_t) |
void * | my_xcalloc (int, size_t) |
int | my_xfree (void *) |
void | size2id (size_t, memitem *) |
void | badformat () |
void | init_stats () |
void | print_stats () |
void | my_hash_insert (hash_table *h, const char *k, memitem *item) |
static void * | xmemAlloc (memitem *item) |
static void | xmemFree (memitem *item) |
int | ptrcmp (const void *a, const void *b) |
main (int argc, char **argv) | |
const char * | make_nam (int id, int size) |
Variables | |
static hash_table * | mem_table = NULL |
static hash_link * | mem_entry |
struct rusage | myusage |
char * | malloc_options |
FILE * | fp |
char * | fn |
int | initsiz |
int | maxsiz |
int | minchunk |
HASHCMP | ptrcmp |
char | mbuf [256] |
char | abuf [32] |
char * | p |
int | size |
void * | addr |
int | amt |
int | i |
int | a |
int | run_stats = 0 |
int * | size2id_array [2] |
int | size2id_len = 0 |
int | size2id_alloc = 0 |
struct { | |
int mallocs | |
int frees | |
int callocs | |
int reallocs | |
} | mstat |
memitem * | mi |
Macro Definition Documentation
◆ xcalloc
#define xcalloc my_xcalloc |
Definition at line 57 of file membanger.c.
Referenced by _db_print(), accessLogInit(), accessLogReader(), MemPoolMalloc::allocate(), asnAddNet(), authDigestNonceEncode(), buildUrlFromHost(), cacheCreate(), cacheEntryCreate(), cacheIndexCreate(), Comm::CallbackTableInit(), carpInit(), Ident::ClientAdd(), clientBeginRequest(), comm_init(), configDoConfigure(), icp_common_t::CreateMessage(), createRemovalPolicy_heap(), createRemovalPolicy_lru(), StatHist::deltaPctile(), do_open(), errorInitialize(), fileIteratorCreate(), FileMap::FileMap(), ftpListParseParts(), getsymbol(), FileMap::grow(), Fs::Ufs::UFSSwapDir::HandleCleanEvent(), hash_create(), hashFreeItems(), heap_walkInit(), html_quote(), idnsAddPathComponent(), SharedMemory::init(), CacheDigest::init(), StatHist::init(), ipc_thread_1(), ipc_thread_2(), LoadSecurityDll(), logfile_mod_daemon_open(), logfile_mod_stdio_open(), logfile_mod_udp_open(), logfileNewBuffer(), lru_purgeInit(), lru_walkInit(), main(), memAllocBuf(), memAllocString(), MemChunk::MemChunk(), netdbDump(), netdbPeerAdd(), netdbPurgeLRU(), netdbReloadState(), new_heap(), StatHist::operator=(), parse_access_log(), parse_hostdomaintype(), parse_IpAddress_list(), parse_sslproxy_cert_adapt(), parse_sslproxy_cert_sign(), parseHttpRequest(), peerSourceHashInit(), peerUserHashInit(), prepareAcceleratedURL(), ConnStateData::prepareTlsSwitchingURL(), prepareTransparentURL(), PutEnvironment(), Format::QuoteMimeBlob(), read_passwd_file(), read_request(), Mem::Report(), rfc1035MessageUnpack(), rfc1738_do_escape(), Comm::SelectLoopInit(), clientReplyContext::sendMoreData(), snmpHandleUdp(), squidaio_shutdown(), StatHist::StatHist(), storeRebuildStart(), swapStateReader(), urnParseReply(), wccp2_add_service_list(), wccp2AssignBuckets(), wccp2HandleUdp(), wccp2Init(), Fs::Ufs::UFSSwapDir::writeCleanStart(), and xprof_average().
◆ xfree
#define xfree my_xfree |
Definition at line 58 of file membanger.c.
◆ xmalloc
#define xmalloc my_xmalloc |
Definition at line 56 of file membanger.c.
Function Documentation
◆ badformat()
void badformat | ( | ) |
Definition at line 288 of file membanger.c.
Referenced by main().
◆ init_stats()
void init_stats | ( | ) |
Definition at line 252 of file membanger.c.
Referenced by main().
◆ main()
main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 91 of file membanger.c.
References a, abuf, amt, assert, badformat(), fn, fp, free, getopt(), hash4, hash_create(), hash_lookup(), hash_unlink(), init_stats(), initsiz, malloc_options, maxsiz, mbuf, minchunk, mstat, my_hash_insert(), memitem::my_ptr, NULL, optarg, memitem::orig_ptr, p, print_stats(), ptrcmp, run_stats, size, memitem::size, size2id(), xmemAlloc(), xmemFree(), and xstrdup.
◆ make_nam()
Definition at line 296 of file membanger.c.
References buf.
◆ my_free()
void my_free | ( | char * | file, |
int | line, | ||
void * | ptr | ||
) |
Definition at line 335 of file membanger.c.
References free.
◆ my_hash_insert()
void my_hash_insert | ( | hash_table * | h, |
const char * | k, | ||
memitem * | item | ||
) |
Definition at line 304 of file membanger.c.
References assert, hash_insert(), and memitem::my_ptr.
Referenced by main().
◆ my_xcalloc()
Definition at line 241 of file membanger.c.
References NULL.
◆ my_xfree()
int my_xfree | ( | void * | p | ) |
Definition at line 247 of file membanger.c.
◆ my_xmalloc()
void * my_xmalloc | ( | size_t | a | ) |
Definition at line 235 of file membanger.c.
References NULL.
◆ print_stats()
void print_stats | ( | ) |
Definition at line 258 of file membanger.c.
References mstat, myusage, rusage::ru_majflt, rusage::ru_maxrss, rusage::ru_stime, rusage::ru_utime, and size2id_len.
Referenced by hash_insert(), and main().
◆ ptrcmp()
int ptrcmp | ( | const void * | a, |
const void * | b | ||
) |
Definition at line 86 of file membanger.c.
◆ size2id()
◆ xmemAlloc()
|
static |
Definition at line 313 of file membanger.c.
References assert, and memitem::size.
Referenced by main().
◆ xmemFree()
|
static |
Definition at line 324 of file membanger.c.
References assert, memFree(), memitem::my_ptr, and memitem::size.
Referenced by main().
Variable Documentation
◆ a
int a |
Definition at line 50 of file membanger.c.
Referenced by aclDestroyDenyInfoList(), aclDomainCompare(), aclHostDomainCompare(), aclIsProxyAuth(), asnMatchIp(), StatHist::deltaPctile(), Mgr::MenuAction::dump(), CacheManager::findAction(), ACL::FindByName(), Entry::genParse(), icpHandleIcpV2(), ACL::Initialize(), Acl::InnerNode::lineParse(), Eui::Eui48::lookup(), main(), munge_menu_line(), ACLRandom::parse(), ACLIntRange::parse(), parse_externalAclHelper(), parse_ftp_epsv(), perm(), rfc1035SetQueryID(), Splay< acl_httpstatus_data *>::Splay(), SquidMD5Transform(), testSBuf::testChop(), testHttpRequestMethod::testConstructCharStart(), verify_heap_property(), and AclDenyInfoList::~AclDenyInfoList().
◆ abuf
char abuf[32] |
Definition at line 42 of file membanger.c.
Referenced by main().
◆ addr
void* addr |
Definition at line 46 of file membanger.c.
Referenced by Ipc::TypedMsgHdr::address(), Format::Format::assemble(), clientFollowXForwardedForCheck(), comm_local_port(), comm_openex(), ErrorState::Convert(), good_ipaddr(), Ftp::Server::handlePasvReply(), Ipc::ImportFdIntoComm(), Parser::BinaryTokenizer::inetAny(), ipcacheStatPrint(), logfile_mod_udp_open(), Comm::ConnOpener::lookupLocalAddress(), Ipc::Port::MakeAddr(), netdbBinaryExchange(), netdbExchangeHandleReply(), netdbReloadState(), netdbSendPing(), CollapsedForwarding::Notify(), IpcIoFile::Notify(), Log::TcpLogger::Open(), Ipc::OpenListenerParams::operator<(), parseEtcHosts(), RFCNB_Name_To_IP(), xgetnameinfo(), Ip::Address::~Address(), and Icmp::~Icmp().
◆ amt
int amt |
Definition at line 47 of file membanger.c.
Referenced by main().
◆ callocs
int callocs |
Definition at line 74 of file membanger.c.
◆ fn
char* fn |
Definition at line 36 of file membanger.c.
Referenced by Fs::Ufs::UFSSwapDir::DirClean(), Fs::Ufs::UFSSwapDir::FilenoBelongsHere(), main(), makelinebuffered(), Fs::Ufs::UFSSwapDir::mapBitAllocate(), parse_HeaderWithAclList(), and ConfigParser::strtokFile().
◆ fp
FILE* fp |
Definition at line 35 of file membanger.c.
Referenced by auth_html(), check_target_acl(), idnsParseResolvConf(), mail_warranty(), main(), mimeInit(), Fs::Ufs::UFSSwapDir::openTmpSwapLog(), parseEtcHosts(), parseOneConfigFile(), read_mib(), read_reply(), Fs::Ufs::RebuildState::RebuildState(), and Fs::Ufs::UFSSwapLogParser::~UFSSwapLogParser().
◆ frees
int frees |
Definition at line 74 of file membanger.c.
◆ i
int i |
Definition at line 49 of file membanger.c.
Referenced by _db_rotate_log(), _heap_grow(), _my_mbstowcs(), _tmpnam(), CpuAffinityMap::add(), addedEntry(), AddOpenedHttpSocket(), addr2oid(), Auth::Scheme::AddScheme(), Kids::allExitedHappy(), Kids::allHopeless(), Adaptation::History::allLogString(), allocate_new_swapdir(), Ip::Address::applyMask(), Mgr::Inquirer::applyQueryParams(), authenticate(), available_if(), base64_decode_update(), berEncodeLoginData(), BinarySplit(), BroadcastSignalIfAny(), Adaptation::Icap::ServiceRep::busyCheckpoint(), CpuAffinityMap::calculateSet(), Store::Disks::callback(), Adaptation::Icap::ServiceRep::callWhenAvailable(), Adaptation::Icap::ServiceRep::callWhenReady(), cbdataDump(), Ssl::certificateMatchesProperties(), Ssl::certSignAlgorithmId(), CharacterSet::CharacterSet(), Adaptation::AccessCheck::check(), check_cert_domain(), check_domain(), check_target_acl(), IpcIoFile::CheckTimeouts(), IpcIoFile::checkTimeouts(), Auth::CredentialsCache::cleanup(), FadingCounter::clear(), clientConnectionsClose(), clientUpdateHierCounters(), PconnPool::closeN(), comm_check_incoming_poll_handlers(), comm_check_incoming_select_handlers(), comm_flush_updates(), comm_poll_tcp_incoming(), CommandLine::CommandLine(), commHalfClosedCheck(), commIncomingStats(), completeIssuers(), Ssl::CrtdMessage::composeBody(), Ssl::CertValidationMsg::composeRequest(), configDoConfigure(), HttpHdrRange::contains(), Ssl::ErrorDetail::convert(), copy64(), FadingCounter::count(), IdleConnList::count(), CpuAnd(), CpuCount(), Store::Disks::create(), testAuthConfig::create(), Rock::SwapDirRr::create(), create_children(), Fs::Ufs::UFSSwapDir::createSwapSubDirs(), crypt(), crypt_main(), crypt_md5(), Store::Disks::currentCount(), Store::Disks::currentSize(), CvtBin(), CvtHex(), debugArg(), default_read_method(), default_write_method(), LruMap< Key, EntryValue, EntryCost >::del(), delete_heap(), Ssl::CertificateDb::deleteByKey(), Ssl::CertificateDb::deleteInvalidCertificate(), StatHist::deltaPctile(), IpcIoFile::dequeueRequest(), DescriptorSet::DescriptorSet(), Auth::CredentialsCache::doConfigChangeCleanup(), dohash(), Acl::AndNode::doMatch(), Acl::OrNode::doMatch(), Comm::DoSelect(), ACLRegexData::dump(), ACLMethodData::dump(), ConfigOptionVector::dump(), ACLEui64::dump(), Acl::InnerNode::dump(), ACLARP::dump(), Ssl::CertificateStorageAction::dump(), StatHist::dump(), dump_cachedir(), dump_CpuAffinityMap(), dump_kb_int64_t(), dump_peers(), dump_SBufList(), Adaptation::Config::DumpAccess(), HeaderManglers::dumpAccess(), Security::PeerOptions::dumpCfg(), PconnPool::dumpHash(), PconnPool::dumpHist(), DumpIoStats(), DelayConfig::dumpPoolCount(), ClientDelayConfig::dumpPoolCount(), HeaderManglers::dumpReplacement(), Adaptation::Config::dumpService(), Adaptation::Config::DumpServiceGroups(), DumpServiceTimesStats(), dumpstack(), fde::DumpStats(), esiSequence::elementIndex(), encrypt(), LruMap< Key, EntryValue, EntryCost >::entries(), errorClean(), errorFindHardText(), errorInitialize(), Ssl::ErrorIsOptional(), errorPageId(), errorTypeByName(), ESIAssign::ESIAssign(), ESIInclude::ESIInclude(), eui64_aton(), ESIVariableQuery::eval(), Store::Disks::evictIfFound(), fd_close(), fdDumpOpen(), ClientDelayConfig::finalize(), Adaptation::Config::finalize(), FinalizeEach(), DiskIOModule::Find(), Kids::find(), Auth::Scheme::Find(), HeaderManglers::find(), SBuf::find(), find_fstype(), Adaptation::FindGroup(), Adaptation::FindRule(), Adaptation::FindRuleByGroupId(), Adaptation::FindService(), IdleConnList::findUseable(), StoreFileSystem::FsAdd(), ftpListParseParts(), fwdStats(), gen_quote_escape(), SharedMemory::get(), Kids::get(), LruMap< Key, EntryValue, EntryCost >::get(), Ssl::CertValidationResponse::getError(), Ssl::GetErrorCode(), GetInteger(), GetIoStats(), Ssl::GlobalContextStorage::getLocalStorage(), Ip::Address::getReverseString4(), Ip::Address::getReverseString6(), GetServiceTimesStats(), Store::Disks::getStats(), GetStrPool(), handle_read(), Fs::Ufs::UFSSwapDir::HandleCleanEvent(), IpcIoFile::HandleOpenResponse(), IpcIoFile::HandleResponses(), Ipc::Coordinator::handleSearchRequest(), Ipc::Coordinator::handleSharedListenRequest(), hasAuthorityInfoAccessCaIssuers(), hash_first(), hash_insert(), hash_join(), hash_next(), hash_remove_link(), hash_string(), hash_unlink(), hash_url(), hashFreeItems(), hashFreeMemory(), hashKeyStr(), hashPrime(), Store::Disks::hasReadableEntry(), helperHandleRead(), htcpHexdump(), html_quote(), HttpHdrRange::HttpHdrRange(), httpHdrScInitModule(), httpHeaderStoreReport(), idnsALookup(), idnsFromKnownNameserver(), idnsParseNameservers(), idnsParseResolvConf(), idnsStats(), inet_ntop6(), inet_pton6(), SharedMemory::init(), Store::Disks::init(), Kids::init(), AnyP::UriScheme::Init(), Adaptation::Initiator::initiateAdaptation(), Adaptation::Initiate::initiator(), Transport::InitTls(), StoreEntry::invokeHandlers(), ipcache_gethostbyname(), ipcache_nbgethostbyname_(), ipcache_purgelru(), ipcacheAddEntryFromHosts(), ipcacheFreeEntry(), ipcacheHandleReply(), ipcacheInvalidate(), ipcacheInvalidateNegative(), ipstr2long(), is_month(), Ip::Qos::Config::isAclNfmarkActive(), Ip::Qos::Config::isAclTosActive(), IdleConnList::isAvailable(), StoreMetaUnpacker::isBufferZero(), isDefined(), isxstring(), JoinContainerIntoSBuf(), kq_update_events(), LoadableModulesConfigure(), loadSslErrorMap(), loadSslErrorShortcutsMap(), logfile_mod_stdio_rotate(), Eui::Eui48::lookup(), LookupTable< EnumType, RecordType, Hasher >::LookupTable(), lshift(), main(), MainSafe(), Store::Disks::maintain(), make_month(), ACLRegexData::match(), ACLMethodData::match(), Ip::Address::matchIPAddr(), Ssl::matchX509CommonNames(), Store::Disks::maxSize(), mcast_encode(), mdfour(), MDPrint(), membercompare(), MemChunk::MemChunk(), memFindStringPool(), memStringStats(), HttpHdrRange::merge(), mimicExtensions(), Store::Disks::minSize(), Ssl::missingChainCertificatesUrls(), DiskIOModule::ModuleAdd(), msghdr_read_method(), msghdr_write_method(), neighborsDigestSelect(), neighborsUdpPing(), netdbBinaryExchange(), netdbClosestParent(), netdbDump(), netdbPeerAdd(), netdbPeerByName(), next_password(), Adaptation::Icap::ServiceRep::noteTimeToNotify(), ntlm_make_nonce(), oid2addr(), Ipc::OneToOneUniQueues::OneToOneUniQueues(), Ipc::Mem::Segment::open(), IpcIoFile::OpenTimeout(), operator++(), Mgr::IoActionData::operator+=(), Mgr::ServiceTimesActionData::operator+=(), StatHist::operator+=(), Adaptation::Ecap::ConfigRep::option(), Http::Stream::packRange(), Ipc::Mem::PageLimit(), Ipc::Mem::PageStack::PageStack(), ConfigOptionVector::parse(), Mgr::QueryParams::Parse(), Adaptation::ServiceGroup::parse(), Format::Token::parse(), AnyP::Uri::parse(), parse_cachedir(), parse_int(), parse_int64_t(), parse_refreshpattern(), parse_wccp2_service_ports(), ConfigParser::ParseBool(), Ssl::ParseErrorString(), Security::PeerOptions::parseFlags(), Log::LogConfig::parseFormats(), parseManyConfigFiles(), Debug::parseOptions(), Mgr::QueryParams::ParseParam(), ClientDelayConfig::parsePoolCount(), Ssl::CrtdMessage::parseRequest(), Ssl::CertValidationMsg::parseResponse(), Rock::SwapDir::parseSize(), Fs::Ufs::UFSSwapDir::parseSizeL1L2(), PconnPool::PconnPool(), Ipc::BaseMultiQueue::peek(), peer_Inst(), peerProbeConnect(), permute(), IdleConnList::pop(), Ipc::BaseMultiQueue::pop(), ACLASN::prepareForUse(), print_error(), print_esc(), print_password(), printX509Signature(), ProcessArguments(), processingLoop(), purge_entries_fromhosts(), SharedMemory::put(), Format::QuoteMimeBlob(), random_vector(), read_objid(), read_reply(), Ssl::CertificateDb::rebuildSize(), Ssl::GlobalContextStorage::reconfigureFinish(), refreshStats(), regcomp(), StoreFileSystem::RegisterAllFsWithCacheManager(), Ipc::Coordinator::registerStrand(), PconnModule::remove(), NotePairs::remove(), Adaptation::Config::removeService(), esiSequence::render(), Mem::Report(), rfc1035BuildPTRQuery(), rfc1035MessageUnpack(), rfc1035RRPack(), rfc1035RRUnpack(), rfc1035SetQueryID(), rfc1738_do_escape(), rfc1738_unescape(), rfc3596BuildPTRQuery4(), rfc3596BuildPTRQuery6(), RFCNB_AName_To_NBName(), RFCNB_CvtPad_Name(), RFCNB_NBName_To_AName(), RFCNB_Print_Hex(), RFCNB_Put_Pkt(), SBuf::rfind(), rotate(), Ssl::CertificateDb::Row::Row(), EventLoop::runOnce(), testAuthUserRequest::scheme(), SearchFilterLDAP(), SearchIPLDAP(), setkey(), EventLoop::setPrimaryEngine(), StoreFileSystem::SetupAllFs(), DiskIOModule::SetupAllModules(), Kids::shouldRestartSome(), sk_x509_findIssuer(), SMB_Connect(), SMB_Connect_Server(), SMB_Figure_Protocol(), SMB_Get_SMB_Error_Msg(), SMB_Logon_And_TCon(), SMB_Logon_TCon_Open(), SMB_Negotiate(), SMB_Search(), SMB_Write(), SMBapi_NetSetUserInfo(), SMBapi_NetUserPasswordSet(), smbhash(), Store::Disks::SmpAware(), snmp_fix_pdu(), snmpLookupNodeStr(), Kids::someRunning(), Kids::someSignaled(), Ssl::CertificateDb::sq_TXT_DB_delete(), Ssl::CertificateDb::sq_TXT_DB_delete_row(), squidaio_init(), squidaio_shutdown(), squidaio_stats(), ssl_get_attribute(), Security::PeerConnector::sslCrtvdCheckForErrors(), sslGetUserCertificateChainPEM(), ESIContext::start(), ConnStateData::start(), Store::Disks::stat(), statAvgTick(), statClientRequests(), statFreeMemory(), statInit(), DelayPools::Stats(), VectorPool::stats(), storeDirSelectSwapDirLeastLoad(), storeDirSelectSwapDirRoundRobin(), storeKeyHashCmp(), storeKeyHashHash(), storeKeyScan(), storeKeyText(), storeLateRelease(), storeReplAdd(), str_to_key(), StringSplit(), Parser::Tokenizer::suffix(), Adaptation::History::sumLogString(), Store::Disks::sync(), testEnumIterator::testBidirectionalIter(), testEvent::testDump(), testEnumIterator::testForwardIter(), testSBuf::testIterators(), testRangeIter(), testEnumIterator::testReverseIter(), testRock::testRockSwapOut(), testSBuf::testSBufHash(), tls_read_method(), tls_write_method(), LruMap< Key, EntryValue, EntryCost >::trim(), trim_trailing_ws(), unlinkdNeeded(), unlinkdUnlink(), untrustedToStoreCtx_cb(), VectorPool::update(), ClassCHostPool::update(), Security::PeerOptions::updateContextCa(), Security::PeerOptions::updateContextCrl(), Store::Disks::updateLimits(), Ipc::MemMap::updateStats(), Ipc::StoreMap::updateStats(), urnFindMinRtt(), urnHandleReply(), urnParseReply(), Valid_Global_Groups(), Valid_Group(), Valid_Local_Groups(), Valid_User(), Notes::validateKey(), verify_heap_property(), Adaptation::Ecap::ConfigRep::visitEachOption(), watch_child(), wccp2ConnectionOpen(), wccpAssignBuckets(), xgetnameinfo(), xor(), xprof_average(), xprof_sorthist(), xprof_summary_item(), xstrerr(), ESIVariableQuery::~ESIVariableQuery(), Ssl::GlobalContextStorage::~GlobalContextStorage(), HeaderManglers::~HeaderManglers(), IpcIoFile::~IpcIoFile(), LruMap< Key, EntryValue, EntryCost >::~LruMap(), Ssl::CertificateDb::Row::~Row(), and Rock::SwapDirRr::~SwapDirRr().
◆ initsiz
int initsiz |
Definition at line 37 of file membanger.c.
Referenced by main().
◆ malloc_options
char* malloc_options |
Referenced by main().
◆ mallocs
int mallocs |
Definition at line 74 of file membanger.c.
◆ maxsiz
int maxsiz |
Definition at line 38 of file membanger.c.
Referenced by main().
◆ mbuf
char mbuf[256] |
Definition at line 41 of file membanger.c.
Referenced by main(), read_mib(), and snmpDebugOid().
◆ mem_entry
|
static |
Definition at line 23 of file membanger.c.
◆ mem_table
|
static |
Definition at line 22 of file membanger.c.
◆ mi
memitem* mi |
Definition at line 77 of file membanger.c.
◆ minchunk
int minchunk |
Definition at line 39 of file membanger.c.
Referenced by main().
◆ mstat
struct { ... } mstat |
Referenced by main(), and print_stats().
◆ myusage
struct rusage myusage |
Definition at line 24 of file membanger.c.
Referenced by print_stats().
◆ p
char* p |
Definition at line 43 of file membanger.c.
Referenced by _tmpnam(), MessageDelayPools::add(), Notes::add(), LeakFinder::addSome(), MemPoolChunked::allocate(), alt_match_null_string_p(), Ip::Address::applyMask(), at_endline_loc_p(), authDigestLogUsername(), BinarySplit(), Ssl::ErrorDetail::buildDetail(), carpCachemgr(), carpInit(), carpSelectParent(), cbdataInternalAlloc(), cbdataInternalFree(), cbdataInternalReferenceDoneValid(), cbdataRealFree(), PeerSelector::checkNetdbDirect(), checkNullString(), Adaptation::ServiceGroup::checkUniqueness(), clientdbCutoffDenied(), clientFollowXForwardedForCheck(), comm_remove_close_handler(), common_op_match_null_string_p(), compile_range(), configDoConfigure(), FwdState::connectDone(), FwdState::connectedToPeer(), TunnelStateData::connectToPeer(), MemBuf::consumeWhitespacePrefix(), ErrorState::Convert(), Security::PeerOptions::convertContextFromRawPtr(), convertPortname(), ErrorState::ConvertText(), mem_hdr::copy(), CreateSession(), crypt_md5(), ErrorState::DenyInfoLocation(), dump_PortCfg(), Ip::Qos::Config::dumpConfigLine(), Ftp::escapeIAC(), externalAclInit(), externalAclShutdown(), externalAclStats(), Helper::Reply::finalize(), Adaptation::Ecap::XactionRep::forgetVb(), LeakFinder::freeSome(), ftpListParseParts(), ftpReadType(), getDefaultParent(), getFirstUpParent(), Http::One::Parser::getHeaderField(), UrnState::getHost(), getMyPort(), GetPercentage(), Ip::Address::getReverseString6(), getRoundRobinParent(), GetServiceTimesStats(), getWeightedRoundRobinParent(), Adaptation::ServiceConfig::grokLong(), Adaptation::ServiceConfig::grokUri(), PeerSelector::handleHtcpParentMiss(), PeerSelector::handleHtcpReply(), PeerSelector::handleIcpReply(), hash_next(), helper::helper(), hex_dump(), htcpForwardClr(), Ftp::Gateway::htmlifyListEntry(), httpFixupAuthentication(), httpHdrContRangeParseInit(), httpHdrMangleList(), httpHdrRangeRespSpecParseInit(), HttpHdrSc::HttpHdrSc(), idnsCheckQueue(), HttpHdrCc::isSet(), latin1_to_utf8(), lc(), LeakFinderPtr::LeakFinderPtr(), Security::KeyData::loadX509CertFromFile(), Security::KeyData::loadX509PrivateKeyFromFile(), log_quoted_string(), Auth::CredentialsCache::lookup(), main(), MainSafe(), makeMemNodeDataOffset(), mimicExtensions(), munge_action_line(), munge_menu_line(), munge_other_line(), my_free(), Ipc::Mem::Segment::Name(), neighborRemove(), neighborsCount(), neighborsDigestSelect(), neighborsHtcpClear(), neighborsHtcpReply(), neighborsUdpAck(), neighborsUdpPing(), netdbClosestParent(), netdbDump(), netdbExchangeHandleReply(), netdbExchangeStart(), netdbExchangeUpdatePeer(), netdbPeerAdd(), netdbPeerByName(), netdbUpdatePeer(), ESIParser::NewParser(), Security::NewSessionObject(), Comm::Connection::noteClosure(), PeerSelector::noteIp(), Security::BlindPeerConnector::noteNegotiationDone(), OpenLDAP(), Ipc::Coordinator::openListenSocket(), operator<(), AnyP::operator<<(), operator<<(), RefCount< Adaptation::History >::operator=(), CbcPointer< Adaptation::Initiate >::operator==(), DelaySpec::parse(), ACLProtocolData::parse(), HttpHdrSc::parse(), HttpHdrCc::parse(), HttpHeader::parse(), parse_cachemgrpasswd(), parse_hostdomaintype(), parse_peer(), parse_peer_access(), parse_wccp2_service_ports(), ACL::ParseAclLine(), ParseBuffer(), HttpHdrRangeSpec::parseInit(), parseOneConfigFile(), Security::PeerOptions::parseOptions(), Debug::parseOptions(), Helper::Reply::parseResponseKeys(), AnyP::Uri::path(), peerClearRR(), peerCountMcastPeersDone(), peerCountMcastPeersStart(), peerDigestDestroy(), peerDigestRequest(), peerDNSConfigure(), peerFindByName(), peerFindByNameAndPort(), peerProbeConnectDone(), peerRefreshDNS(), peerSourceHashCachemgr(), peerSourceHashInit(), peerSourceHashSelectParent(), peerUserHashCachemgr(), peerUserHashInit(), peerUserHashSelectParent(), MessageDelayPools::pool(), AnyP::Uri::port(), re_compile_fastmap(), re_match_2(), read_mib(), read_reply(), read_request(), RefCount< Adaptation::History >::RefCount(), regex_compile(), PconnModule::remove(), HttpReply::removeStaleWarningValues(), PeerSelector::resolveSelected(), rfc3596BuildPTRQuery6(), PeerSelector::selectAllParents(), PeerSelector::selectSomeNeighbor(), PeerSelector::selectSomeNeighborReplies(), PeerSelector::selectSomeParent(), Comm::Connection::setAddrs(), Ipc::SharedListenJoined(), shellUnescape(), SMB_Check_Dir(), SMB_Create(), SMB_Create_Dir(), SMB_Delete(), SMB_Delete_Dir(), SMB_Logon_And_TCon(), SMB_Logon_Server(), SMB_Logon_TCon_Open(), SMB_Negotiate(), SMB_Open(), SMB_Search(), SMB_TreeConnect(), SMBapi_NetSetUserInfo(), SMBapi_NetUserPasswordSet(), snmp_meshPtblFn(), squid_rn_delete(), squid_rn_insert(), squidaio_xmalloc(), squidaio_xstrdup(), Ipc::StartListening(), statClientRequests(), FwdState::stopAndDestroy(), StringSplit(), strwordtok(), PeerPoolMgrsRr::syncConfig(), HttpHdrScTarget::Target(), testIpAddress::testAddrInfo(), Ipc::UdsOp::timedout(), Ip::Address::toHostStr(), ProxyProtocol::Header::toMime(), LeakFinder::touch(), Ip::Address::toUrl(), SBuf::trim(), uc(), urlIsRelative(), validate_user_pw(), validUsername(), Adaptation::Ecap::XactionRep::vbContent(), Adaptation::Ecap::XactionRep::vbContentShift(), Adaptation::Ecap::XactionRep::vbMake(), Adaptation::Ecap::XactionRep::vbMakeMore(), wccp2_get_service_by_id(), whichPeer(), whoisClose(), whoisReadReply(), whoisStart(), whoisTimeout(), xcalloc(), xgetnameinfo(), xmalloc(), xrealloc(), xstrdup(), xstrndup(), xstrtok(), and cbdata::~cbdata().
◆ ptrcmp
HASHCMP ptrcmp |
Definition at line 40 of file membanger.c.
Referenced by String::caseCmp(), and main().
◆ reallocs
int reallocs |
Definition at line 74 of file membanger.c.
◆ run_stats
int run_stats = 0 |
Definition at line 51 of file membanger.c.
Referenced by main().
◆ size
int size |
Definition at line 45 of file membanger.c.
Referenced by main().
◆ size2id_alloc
int size2id_alloc = 0 |
Definition at line 62 of file membanger.c.
◆ size2id_array
int* size2id_array[2] |
Definition at line 60 of file membanger.c.
◆ size2id_len
int size2id_len = 0 |
Definition at line 61 of file membanger.c.
Referenced by print_stats().