1 #ifndef __XRDRMCREAL_HH__
2 #define __XRDRMCREAL_HH__
56 void eMsg(
const char *
Path,
const char *What,
long long xOff,
59 char *Get(
XrdOucCacheIO *ioP,
long long lAddr,
int &rGot,
int &bIO);
68 return ((Key.sV[0]^Key.sV[1]^Key.sV[2]^Key.sV[3])&0x7fff)%hMax;
71 int ioLookup(
int &pip,
int hip,
void *kval)
73 while(hip && kval != Slots[hip].Key)
74 {pip = hip; hip = Slots[hip].
HLink;}
78 int Ref(
char *Addr,
int rAmt,
int sFlags=0);
80 void Upd(
char *Addr,
int wAmt,
int wOff);
82 static const long long Shift = 48;
83 static const long long Strip = 0x00000000ffffffffLL;
84 static const long long MaxFO = 0x000007ffffffffffLL;
126 void PreRead(XrdRmcReal::prTask *prReq);
bool Detach(XrdOucCacheIOCD &iocd)
XrdOucCacheIO * Attach(XrdOucCacheIO *ioP, int Options=0)
XrdRmcReal(int &rc, XrdRmc::Parms &Parms, XrdOucCacheIO::aprParms *aprP=0)
Parameters for a newly created memory cache.