TCommsBuf Class Reference

class TCommsBuf

Common (kernel and user-side) CommsBuf meta data.

Constructor & Destructor Documentation

TCommsBuf()

TCommsBuf ( ) [private, inline]

TCommsBuf(TInt, TUint, TInt, TInt)

TCommsBuf ( TInt aRawDataOffset,
TUint aBufSize,
TInt aHandle,
TInt aPool
) [private, inline]

Parameters

TInt aRawDataOffset
TUint aBufSize
TInt aHandle
TInt aPool

TCommsBuf(TInt, TUint, TInt)

TCommsBuf ( TInt aRawDataOffset,
TUint aBufSize,
TInt aPool
) [private, inline]

Parameters

TInt aRawDataOffset
TUint aBufSize
TInt aPool

Member Data Documentation

TInt iBackCanary

TInt iBackCanary [private]

TInt iFrontCanary

TInt iFrontCanary [private]

TInt iHandle

TInt iHandle [private]

TInt iLength

TInt iLength [private]

RCommsBuf * iNext

RCommsBuf * iNext [private]

RCommsBufChain iNextPkt

RCommsBufChain iNextPkt [private]

TInt iOffset

TInt iOffset [private]

TInt iPool

TInt iPool [private]

TInt iRawDataOffset

TInt iRawDataOffset [private]

TInt iRawSize

TInt iRawSize [private]

TUint8 iReservedBytes

TUint8 iReservedBytes [private]

TInt iReservedWords

TInt iReservedWords [private]

This large chunk of reserved words is effectively padding up to 64 bytes, ie a multiple of current target cache line length. As the next buffer begins on the next cache line (the space would only then be wasted.), the only conceivable cost is their initialisation. They are initialised in the interests of forward compatibility.

TUint8 iType

TUint8 iType [private]