![]() |
XRootD
|
#include <XrdBuffXL.hh>
Public Member Functions | |
XrdBuffXL () | |
~XrdBuffXL () | |
void | Init (int maxMSZ) |
int | MaxSize () |
XrdBuffer * | Obtain (int bsz) |
int | Recalc (int bsz) |
void | Release (XrdBuffer *bp) |
int | Stats (char *buff, int blen, int do_sync=0) |
void | Trim () |
Definition at line 37 of file XrdBuffXL.hh.
XrdBuffXL::XrdBuffXL | ( | ) |
Definition at line 56 of file XrdBuffXL.cc.
|
inline |
Definition at line 57 of file XrdBuffXL.hh.
void XrdBuffXL::Init | ( | int | maxMSZ | ) |
Definition at line 64 of file XrdBuffXL.cc.
References XrdOucUtils::Log2().
|
inline |
Definition at line 49 of file XrdBuffXL.hh.
XrdBuffer * XrdBuffXL::Obtain | ( | int | bsz | ) |
Definition at line 99 of file XrdBuffXL.cc.
References XrdSysMutex::Lock(), XrdOucUtils::Log2(), and XrdSysMutex::UnLock().
Referenced by XrdBuffManager::Obtain().
int XrdBuffXL::Recalc | ( | int | bsz | ) |
Definition at line 155 of file XrdBuffXL.cc.
References XrdOucUtils::Log2().
Referenced by XrdBuffManager::Recalc().
void XrdBuffXL::Release | ( | XrdBuffer * | bp | ) |
Definition at line 182 of file XrdBuffXL.cc.
References XrdSysMutex::Lock(), and XrdSysMutex::UnLock().
Referenced by XrdBuffManager::Release().
int XrdBuffXL::Stats | ( | char * | buff, |
int | blen, | ||
int | do_sync = 0 |
||
) |
Definition at line 199 of file XrdBuffXL.cc.
References XrdSysMutex::Lock(), and XrdSysMutex::UnLock().
Referenced by XrdBuffManager::Stats().
void XrdBuffXL::Trim | ( | ) |
Definition at line 221 of file XrdBuffXL.cc.
References XrdBuffer::bsize, XrdSysMutex::Lock(), and XrdSysMutex::UnLock().
Referenced by XrdBuffManager::Reshape().