* the contents and pass the pointer of the allocated memory. The
* subsequent free would be done during the Unpack function of the
* primitive. */
- if((ret1 = SGetStaticBuffer(pst->region, pst->pool, (Data **)&datReqInfo,
+ if((ret1 = SGetStaticBufNewForDebug(__FILE__,__FUNCTION__,__LINE__,pst->region, pst->pool, (Data **)&datReqInfo,
sizeof(RlcDatReqInfo),SS_SHARABLE_MEMORY)) != ROK)
{
#if (ERRCLASS & ERRCLS_ADD_RES)
#endif /* ERRCLASS & ERRCLS_ADD_RES */
if(pst->srcEnt == ENTNH)
{
- if (SPutStaticBuffer(pst->region, pst->pool, (Data *)datReq,
+ if (SPutStaticBufNewForDebug(__FILE__,__FUNCTION__,__LINE__,pst->region, pst->pool, (Data *)datReq,
sizeof(RlcDatReqInfo),SS_SHARABLE_MEMORY) != ROK)
{
SPutMsg(mBuf);
ret1 = SPstTsk(pst,mBuf);
if(pst->selector == ODU_SELECTOR_LC)
{
- if (SPutStaticBuffer(pst->region, pst->pool, (Data *)datReq,
+ if (SPutStaticBufNewForDebug(__FILE__,__FUNCTION__,__LINE__,pst->region, pst->pool, (Data *)datReq,
sizeof(RlcDatReqInfo),SS_SHARABLE_MEMORY) != ROK)
{
SPutMsg(mBuf);
* the contents and pass the pointer of the allocated memory. The
* subsequent free would be done during the Unpack function of the
* primitive. */
- if((ret1 = SGetStaticBuffer(pst->region, pst->pool, (Data **)&datIndInfo,
+ if((ret1 = SGetStaticBufNewForDebug(__FILE__,__FUNCTION__,__LINE__,pst->region, pst->pool, (Data **)&datIndInfo,
sizeof(KwuDatIndInfo),SS_SHARABLE_MEMORY)) != ROK)
{
#if (ERRCLASS & ERRCLS_ADD_RES)
#else
cmPkKwuDatCfmInfo( (datCfm), mBuf);
#endif /* ERRCLASS & ERRCLS_ADD_RES */
- if (SPutStaticBuffer(pst->region, pst->pool, (Data *)datCfm,
+ if (SPutStaticBufNewForDebug(__FILE__,__FUNCTION__,__LINE__,pst->region, pst->pool, (Data *)datCfm,
sizeof(KwuDatCfmInfo),SS_SHARABLE_MEMORY) != ROK)
{
SPutMsg(mBuf);
* the contents and pass the pointer of the allocated memory. The
* subsequent free would be done during the Unpack function of the
* primitive. */
- if((ret1 = SGetStaticBuffer(pst->region, pst->pool, (Data **)&discSduInfo,
+ if((ret1 = SGetStaticBufNewForDebug(__FILE__,__FUNCTION__,__LINE__,pst->region, pst->pool, (Data **)&discSduInfo,
sizeof(KwuDiscSduInfo),SS_SHARABLE_MEMORY)) != ROK)
{
#if (ERRCLASS & ERRCLS_ADD_RES)
#else
cmPkKwuStaIndInfo( (staInd), mBuf);
#endif /* ERRCLASS & ERRCLS_ADD_RES */
- if (SPutStaticBuffer(pst->region, pst->pool, (Data *)staInd,
+ if (SPutStaticBufNewForDebug(__FILE__,__FUNCTION__,__LINE__,pst->region, pst->pool, (Data *)staInd,
sizeof(KwuStaIndInfo),SS_SHARABLE_MEMORY) != ROK)
{
SPutMsg(mBuf);
#else
cmPkKwuDiscSduInfo((discCfmSdu), mBuf);
#endif /* ERRCLASS & ERRCLS_ADD_RES */
- if (SPutStaticBuffer(pst->region, pst->pool, (Data *)discCfmSdu,
+ if (SPutStaticBufNewForDebug(__FILE__,__FUNCTION__,__LINE__,pst->region, pst->pool, (Data *)discCfmSdu,
sizeof(KwuDiscSduInfo),SS_SHARABLE_MEMORY) != ROK)
{
SPutMsg(mBuf);
if (SGetMsg(pst->region, pst->pool, &mBuf) != ROK)
{
- SPutStaticBuffer(pst->region,
+ SPutStaticBufNewForDebug(__FILE__,__FUNCTION__,__LINE__,pst->region,
pst->pool,
(Data *)flowCntrlIndInfo,
sizeof(KwuFlowCntrlIndInfo),0);
{
cmPkKwuFlowCntrlIndInfo((flowCntrlIndInfo), mBuf);
- if (SPutStaticBuffer(pst->region,
+ if (SPutStaticBufNewForDebug(__FILE__,__FUNCTION__,__LINE__,pst->region,
pst->pool,
(Data *)flowCntrlIndInfo,
sizeof(KwuFlowCntrlIndInfo),0) != ROK)
return ( ret1 );
}
#endif /* ERRCLASS & ERRCLS_ADD_RES */
- if (SPutStaticBuffer(pst->region, pst->pool, (Data *)datInd,
+ if (SPutStaticBufNewForDebug(__FILE__,__FUNCTION__,__LINE__,pst->region, pst->pool, (Data *)datInd,
sizeof(KwuDatAckInfo),SS_SHARABLE_MEMORY) != ROK)
{
SPutMsg(mBuf);
* free the memory here. */
if(pst->selector == ODU_SELECTOR_LWLC)
{
- retVal = SPutStaticBuffer(pst->region, pst->pool, (Data *)datReq,
+ retVal = SPutStaticBufNewForDebug(__FILE__,__FUNCTION__,__LINE__,pst->region, pst->pool, (Data *)datReq,
sizeof(RlcDatReqInfo),SS_SHARABLE_MEMORY);
}
return (retVal);
* doesn't free any memory */
if(pst->dstEnt != ENTPJ)
{
- if((ret1 = SGetStaticBuffer(pst->region, pst->pool, (Data **)&datInd,
+ if((ret1 = SGetStaticBufNewForDebug(__FILE__,__FUNCTION__,__LINE__,pst->region, pst->pool, (Data **)&datInd,
sizeof(KwuDatIndInfo),SS_SHARABLE_MEMORY)) != ROK)
{
#if (ERRCLASS & ERRCLS_ADD_RES)
* free the memory here. */
if((pst->selector == ODU_SELECTOR_LWLC) && (pst->dstEnt == ENTPJ))
{
- retVal = SPutStaticBuffer(pst->region, pst->pool, (Data *)datInd,
+ retVal = SPutStaticBufNewForDebug(__FILE__,__FUNCTION__,__LINE__,pst->region, pst->pool, (Data *)datInd,
sizeof(KwuDatIndInfo),SS_SHARABLE_MEMORY);
}
return (retVal);
break;
case ODU_SELECTOR_LC:
{
- if((ret1 = SGetStaticBuffer(pst->region, pst->pool, (Data **)&datCfm,\
+ if((ret1 = SGetStaticBufNewForDebug(__FILE__,__FUNCTION__,__LINE__,pst->region, pst->pool, (Data **)&datCfm,\
sizeof(KwuDatCfmInfo),SS_SHARABLE_MEMORY)) != ROK)
{
#if (ERRCLASS & ERRCLS_ADD_RES)
break;
case ODU_SELECTOR_LC:
{
- if((ret1 = SGetStaticBuffer(pst->region, pst->pool, (Data **)&discSdu,\
+ if((ret1 = SGetStaticBufNewForDebug(__FILE__,__FUNCTION__,__LINE__,pst->region, pst->pool, (Data **)&discSdu,\
sizeof(KwuDiscSduInfo),SS_SHARABLE_MEMORY)) != ROK)
{
#if (ERRCLASS & ERRCLS_ADD_RES)
break;
case ODU_SELECTOR_LC:
{
- if((ret1 = SGetStaticBuffer(pst->region, pst->pool, (Data **)&staInd,\
+ if((ret1 = SGetStaticBufNewForDebug(__FILE__,__FUNCTION__,__LINE__,pst->region, pst->pool, (Data **)&staInd,\
sizeof(KwuStaIndInfo),SS_SHARABLE_MEMORY)) != ROK)
{
#if (ERRCLASS & ERRCLS_ADD_RES)
break;
case ODU_SELECTOR_LC:
{
- if((ret1 = SGetStaticBuffer(pst->region, pst->pool, (Data **)&discSdu,\
+ if((ret1 = SGetStaticBufNewForDebug(__FILE__,__FUNCTION__,__LINE__,pst->region, pst->pool, (Data **)&discSdu,\
sizeof(KwuDiscSduInfo),SS_SHARABLE_MEMORY)) != ROK)
{
#if (ERRCLASS & ERRCLS_ADD_RES)
#ifdef LCKWU
case ODU_SELECTOR_LC:
{
- if(SGetStaticBuffer(pst->region,
+ if(SGetStaticBufNewForDebug(__FILE__,__FUNCTION__,__LINE__,pst->region,
pst->pool,
(Data **)&flowCntrlInfo,
sizeof(KwuFlowCntrlIndInfo),0) != ROK)
KwuDatAckInfo *datInd = NULLP;
- if((ret1 = SGetStaticBuffer(pst->region, pst->pool, (Data **)&datInd,\
+ if((ret1 = SGetStaticBufNewForDebug(__FILE__,__FUNCTION__,__LINE__,pst->region, pst->pool, (Data **)&datInd,\
sizeof(KwuDatAckInfo),SS_SHARABLE_MEMORY)) != ROK)
{
#if (ERRCLASS & ERRCLS_ADD_RES)