X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fcm%2Fckw.c;h=d4afe919cd27d7ef6f77fdf2a81ee43578086b6d;hb=84670fed17a640ca68c199055b740c41f04c9f4d;hp=8c2a930da57d97d753dbecc07a2666b74a7d27d2;hpb=2e79829c81833df467daa9cce57a967d2224876e;p=o-du%2Fl2.git diff --git a/src/cm/ckw.c b/src/cm/ckw.c index 8c2a930da..d4afe919c 100755 --- a/src/cm/ckw.c +++ b/src/cm/ckw.c @@ -533,7 +533,7 @@ RlcCfgCfmInfo *cfgCfmInfo return ( ret1 ); } #endif /* ERRCLASS & ERRCLS_ADD_RES */ - if (SPutSBuf(pst->region, pst->pool, (Data *)cfgCfmInfo, + if (SPutSBufNewForDebug(__FILE__,__FUNCTION__,__LINE__,pst->region, pst->pool, (Data *)cfgCfmInfo, sizeof(RlcCfgCfmInfo)) != ROK) { SPutMsg(mBuf); @@ -618,14 +618,14 @@ CkwUeInfo *newUeInfo } CMCHKPK(cmPkCkwUeInfo, newUeInfo, mBuf); - if (SPutSBuf(pst->region, pst->pool, (Data *)newUeInfo, + if (SPutSBufNewForDebug(__FILE__,__FUNCTION__,__LINE__,pst->region, pst->pool, (Data *)newUeInfo, sizeof(CkwUeInfo)) != ROK) { SPutMsg(mBuf); return RFAILED; } CMCHKPK(cmPkCkwUeInfo, ueInfo, mBuf); - if (SPutSBuf(pst->region, pst->pool, (Data *)ueInfo, + if (SPutSBufNewForDebug(__FILE__,__FUNCTION__,__LINE__,pst->region, pst->pool, (Data *)ueInfo, sizeof(CkwUeInfo)) != ROK) { SPutMsg(mBuf); @@ -681,7 +681,7 @@ CmStatus status CMCHKPK(cmPkCmStatus, &status, mBuf); CMCHKPK(cmPkCkwUeInfo, ueInfo, mBuf); - if (SPutSBuf(pst->region, pst->pool, (Data *)ueInfo, + if (SPutSBufNewForDebug(__FILE__,__FUNCTION__,__LINE__,pst->region, pst->pool, (Data *)ueInfo, sizeof(CkwUeInfo)) != ROK) { SPutMsg(mBuf); @@ -1127,7 +1127,7 @@ Buffer *mBuf RlcCfgCfmInfo *cfgCfmInfo = NULLP; - if((ret1 = SGetSBuf(pst->region, pst->pool, (Data **)&cfgCfmInfo,\ + if((ret1 = SGetSBufNewForDebug(__FILE__,__FUNCTION__,__LINE__,pst->region, pst->pool, (Data **)&cfgCfmInfo,\ sizeof(RlcCfgCfmInfo))) != ROK) { #if (ERRCLASS & ERRCLS_ADD_RES) @@ -1227,7 +1227,7 @@ Buffer *mBuf CMCHKUNPK(SUnpkS16, &(spId), mBuf); CMCHKUNPKLOG(oduPackUInt32, &transId, mBuf, ECKW037, pst); - if((ret1 = SGetSBuf(pst->region, pst->pool, (Data **)&ueInfo,\ + if((ret1 = SGetSBufNewForDebug(__FILE__,__FUNCTION__,__LINE__,pst->region, pst->pool, (Data **)&ueInfo,\ sizeof(CkwUeInfo))) != ROK) { #if (ERRCLASS & ERRCLS_ADD_RES) @@ -1254,7 +1254,7 @@ Buffer *mBuf } #endif /* ERRCLASS & ERRCLS_DEBUG */ - if((ret1 = SGetSBuf(pst->region, pst->pool, (Data **)&newUeInfo,\ + if((ret1 = SGetSBufNewForDebug(__FILE__,__FUNCTION__,__LINE__,pst->region, pst->pool, (Data **)&newUeInfo,\ sizeof(CkwUeInfo))) != ROK) { #if (ERRCLASS & ERRCLS_ADD_RES) @@ -1319,7 +1319,7 @@ Buffer *mBuf CMCHKUNPK(SUnpkS16, &suId, mBuf); CMCHKUNPKLOG(oduPackUInt32, &transId, mBuf, ECKW042, pst); - if((ret1 = SGetSBuf(pst->region, pst->pool, (Data **)&ueInfo,\ + if((ret1 = SGetSBufNewForDebug(__FILE__,__FUNCTION__,__LINE__,pst->region, pst->pool, (Data **)&ueInfo,\ sizeof(CkwUeInfo))) != ROK) { #if (ERRCLASS & ERRCLS_ADD_RES)