|
xrootd
|
#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.
Referenced by XrdOucCacheReal::ioAdd().
| static int XrdOucCacheSlot::Find | ( | XrdOucCacheSlot * | Base, |
| long long | What, | ||
| int | n | ||
| ) | [inline, static] |
References Contents, and HLink.
Referenced by XrdOucCacheReal::Get().
| void XrdOucCacheSlot::Hide | ( | XrdOucCacheSlot * | Base, |
| int * | hTab, | ||
| int | hI | ||
| ) | [inline] |
References Contents, Count, and HLink.
Referenced by XrdOucCacheReal::Detach(), XrdOucCacheReal::Get(), and XrdOucCacheReal::Trunc().
| static void XrdOucCacheSlot::Init | ( | XrdOucCacheSlot * | Base, |
| int | Num | ||
| ) | [inline, static] |
References XrdOucCacheSlot::SlotState::LRU, XrdOucCacheSlot::SlotList::Next, Own, XrdOucCacheSlot::SlotList::Prev, Push(), and Status.
Referenced by XrdOucCacheReal::XrdOucCacheReal().
| void XrdOucCacheSlot::Owner | ( | XrdOucCacheSlot * | Base | ) | [inline] |
References XrdOucCacheSlot::SlotList::Next, Own, and XrdOucCacheSlot::SlotList::Prev.
Referenced by XrdOucCacheReal::Detach(), XrdOucCacheReal::Get(), and XrdOucCacheReal::Trunc().
| void XrdOucCacheSlot::Owner | ( | XrdOucCacheSlot * | Base, |
| XrdOucCacheSlot * | sP | ||
| ) | [inline] |
References XrdOucCacheSlot::SlotList::Next, Own, and XrdOucCacheSlot::SlotList::Prev.
| int XrdOucCacheSlot::Pull | ( | XrdOucCacheSlot * | Base | ) | [inline] |
References XrdOucCacheSlot::SlotState::LRU, XrdOucCacheSlot::SlotList::Next, XrdOucCacheSlot::SlotList::Prev, and Status.
Referenced by XrdOucCacheReal::Detach(), XrdOucCacheReal::Get(), and XrdOucCacheReal::Trunc().
| 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] |
References XrdOucCacheSlot::SlotState::LRU, XrdOucCacheSlot::SlotList::Next, XrdOucCacheSlot::SlotList::Prev, and Status.
Referenced by XrdOucCacheReal::Ref(), and XrdOucCacheReal::Upd().
| void XrdOucCacheSlot::unRef | ( | XrdOucCacheSlot * | Base | ) | [inline] |
References XrdOucCacheSlot::SlotState::LRU, XrdOucCacheSlot::SlotList::Next, XrdOucCacheSlot::SlotList::Prev, and Status.
Referenced by XrdOucCacheReal::Detach(), XrdOucCacheReal::Get(), XrdOucCacheReal::Ref(), and XrdOucCacheReal::Trunc().
| union { ... } |
| long long XrdOucCacheSlot::Contents |
const int XrdOucCacheSlot::inTrans = 0x40000000 [static] |
Referenced by XrdOucCacheReal::Get().
const int XrdOucCacheSlot::isNew = 0x10000000 [static] |
Referenced by XrdOucCacheReal::Get(), and XrdOucCacheData::Preread().
const int XrdOucCacheSlot::isShort = 0x80000000 [static] |
Referenced by XrdOucCacheReal::Get(), and XrdOucCacheReal::Upd().
const int XrdOucCacheSlot::isSUSE = 0x20000000 [static] |
Referenced by XrdOucCacheData::Preread(), and XrdOucCacheReal::Ref().
Referenced by File().
const int XrdOucCacheSlot::lenMask = 0x01ffffff [static] |
Referenced by XrdOucCacheReal::Get(), XrdOucCacheReal::Ref(), XrdOucCacheReal::Upd(), and XrdOucCacheReal::XrdOucCacheReal().
Referenced by XrdOucCacheReal::Attach(), XrdOucCacheReal::Detach(), File(), XrdOucCacheReal::Get(), Init(), Pull(), Push(), XrdOucCacheReal::Ref(), reRef(), unRef(), and XrdOucCacheReal::Upd().
1.8.0