|
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 Status, XrdOucCacheSlot::SlotState::Data, Key, HLink, and Count.
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 HLink, Count, and Contents.
Referenced by XrdOucCacheReal::Detach(), XrdOucCacheReal::Get(), and XrdOucCacheReal::Trunc().
| static void XrdOucCacheSlot::Init | ( | XrdOucCacheSlot * | Base, |
| int | Num | ||
| ) | [inline, static] |
References Status, XrdOucCacheSlot::SlotState::LRU, XrdOucCacheSlot::SlotList::Next, XrdOucCacheSlot::SlotList::Prev, Own, and Push().
Referenced by XrdOucCacheReal::XrdOucCacheReal().
| void XrdOucCacheSlot::Owner | ( | XrdOucCacheSlot * | Base | ) | [inline] |
References Own, XrdOucCacheSlot::SlotList::Prev, and XrdOucCacheSlot::SlotList::Next.
Referenced by XrdOucCacheReal::Detach(), XrdOucCacheReal::Get(), and XrdOucCacheReal::Trunc().
| void XrdOucCacheSlot::Owner | ( | XrdOucCacheSlot * | Base, |
| XrdOucCacheSlot * | sP | ||
| ) | [inline] |
References Own, XrdOucCacheSlot::SlotList::Next, and XrdOucCacheSlot::SlotList::Prev.
| int XrdOucCacheSlot::Pull | ( | XrdOucCacheSlot * | Base | ) | [inline] |
References Status, XrdOucCacheSlot::SlotState::LRU, XrdOucCacheSlot::SlotList::Prev, and XrdOucCacheSlot::SlotList::Next.
Referenced by XrdOucCacheReal::Detach(), XrdOucCacheReal::Get(), and XrdOucCacheReal::Trunc().
| int XrdOucCacheSlot::Push | ( | XrdOucCacheSlot * | Base, |
| XrdOucCacheSlot * | sP | ||
| ) | [inline] |
References Status, XrdOucCacheSlot::SlotState::LRU, XrdOucCacheSlot::SlotList::Next, and XrdOucCacheSlot::SlotList::Prev.
Referenced by Init().
| void XrdOucCacheSlot::reRef | ( | XrdOucCacheSlot * | Base | ) | [inline] |
References Status, XrdOucCacheSlot::SlotState::LRU, XrdOucCacheSlot::SlotList::Prev, and XrdOucCacheSlot::SlotList::Next.
Referenced by XrdOucCacheReal::Ref(), and XrdOucCacheReal::Upd().
| void XrdOucCacheSlot::unRef | ( | XrdOucCacheSlot * | Base | ) | [inline] |
References Status, XrdOucCacheSlot::SlotState::LRU, XrdOucCacheSlot::SlotList::Next, and XrdOucCacheSlot::SlotList::Prev.
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 XrdOucCacheData::Preread(), and XrdOucCacheReal::Get().
const int XrdOucCacheSlot::isShort = 0x80000000 [static] |
Referenced by XrdOucCacheReal::Upd().
const int XrdOucCacheSlot::isSUSE = 0x20000000 [static] |
Referenced by XrdOucCacheReal::Ref().
Referenced by File().
const int XrdOucCacheSlot::lenMask = 0x01ffffff [static] |
Referenced by XrdOucCacheReal::Attach(), XrdOucCacheReal::Detach(), XrdOucCacheReal::Get(), XrdOucCacheReal::Ref(), XrdOucCacheReal::Upd(), File(), Init(), Pull(), Push(), reRef(), and unRef().
1.7.5