#include <XrdXrootdPio.hh>
Public Member Functions | |
| XrdXrootdPio * | Clear (XrdXrootdPio *np=0) |
| void | Recycle () |
| void | Set (XrdXrootdFile *theFile, long long theOffset, int theIOLen, const kXR_char *theSID, char theW) |
| XrdXrootdPio (XrdXrootdPio *np=0) | |
| ~XrdXrootdPio () | |
Static Public Member Functions | |
| static XrdXrootdPio * | Alloc (int n=1) |
Public Attributes | |
| XrdXrootdPio * | Next |
| XrdXrootdFile * | myFile |
| long long | myOffset |
| int | myIOLen |
| kXR_char | StreamID [2] |
| char | isWrite |
Static Private Attributes | |
| static const int | FreeMax = 256 |
| static XrdSysMutex | myMutex |
| static XrdXrootdPio * | Free |
| static int | FreeNum |
Definition at line 20 of file XrdXrootdPio.hh.
| XrdXrootdPio::XrdXrootdPio | ( | XrdXrootdPio * | np = 0 |
) | [inline] |
| XrdXrootdPio::~XrdXrootdPio | ( | ) | [inline] |
Definition at line 51 of file XrdXrootdPio.hh.
| XrdXrootdPio * XrdXrootdPio::Alloc | ( | int | n = 1 |
) | [static] |
Definition at line 29 of file XrdXrootdPio.cc.
References Free, FreeNum, XrdSysMutex::Lock(), myMutex, Next, XrdSysMutex::UnLock(), and XrdXrootdPio().
Referenced by XrdXrootdProtocol::do_Bind().
| XrdXrootdPio* XrdXrootdPio::Clear | ( | XrdXrootdPio * | np = 0 |
) | [inline] |
| void XrdXrootdPio::Recycle | ( | ) |
Definition at line 57 of file XrdXrootdPio.cc.
References Clear(), Free, FreeMax, FreeNum, XrdSysMutex::Lock(), myMutex, and XrdSysMutex::UnLock().
Referenced by XrdXrootdProtocol::Cleanup().
| void XrdXrootdPio::Set | ( | XrdXrootdFile * | theFile, | |
| long long | theOffset, | |||
| int | theIOLen, | |||
| const kXR_char * | theSID, | |||
| char | theW | |||
| ) | [inline] |
Definition at line 41 of file XrdXrootdPio.hh.
References isWrite, myFile, myIOLen, myOffset, and StreamID.
Referenced by Clear(), and XrdXrootdProtocol::do_Offload().
Definition at line 24 of file XrdXrootdPio.hh.
Referenced by Alloc(), XrdXrootdProtocol::Cleanup(), Clear(), XrdXrootdProtocol::do_Offload(), and XrdXrootdProtocol::do_OffloadIO().
Definition at line 25 of file XrdXrootdPio.hh.
Referenced by XrdXrootdProtocol::do_OffloadIO(), and Set().
Definition at line 26 of file XrdXrootdPio.hh.
Referenced by XrdXrootdProtocol::do_OffloadIO(), and Set().
Definition at line 27 of file XrdXrootdPio.hh.
Referenced by XrdXrootdProtocol::do_OffloadIO(), and Set().
Definition at line 28 of file XrdXrootdPio.hh.
Referenced by XrdXrootdProtocol::do_OffloadIO(), and Set().
Definition at line 29 of file XrdXrootdPio.hh.
Referenced by XrdXrootdProtocol::do_OffloadIO(), and Set().
const int XrdXrootdPio::FreeMax = 256 [static, private] |
XrdSysMutex XrdXrootdPio::myMutex [static, private] |
XrdXrootdPio * XrdXrootdPio::Free [static, private] |
int XrdXrootdPio::FreeNum [static, private] |
1.5.1