#include <XrdOucCacheSlot.hh>
Classes | |
struct | ioQ |
struct | SlotList |
union | SlotState |
Public Member Functions | |
void | File (XrdOucCacheIO *kV, int you) |
void | Hide (XrdOucCacheSlot *Base, int *hTab, int hI) |
int | Pull (XrdOucCacheSlot *Base) |
int | Push (XrdOucCacheSlot *Base, XrdOucCacheSlot *sP) |
void | Owner (XrdOucCacheSlot *Base) |
void | Owner (XrdOucCacheSlot *Base, XrdOucCacheSlot *sP) |
void | reRef (XrdOucCacheSlot *Base) |
void | unRef (XrdOucCacheSlot *Base) |
XrdOucCacheSlot () | |
~XrdOucCacheSlot () | |
Static Public Member Functions | |
static int | Find (XrdOucCacheSlot *Base, long long What, int n) |
static void | Init (XrdOucCacheSlot *Base, int Num) |
Public Attributes | |
union { | |
long long Contents | |
XrdOucCacheIO * Key | |
}; | |
SlotState | Status |
SlotList | Own |
int | HLink |
int | Count |
Static Public Attributes | |
static const int | lenMask = 0x01ffffff |
static const int | isShort = 0x80000000 |
static const int | inTrans = 0x40000000 |
static const int | isSUSE = 0x20000000 |
static const int | isNew = 0x10000000 |
XrdOucCacheSlot::XrdOucCacheSlot | ( | ) | [inline] |
XrdOucCacheSlot::~XrdOucCacheSlot | ( | ) | [inline] |
void XrdOucCacheSlot::File | ( | XrdOucCacheIO * | kV, | |
int | you | |||
) | [inline] |
References Count, XrdOucCacheSlot::SlotState::Data, HLink, Key, and Status.
static int XrdOucCacheSlot::Find | ( | XrdOucCacheSlot * | Base, | |
long long | What, | |||
int | n | |||
) | [inline, static] |
void XrdOucCacheSlot::Hide | ( | XrdOucCacheSlot * | Base, | |
int * | hTab, | |||
int | hI | |||
) | [inline] |
static void XrdOucCacheSlot::Init | ( | XrdOucCacheSlot * | Base, | |
int | Num | |||
) | [inline, static] |
void XrdOucCacheSlot::Owner | ( | XrdOucCacheSlot * | Base, | |
XrdOucCacheSlot * | sP | |||
) | [inline] |
References XrdOucCacheSlot::SlotList::Next, Own, and XrdOucCacheSlot::SlotList::Prev.
void XrdOucCacheSlot::Owner | ( | XrdOucCacheSlot * | Base | ) | [inline] |
References XrdOucCacheSlot::SlotList::Next, Own, and XrdOucCacheSlot::SlotList::Prev.
int XrdOucCacheSlot::Pull | ( | XrdOucCacheSlot * | Base | ) | [inline] |
int XrdOucCacheSlot::Push | ( | XrdOucCacheSlot * | Base, | |
XrdOucCacheSlot * | sP | |||
) | [inline] |
References XrdOucCacheSlot::SlotState::LRU, XrdOucCacheSlot::SlotList::Next, XrdOucCacheSlot::SlotList::Prev, and Status.
Referenced by Init().
void XrdOucCacheSlot::reRef | ( | XrdOucCacheSlot * | Base | ) | [inline] |
void XrdOucCacheSlot::unRef | ( | XrdOucCacheSlot * | Base | ) | [inline] |
union { ... } |
long long XrdOucCacheSlot::Contents |
Referenced by File(), Find(), Hide(), and XrdOucCacheReal::ioLookup().
const int XrdOucCacheSlot::inTrans = 0x40000000 [static] |
const int XrdOucCacheSlot::isNew = 0x10000000 [static] |
const int XrdOucCacheSlot::isShort = 0x80000000 [static] |
const int XrdOucCacheSlot::isSUSE = 0x20000000 [static] |
Referenced by File().
const int XrdOucCacheSlot::lenMask = 0x01ffffff [static] |