mmalloc.c File Reference

#include <string.h>
#include "mmprivate.h"

Go to the source code of this file.

Functions

static int initialize PARAMS ((struct mdesc *))
static PTR morecore PARAMS ((struct mdesc *, size_t))
static PTR align (struct mdesc *mdp, size_t size)
static int initialize (struct mdesc *mdp)
static PTR morecore (struct mdesc *mdp, size_t size)
PTR mmalloc (PTR md, size_t size)
PTR malloc (size_t size)


Function Documentation

static PTR align ( struct mdesc mdp,
size_t  size 
) [static]

Definition at line 41 of file mmalloc.c.

References BLOCKSIZE, morecore(), PTR, RESIDUAL, and result().

Referenced by TGWin32::Align(), TGX11TTF::Align(), TDocLatexDirective::CreateLatex(), TASImage::DrawText(), FT_Bitmap_Embolden(), handle_asxml_tag_composite(), initialize(), morecore(), psh_hint_align(), TGLFont::Render(), TAttText::SetTextAlign(), and TGHtmlLayoutContext::TableLayout().

static int initialize ( struct mdesc mdp  )  [static]

Definition at line 62 of file mmalloc.c.

References align(), BLOCKSIZE, flags, HEAP, MMALLOC_INITIALIZED, NULL, and PTR.

Referenced by ClassImp(), G__G__RooFitCore2_311_0_14(), G__G__RooFitCore2_449_0_16(), G__G__RooFitCore3_532_0_5(), G__G__RooFitCore3_835_0_8(), mmalloc(), and RooCacheManager< T >::RooCacheManager().

PTR malloc ( size_t  size  ) 

Definition at line 335 of file mmalloc.c.

References mmalloc(), NULL, and PTR.

Referenced by _GetWindowProperty(), _InitHashTable(), XrdXrootdFileTable::Add(), AddExtensionBlock(), TMemStatManager::AddPointer(), TMemHashTable::AddPointer(), ROOT::Minuit2::StackAllocator::Allocate(), TXMLEngine::AllocateAttr(), TXMLEngine::AllocateNode(), memstat::TMemStatMng::AllocHook(), AllocMetadataImporterPluginType(), AllocQuickLookGeneratorPluginType(), asim_mystrdup(), XrdOucStream::Attach(), XrdProofConn::Authenticate(), XrdSecTLayer::Authenticate(), XrdSecProtocolpwd::Authenticate(), XrdSecProtocolkrb5::Authenticate(), XrdSecProtocolsss::Authenticate(), TODBCStatement::BindColumn(), TODBCStatement::BindParam(), XrdOucAppleBonjour::BrowseReply(), XrdOucAvahiBonjour::BrowseReply(), completion_matches(), XrdCmsClientConfig::Configure(), XrdXrootdProtocol::Configure(), copy(), XrdClient::Copy(), TTable::Create(), XrdClientMessage::CreateData(), TX11GLManager::CreateGLPixmap(), XrdSecProtocolgsi::Decrypt(), define2(), DGifOpen(), XrdCmsNode::do_Stats(), XrdClientConn::DoAuthentication(), drr_func_cache_init(), drr_func_cache_push(), drr_method_missing(), EGifOpen(), EGifOpenFileHandle(), empty_mem_output_buffer(), XrdSecProtocolsss::Encode(), XrdSecProtocolgsi::Encrypt(), TStorage::EnterStat(), XrdOucStream::Exec(), XrdClientAdmin::ExistDirs(), XrdClientAdmin::ExistFiles(), XrdCmsNash::Expand(), XrdProofdAux::Expand(), XrdOfsHanTab::Expand(), XrdOucEnv::Export(), XrdCryptosslRSA::ExportPrivate(), XrdCryptosslRSA::ExportPublic(), extend_inputline(), fchtak(), filename_completion_function(), ft_alloc(), FT_New_Memory(), gdk_rgb_init(), XrdSecsssID::genID(), TOracleStatement::GetBinary(), XrdSecProtocolunix::getCredentials(), XrdSecProtocolgsi::getCredentials(), XrdSecProtocolpwd::getCredentials(), XrdSecProtocolkrb4::getCredentials(), XrdSecTLayer::getCredentials(), XrdSecProtocolkrb5::getCredentials(), getfile(), XrdOucNSWalk::getLink(), XrdOfsEvs::getMsg(), TUUID::GetNodeIdentifier(), XrdSecsssID::getObj(), TGWin32::GetProperty(), GIFquantize(), gl2psMalloc(), gl_error(), gl_puts(), globus_l_gsi_cred_get_service(), globus_l_gsi_cred_subject_cmp(), GRST_get_voms_roles_and_free(), GRSTasn1PrintPrintable(), GRSTgaclAclNew(), GRSTgaclCredCreate(), GRSTgaclEntryNew(), GRSTgaclFileFindAclname(), GRSTgaclUserNew(), GRSThttpCopy(), GRSThttpGetCGI(), GRSThttpPrintf(), GRSThttpPrintHeaderFooter(), GRSThttpUrlDecode(), GRSThttpUrlEncode(), GRSThttpUrlMildencode(), GRSTx509CachedProxyFind(), GRSTx509CachedProxyKeyFind(), GRSTx509ChainLoadCheck(), GRSTx509ChainVomsAdd(), GRSTx509CreateProxyRequest(), GRSTx509FindProxyFileName(), GRSTx509MakeDelegationID(), GRSTx509MakeProxyRequest(), GRSTxacmlFileFindAclname(), gsl_integration_workspace_alloc(), hist_init(), hist_save(), history_tokenize(), included_by(), TXMLOutputStream::Init(), TMemHashTable::Init(), TStackTable::Init(), XrdClientVector< XrdClientPhyConnection * >::Init(), TMemStatManager::Init(), NdbMTReacDesc::Init(), XrdSecProtocolkrb4::Init_Server(), XrdClientAdmin::IsFileOnline(), XrdOucStream::isSet(), jpeg_get_large(), jpeg_get_small(), jpeg_mem_dest(), load_asimage_list_entry_data(), main(), main_orig(), make_Cell(), MakeMapObject(), MakeSavedImage(), merge2defines(), XrdCmsConfig::MergeP(), my_if_errors(), my_strdup(), names_add(), new_malloc(), new_mapped_color(), XrdCnsLogFile::Open(), TASImage::operator=(), pcre_maketables(), pcregrep(), png_create_struct_2(), png_malloc_default(), poll(), TXSocket::PopUpSpare(), posix_memalign(), pr(), XrdCmsFinderRMT::Prepare(), XrdFrmFiles::Process(), XrdClientConn::ProcessAsynResp(), R__huft_build(), XSElement::Read(), XrdProofdNetMgr::ReadBufferLocal(), TRFIOFile::ReadBuffers(), TDCacheFile::ReadBuffers(), ReaderThread_loc(), ReaderThread_xrd(), ReaderThread_xrd_xtreme(), ReadFile(), readline(), ReadUtmp(), TUnixSystem::ReadUtmpFile(), regexec(), XrdOucAppleBonjour::RegisterService(), XrdOucAvahiBonjour::RegisterService(), TMemHashTable::RehashLeak(), TMemStatManager::RehashLeak(), remember_type(), TGX11TTF::RenderString(), rr_parse_void(), rr_register_ctf1_fcn(), rr_register_ctf2_fcn(), XrdClientConn::SendGenCommand(), TMonaLisaWriter::SendParameters(), XrdSutBuffer::Serialized(), TGWin32::SetClassHints(), XrdLink::Setup(), XrdSecProtocolgsi::Sign(), XrdNetSocket::socketAddr(), stack_malloc(), string_need(), SubdivColorMap(), XrdClientReadV::SubmitToCacheReadVResp(), XrdOucAvahiBonjour::SubscribeForUpdates(), XrdOucAppleBonjour::SubscribeForUpdates(), SWIG_pchar_descriptor(), TASImage::TASImage(), tilde_expand(), TGenCollectionProxy::TStaging::TStaging(), TXMLInputStream::TXMLInputStream(), TUnixSystem::UnixDynListSymbols(), W32ChangeProperty(), XrdClientConn::WriteToServer_Async(), XrdCmsNash::XrdCmsNash(), XrdCryptosslX509Crl::XrdCryptosslX509Crl(), XrdFfsDent_dentcache_fill(), XrdFfsDent_names_add(), XrdFfsDent_names_extract(), XrdFfsFsinfo_cache_search(), XrdFfsMisc_get_all_urls(), XrdFfsMisc_get_list_of_data_servers(), XrdFfsMisc_getNameByAddr(), XrdFfsMisc_refresh_url_cache(), XrdFfsMisc_xrd_init(), XrdFfsQueue_create_task(), XrdFfsQueue_create_workers(), XrdFfsWcache_create(), XrdFfsWcache_init(), XrdgetProtocol(), XrdOfsHanTab::XrdOfsHanTab(), XrdOucEnv::XrdOucEnv(), XrdOucStream::XrdOucStream(), XrdPosixDir::XrdPosixDir(), XrdPosixXrootd::XrdPosixXrootd(), XrdProtocol_Config::XrdProtocol_Config(), XrdSecProtocolkrb5Init(), XrdSecProtParm::XrdSecProtParm(), XrdSecServer::XrdSecServer(), XrdSrvBuffer::XrdSrvBuffer(), XrdSslgsiX509CreateProxy(), XrdSslgsiX509CreateProxyReq(), XrdSslgsiX509SignProxyReq(), XRotCreateTextItem(), XRotPaintAlignedString(), XRotTextExtents(), and zcalloc().

PTR mmalloc ( PTR  md,
size_t  size 
)

Definition at line 132 of file mmalloc.c.

References ADDRESS, BLOCK, BLOCKIFY, BLOCKSIZE, flags, free(), i, initialize(), log(), MALLOC_SEARCH_START, MD_TO_MDP, MMALLOC_INITIALIZED, morecore(), mmlist::next, NULL, mmlist::prev, PTR, RESIDUAL, result(), size_t, and start.

Referenced by malloc(), mcalloc(), mmalloc_check(), mmemalign(), and mrealloc().

static PTR morecore ( struct mdesc mdp,
size_t  size 
) [static]

Definition at line 85 of file mmalloc.c.

References __mmalloc_free(), align(), BLOCK, BLOCKIFY, mmalloc_info::busy, NULL, PTR, result(), size_t, and mmalloc_info::type.

Referenced by __mmalloc_free(), __mmalloc_sbrk_init(), align(), and mmalloc().

static PTR morecore PARAMS ( (struct mdesc *, size_t  )  [static]

static int initialize PARAMS ( (struct mdesc *)   )  [static]


Generated on Tue Jul 5 15:57:19 2011 for ROOT_528-00b_version by  doxygen 1.5.1