|
xrootd
|
#include <XrdOssMio.hh>

Static Public Member Functions | |
| static void | Display (XrdSysError &Eroute) |
| static char | isAuto () |
| static char | isOn () |
| static XrdOssMioFile * | Map (char *path, int fd, int opts) |
| static void * | preLoad (void *arg) |
| static void | Recycle (XrdOssMioFile *mp) |
| static void | Set (int V_off, int V_preld, int V_check) |
| static void | Set (long long V_max) |
Static Private Member Functions | |
| static int | Reclaim (off_t amount) |
| static int | Reclaim (XrdOssMioFile *mp) |
Static Private Attributes | |
| static XrdOucHash< XrdOssMioFile > | MM_Hash |
| static XrdSysMutex | MM_Mutex |
| static XrdOssMioFile * | MM_Perm = 0 |
| static XrdOssMioFile * | MM_Idle = 0 |
| static XrdOssMioFile * | MM_IdleLast = 0 |
| static char | MM_on = 1 |
| static char | MM_chk = 0 |
| static char | MM_okmlock = 1 |
| static char | MM_preld = 0 |
| static long long | MM_max = MM_pagsz*MM_pages/2 |
| static long long | MM_pagsz = (long long)sysconf(_SC_PAGESIZE) |
| static long long | MM_pages = (long long)sysconf(_SC_PHYS_PAGES) |
| static long long | MM_inuse = 0 |
|
static |
References MM_chk, MM_max, MM_on, MM_preld, and XrdSysError::Say().
Referenced by XrdOssSys::Config_Display().
|
inlinestatic |
References MM_chk.
Referenced by XrdOssSys::ConfigMio().
|
inlinestatic |
References MM_on.
Referenced by XrdOssSys::ConfigMio().
|
static |
References XrdOucHash< T >::Add(), XrdOucTrace::bin2hex(), DEBUG, XrdSysError::Emsg(), EPNAME, XrdOucHash< T >::Find(), fstat(), XrdSysMutexHelper::Lock(), MM_Hash, MM_inuse, MM_max, MM_Mutex, MM_okmlock, MM_Perm, MM_preld, opts, OSSMIO_MLOK, OSSMIO_MPRM, preLoad(), Reclaim(), XrdSysThread::Run(), and stat().
Referenced by XrdOssFile::Open().
|
static |
References XrdOssMioFile::Base, MM_pagsz, Recycle(), and XrdOssMioFile::Size.
Referenced by Map().
|
staticprivate |
References DEBUG, XrdOucHash< T >::Del(), EPNAME, XrdOssMioFile::HashName, MM_Hash, MM_Idle, MM_inuse, XrdOssMioFile::Next, and XrdOssMioFile::Size.
Referenced by Map().
|
staticprivate |
References DEBUG, XrdOssMioFile::Dev, EPNAME, XrdOssMioFile::Ino, MM_Idle, MM_IdleLast, and XrdOssMioFile::Next.
|
static |
References XrdSysError::Emsg(), XrdOssMioFile::HashName, XrdOssMioFile::inUse, MM_Idle, MM_IdleLast, MM_Mutex, XrdOssMioFile::Next, OSSMIO_MPRM, and XrdOssMioFile::Status.
Referenced by XrdOssFile::Close(), and preLoad().
|
static |
References MM_chk, MM_on, and MM_preld.
Referenced by XrdOssSys::ConfigMio(), and XrdOssSys::xmemf().
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
Referenced by Map().
|
staticprivate |
Referenced by Set().
|
staticprivate |
|
staticprivate |
Referenced by Map().
1.8.3.1