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;
ioQ(ioQ *First, XrdSysSemaphore *ioW)
Definition: XrdOucCacheSlot.hh:125
void Owner(XrdOucCacheSlot *Base)
Definition: XrdOucCacheSlot.hh:90
static const int isNew
Definition: XrdOucCacheSlot.hh:148
int HLink
Definition: XrdOucCacheSlot.hh:141
~XrdOucCacheSlot()
Definition: XrdOucCacheSlot.hh:152
static int Find(XrdOucCacheSlot *Base, long long What, int n)
Definition: XrdOucCacheSlot.hh:48
void unRef(XrdOucCacheSlot *Base)
Definition: XrdOucCacheSlot.hh:109
static const int isSUSE
Definition: XrdOucCacheSlot.hh:147
int inUse
Definition: XrdOucCacheSlot.hh:133
Definition: XrdOucCacheSlot.hh:129
Definition: XrdOucCacheSlot.hh:122
void File(XrdOucCacheIO *kV, int you)
Definition: XrdOucCacheSlot.hh:45
Definition: XrdOucCacheData.hh:46
Definition: XrdOucCache.hh:102
static const int isShort
Definition: XrdOucCacheSlot.hh:145
Definition: XrdOucCacheSlot.hh:116
XrdOucCacheIO * Key
Definition: XrdOucCacheSlot.hh:137
int Count
Definition: XrdOucCacheSlot.hh:142
struct SlotList LRU
Definition: XrdOucCacheSlot.hh:132
void Hide(XrdOucCacheSlot *Base, int *hTab, int hI)
Definition: XrdOucCacheSlot.hh:53
void Owner(XrdOucCacheSlot *Base, XrdOucCacheSlot *sP)
Definition: XrdOucCacheSlot.hh:96
int Next
Definition: XrdOucCacheSlot.hh:118
Definition: XrdSysPthread.hh:403
SlotState Status
Definition: XrdOucCacheSlot.hh:139
static const int lenMask
Definition: XrdOucCacheSlot.hh:144
long long Contents
Definition: XrdOucCacheSlot.hh:136
struct ioQ * waitQ
Definition: XrdOucCacheSlot.hh:130
void reRef(XrdOucCacheSlot *Base)
Definition: XrdOucCacheSlot.hh:102
static const int inTrans
Definition: XrdOucCacheSlot.hh:146
SlotList Own
Definition: XrdOucCacheSlot.hh:140
Definition: XrdOucCacheSlot.hh:41
int Push(XrdOucCacheSlot *Base, XrdOucCacheSlot *sP)
Definition: XrdOucCacheSlot.hh:81
int Pull(XrdOucCacheSlot *Base)
Definition: XrdOucCacheSlot.hh:74
XrdOucCacheData * Data
Definition: XrdOucCacheSlot.hh:131
static void Init(XrdOucCacheSlot *Base, int Num)
Definition: XrdOucCacheSlot.hh:63
XrdOucCacheSlot()
Definition: XrdOucCacheSlot.hh:150
ioQ * Next
Definition: XrdOucCacheSlot.hh:123
int Prev
Definition: XrdOucCacheSlot.hh:119
XrdSysSemaphore * ioEnd
Definition: XrdOucCacheSlot.hh:124