Go to the documentation of this file. 1 #ifndef __XRDOUCCACHESLOT_HH__
2 #define __XRDOUCCACHESLOT_HH__
54 {
int j, Slot =
this-Base;
55 if (hTab[hI] == Slot) hTab[hI] =
HLink;
56 else if ((j = hTab[hI]))
57 {
while((hI=Base[j].
HLink) && hI != Slot) j=hI;
67 for (i = 1; i < Num; i++)
70 Base->
Push(Base, &Base[i]);
82 {
int UrNum = sP-Base, MyNum =
this-Base;
97 {
int UrNum = sP-Base, MyNum =
this-Base;
148 static const int isNew = 0x10000000;
struct SlotList LRU
Definition: XrdOucCacheSlot.hh:132
Definition: XrdOucCacheData.hh:46
void unRef(XrdOucCacheSlot *Base)
Definition: XrdOucCacheSlot.hh:109
static const int isSUSE
Definition: XrdOucCacheSlot.hh:147
Definition: XrdOucCache.hh:127
void reRef(XrdOucCacheSlot *Base)
Definition: XrdOucCacheSlot.hh:102
void Hide(XrdOucCacheSlot *Base, int *hTab, int hI)
Definition: XrdOucCacheSlot.hh:53
Definition: XrdOucCacheSlot.hh:122
static const int inTrans
Definition: XrdOucCacheSlot.hh:146
ioQ(ioQ *First, XrdSysSemaphore *ioW)
Definition: XrdOucCacheSlot.hh:125
Definition: XrdOucCacheSlot.hh:129
int Push(XrdOucCacheSlot *Base, XrdOucCacheSlot *sP)
Definition: XrdOucCacheSlot.hh:81
static const int lenMask
Definition: XrdOucCacheSlot.hh:144
int Prev
Definition: XrdOucCacheSlot.hh:119
static const int isShort
Definition: XrdOucCacheSlot.hh:145
struct ioQ * waitQ
Definition: XrdOucCacheSlot.hh:130
static void Init(XrdOucCacheSlot *Base, int Num)
Definition: XrdOucCacheSlot.hh:63
void File(XrdOucCacheIO *kV, int you)
Definition: XrdOucCacheSlot.hh:45
int Pull(XrdOucCacheSlot *Base)
Definition: XrdOucCacheSlot.hh:74
int Count
Definition: XrdOucCacheSlot.hh:142
void Owner(XrdOucCacheSlot *Base)
Definition: XrdOucCacheSlot.hh:90
Definition: XrdOucCacheSlot.hh:116
static const int isNew
Definition: XrdOucCacheSlot.hh:148
Definition: XrdSysPthread.hh:403
XrdOucCacheData * Data
Definition: XrdOucCacheSlot.hh:131
SlotList Own
Definition: XrdOucCacheSlot.hh:140
~XrdOucCacheSlot()
Definition: XrdOucCacheSlot.hh:152
static int Find(XrdOucCacheSlot *Base, long long What, int n)
Definition: XrdOucCacheSlot.hh:48
int HLink
Definition: XrdOucCacheSlot.hh:141
long long Contents
Definition: XrdOucCacheSlot.hh:136
Definition: XrdOucCacheSlot.hh:41
SlotState Status
Definition: XrdOucCacheSlot.hh:139
int Next
Definition: XrdOucCacheSlot.hh:118
XrdOucCacheSlot()
Definition: XrdOucCacheSlot.hh:150
void Owner(XrdOucCacheSlot *Base, XrdOucCacheSlot *sP)
Definition: XrdOucCacheSlot.hh:96
ioQ * Next
Definition: XrdOucCacheSlot.hh:123
XrdOucCacheIO * Key
Definition: XrdOucCacheSlot.hh:137
int inUse
Definition: XrdOucCacheSlot.hh:133
XrdSysSemaphore * ioEnd
Definition: XrdOucCacheSlot.hh:124