#include <XrdClientReadV.hh>
Static Public Member Functions | |
static kXR_int64 | ReqReadV (XrdClientConn *xrdc, char *handle, char *destbuf, XrdClientVector< XrdClientReadVinfo > &reqvect, int firstreq, int nreq, int streamtosend) |
static kXR_int32 | UnpackReadVResp (char *destbuf, char *respdata, kXR_int32 respdatalen, readahead_list *buflis, int nbuf) |
static kXR_int32 | SubmitToCacheReadVResp (XrdClientConn *xrdc, char *respdata, kXR_int32 respdatalen) |
static void | PreProcessChunkRequest (XrdClientVector< XrdClientReadVinfo > &reqvect, kXR_int64 offs, kXR_int32 len, kXR_int64 filelen) |
static void | PreProcessChunkRequest (XrdClientVector< XrdClientReadVinfo > &reqvect, kXR_int64 offs, kXR_int32 len, kXR_int64 filelen, kXR_int32 spltsize) |
Definition at line 28 of file XrdClientReadV.hh.
kXR_int64 XrdClientReadV::ReqReadV | ( | XrdClientConn * | xrdc, | |
char * | handle, | |||
char * | destbuf, | |||
XrdClientVector< XrdClientReadVinfo > & | reqvect, | |||
int | firstreq, | |||
int | nreq, | |||
int | streamtosend | |||
) | [static] |
Definition at line 23 of file XrdClientReadV.cc.
References clientMarshallReadAheadList(), clientUnMarshallReadAheadList(), ServerResponseHeader::dlen, FALSE, i, Info, XrdClientDebug::kHIDEBUG, kOK, XrdClientDebug::kUSERDEBUG, kXR_readv, XrdClientConn::LastServerResp, readahead_list::offset, READV_MAXCHUNKS, readahead_list::rlen, XrdClientConn::SendGenCommand(), XrdClientConn::SetSID(), XrdClientConn::SubmitPlaceholderToCache(), UnpackReadVResp(), and XrdClientConn::WriteToServer_Async().
Referenced by XrdClient::ReadV().
kXR_int32 XrdClientReadV::UnpackReadVResp | ( | char * | destbuf, | |
char * | respdata, | |||
kXR_int32 | respdatalen, | |||
readahead_list * | buflis, | |||
int | nbuf | |||
) | [static] |
Definition at line 99 of file XrdClientReadV.cc.
References Error, i, ntohll, and readahead_list::rlen.
Referenced by ReqReadV().
int XrdClientReadV::SubmitToCacheReadVResp | ( | XrdClientConn * | xrdc, | |
char * | respdata, | |||
kXR_int32 | respdatalen | |||
) | [static] |
Definition at line 155 of file XrdClientReadV.cc.
References free(), malloc(), ntohll, readahead_list::rlen, and XrdClientConn::SubmitRawDataToCache().
Referenced by XrdClient::ProcessUnsolicitedMsg().
static void XrdClientReadV::PreProcessChunkRequest | ( | XrdClientVector< XrdClientReadVinfo > & | reqvect, | |
kXR_int64 | offs, | |||
kXR_int32 | len, | |||
kXR_int64 | filelen | |||
) | [static] |
Referenced by XrdClient::ReadV().
void XrdClientReadV::PreProcessChunkRequest | ( | XrdClientVector< XrdClientReadVinfo > & | reqvect, | |
kXR_int64 | offs, | |||
kXR_int32 | len, | |||
kXR_int64 | filelen, | |||
kXR_int32 | spltsize | |||
) | [static] |
Definition at line 221 of file XrdClientReadV.cc.
References XrdClientReadVinfo::len, XrdClientReadVinfo::offset, XrdClientVector< T >::Push_back(), READV_MAXCHUNKSIZE, and xrdmin.