Code Review
/
o-du
/
l2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[Epic-ID: ODUHIGH-464][Task-ID: ODUHIGH-479] WG8 Alignment | Second Phase | UeCfg...
[o-du/l2.git]
/
src
/
cm
/
rgm.c
diff --git
a/src/cm/rgm.c
b/src/cm/rgm.c
index
0471a67
..
9857653
100755
(executable)
--- a/
src/cm/rgm.c
+++ b/
src/cm/rgm.c
@@
-284,20
+284,20
@@
RgmPrbRprtCfg * prbRprtCfg
if (SGetMsg(pst->region, pst->pool, &mBuf) != ROK)
{
if (SGetMsg(pst->region, pst->pool, &mBuf) != ROK)
{
- SPutSBuf
(
pst->region, pst->pool, (Data *)prbRprtCfg, sizeof(RgmPrbRprtCfg));
+ SPutSBuf
NewForDebug(__FILE__,__FUNCTION__,__LINE__,
pst->region, pst->pool, (Data *)prbRprtCfg, sizeof(RgmPrbRprtCfg));
return RFAILED;
}
if(oduPackPointer((PTR)prbRprtCfg, mBuf) != ROK)
{
SPutMsg(mBuf);
return RFAILED;
}
if(oduPackPointer((PTR)prbRprtCfg, mBuf) != ROK)
{
SPutMsg(mBuf);
- SPutSBuf
(
pst->region, pst->pool, (Data*)prbRprtCfg, len);
+ SPutSBuf
NewForDebug(__FILE__,__FUNCTION__,__LINE__,
pst->region, pst->pool, (Data*)prbRprtCfg, len);
return RFAILED;
}
if (SPkS16(spId, mBuf) != ROK)
{
return RFAILED;
}
if (SPkS16(spId, mBuf) != ROK)
{
- SPutSBuf
(
pst->region, pst->pool, (Data *)prbRprtCfg, sizeof(RgmPrbRprtCfg));
+ SPutSBuf
NewForDebug(__FILE__,__FUNCTION__,__LINE__,
pst->region, pst->pool, (Data *)prbRprtCfg, sizeof(RgmPrbRprtCfg));
SPutMsg(mBuf);
return RFAILED;
}
SPutMsg(mBuf);
return RFAILED;
}
@@
-341,7
+341,7
@@
Buffer *mBuf
if (oduUnpackPointer((PTR *)&prbRprtCfg, mBuf) != ROK)
{
SPutMsg(mBuf);
if (oduUnpackPointer((PTR *)&prbRprtCfg, mBuf) != ROK)
{
SPutMsg(mBuf);
- SPutSBuf
(
pst->region, pst->pool, (Data *)prbRprtCfg, sizeof(RgmPrbRprtCfg));
+ SPutSBuf
NewForDebug(__FILE__,__FUNCTION__,__LINE__,
pst->region, pst->pool, (Data *)prbRprtCfg, sizeof(RgmPrbRprtCfg));
return RFAILED;
}
return RFAILED;
}
@@
-376,20
+376,20
@@
RgmPrbRprtInd * prbRprtInd
if (SGetMsg(pst->region, pst->pool, &mBuf) != ROK) {
if (SGetMsg(pst->region, pst->pool, &mBuf) != ROK) {
- SPutSBuf
(
pst->region, pst->pool, (Data *)prbRprtInd, sizeof(RgmPrbRprtInd));
+ SPutSBuf
NewForDebug(__FILE__,__FUNCTION__,__LINE__,
pst->region, pst->pool, (Data *)prbRprtInd, sizeof(RgmPrbRprtInd));
return RFAILED;
}
if(oduPackPointer((PTR)prbRprtInd, mBuf) != ROK)
{
return RFAILED;
}
if(oduPackPointer((PTR)prbRprtInd, mBuf) != ROK)
{
- SPutSBuf
(
pst->region, pst->pool, (Data *)prbRprtInd, sizeof(RgmPrbRprtInd));
+ SPutSBuf
NewForDebug(__FILE__,__FUNCTION__,__LINE__,
pst->region, pst->pool, (Data *)prbRprtInd, sizeof(RgmPrbRprtInd));
SPutMsg(mBuf);
return RFAILED;
}
if (SPkS16(suId, mBuf) != ROK)
{
SPutMsg(mBuf);
return RFAILED;
}
if (SPkS16(suId, mBuf) != ROK)
{
- SPutSBuf
(
pst->region, pst->pool, (Data *)prbRprtInd, sizeof(RgmPrbRprtInd));
+ SPutSBuf
NewForDebug(__FILE__,__FUNCTION__,__LINE__,
pst->region, pst->pool, (Data *)prbRprtInd, sizeof(RgmPrbRprtInd));
SPutMsg(mBuf);
return RFAILED;
}
SPutMsg(mBuf);
return RFAILED;
}
@@
-433,7
+433,7
@@
Buffer *mBuf
if (oduUnpackPointer((PTR *)&prbRprtInd, mBuf) != ROK)
{
SPutMsg(mBuf);
if (oduUnpackPointer((PTR *)&prbRprtInd, mBuf) != ROK)
{
SPutMsg(mBuf);
- SPutSBuf
(
pst->region, pst->pool, (Data *)prbRprtInd, sizeof(RgmPrbRprtInd));
+ SPutSBuf
NewForDebug(__FILE__,__FUNCTION__,__LINE__,
pst->region, pst->pool, (Data *)prbRprtInd, sizeof(RgmPrbRprtInd));
return RFAILED;
}
return RFAILED;
}
@@
-780,25
+780,25
@@
RgmPrbRprtCfg * prbRprtCfg
if (SGetMsg(pst->region, pst->pool, &mBuf) != ROK)
{
if (SGetMsg(pst->region, pst->pool, &mBuf) != ROK)
{
- SPutSBuf
(
pst->region, pst->pool, (Data *)prbRprtCfg, sizeof(RgmPrbRprtCfg));
+ SPutSBuf
NewForDebug(__FILE__,__FUNCTION__,__LINE__,
pst->region, pst->pool, (Data *)prbRprtCfg, sizeof(RgmPrbRprtCfg));
return RFAILED;
}
if(cmPkCfgPrbRprt(prbRprtCfg, mBuf) != ROK)
{
SPutMsg(mBuf);
return RFAILED;
}
if(cmPkCfgPrbRprt(prbRprtCfg, mBuf) != ROK)
{
SPutMsg(mBuf);
- SPutSBuf
(
pst->region, pst->pool, (Data*)prbRprtCfg, len);
+ SPutSBuf
NewForDebug(__FILE__,__FUNCTION__,__LINE__,
pst->region, pst->pool, (Data*)prbRprtCfg, len);
return RFAILED;
}
if (SPkS16(spId, mBuf) != ROK)
{
return RFAILED;
}
if (SPkS16(spId, mBuf) != ROK)
{
- SPutSBuf
(
pst->region, pst->pool, (Data *)prbRprtCfg, sizeof(RgmPrbRprtCfg));
+ SPutSBuf
NewForDebug(__FILE__,__FUNCTION__,__LINE__,
pst->region, pst->pool, (Data *)prbRprtCfg, sizeof(RgmPrbRprtCfg));
SPutMsg(mBuf);
return RFAILED;
}
SPutMsg(mBuf);
return RFAILED;
}
- SPutSBuf
(
pst->region, pst->pool, (Data *)prbRprtCfg, sizeof(RgmPrbRprtCfg));
+ SPutSBuf
NewForDebug(__FILE__,__FUNCTION__,__LINE__,
pst->region, pst->pool, (Data *)prbRprtCfg, sizeof(RgmPrbRprtCfg));
pst->event = (Event) EVTRGMCFGPRBRPRT;
return (SPstTsk(pst,mBuf));
pst->event = (Event) EVTRGMCFGPRBRPRT;
return (SPstTsk(pst,mBuf));
@@
-829,7
+829,7
@@
Buffer *mBuf
SpId spId;
RgmPrbRprtCfg *prbRprtCfg;
SpId spId;
RgmPrbRprtCfg *prbRprtCfg;
- if ((SGetSBuf
(
pst->region, pst->pool, (Data **)&prbRprtCfg, sizeof(RgmPrbRprtCfg))) != ROK)
+ if ((SGetSBuf
NewForDebug(__FILE__,__FUNCTION__,__LINE__,
pst->region, pst->pool, (Data **)&prbRprtCfg, sizeof(RgmPrbRprtCfg))) != ROK)
{
SPutMsg(mBuf);
return RFAILED;
{
SPutMsg(mBuf);
return RFAILED;
@@
-995,25
+995,25
@@
RgmPrbRprtInd * prbRprtInd
if (SGetMsg(pst->region, pst->pool, &mBuf) != ROK) {
if (SGetMsg(pst->region, pst->pool, &mBuf) != ROK) {
- SPutSBuf
(
pst->region, pst->pool, (Data *)prbRprtInd, sizeof(RgmPrbRprtInd));
+ SPutSBuf
NewForDebug(__FILE__,__FUNCTION__,__LINE__,
pst->region, pst->pool, (Data *)prbRprtInd, sizeof(RgmPrbRprtInd));
return RFAILED;
}
if(cmPkPrbRprtInd(prbRprtInd, mBuf) != ROK)
{
return RFAILED;
}
if(cmPkPrbRprtInd(prbRprtInd, mBuf) != ROK)
{
- SPutSBuf
(
pst->region, pst->pool, (Data *)prbRprtInd, sizeof(RgmPrbRprtInd));
+ SPutSBuf
NewForDebug(__FILE__,__FUNCTION__,__LINE__,
pst->region, pst->pool, (Data *)prbRprtInd, sizeof(RgmPrbRprtInd));
SPutMsg(mBuf);
return RFAILED;
}
if (SPkS16(suId, mBuf) != ROK)
{
SPutMsg(mBuf);
return RFAILED;
}
if (SPkS16(suId, mBuf) != ROK)
{
- SPutSBuf
(
pst->region, pst->pool, (Data *)prbRprtInd, sizeof(RgmPrbRprtInd));
+ SPutSBuf
NewForDebug(__FILE__,__FUNCTION__,__LINE__,
pst->region, pst->pool, (Data *)prbRprtInd, sizeof(RgmPrbRprtInd));
SPutMsg(mBuf);
return RFAILED;
}
SPutMsg(mBuf);
return RFAILED;
}
- SPutSBuf
(
pst->region, pst->pool, (Data *)prbRprtInd, sizeof(RgmPrbRprtInd));
+ SPutSBuf
NewForDebug(__FILE__,__FUNCTION__,__LINE__,
pst->region, pst->pool, (Data *)prbRprtInd, sizeof(RgmPrbRprtInd));
pst->event = (Event) EVTRGMPRBRPRTIND;
return (SPstTsk(pst,mBuf));
pst->event = (Event) EVTRGMPRBRPRTIND;
return (SPstTsk(pst,mBuf));
@@
-1132,25
+1132,25
@@
RgmTransModeInd *transModeInd
if (SGetMsg(pst->region, pst->pool, &mBuf) != ROK) {
if (SGetMsg(pst->region, pst->pool, &mBuf) != ROK) {
- SPutSBuf
(
pst->region, pst->pool, (Data *)transModeInd, sizeof(RgmTransModeInd));
+ SPutSBuf
NewForDebug(__FILE__,__FUNCTION__,__LINE__,
pst->region, pst->pool, (Data *)transModeInd, sizeof(RgmTransModeInd));
return RFAILED;
}
if(cmPkTransModeInd(transModeInd, mBuf) != ROK)
{
return RFAILED;
}
if(cmPkTransModeInd(transModeInd, mBuf) != ROK)
{
- SPutSBuf
(
pst->region, pst->pool, (Data *)transModeInd, sizeof(RgmTransModeInd));
+ SPutSBuf
NewForDebug(__FILE__,__FUNCTION__,__LINE__,
pst->region, pst->pool, (Data *)transModeInd, sizeof(RgmTransModeInd));
SPutMsg(mBuf);
return RFAILED;
}
if (SPkS16(suId, mBuf) != ROK)
{
SPutMsg(mBuf);
return RFAILED;
}
if (SPkS16(suId, mBuf) != ROK)
{
- SPutSBuf
(
pst->region, pst->pool, (Data *)transModeInd, sizeof(RgmTransModeInd));
+ SPutSBuf
NewForDebug(__FILE__,__FUNCTION__,__LINE__,
pst->region, pst->pool, (Data *)transModeInd, sizeof(RgmTransModeInd));
SPutMsg(mBuf);
return RFAILED;
}
SPutMsg(mBuf);
return RFAILED;
}
- SPutSBuf
(
pst->region, pst->pool, (Data *)transModeInd, sizeof(RgmTransModeInd));
+ SPutSBuf
NewForDebug(__FILE__,__FUNCTION__,__LINE__,
pst->region, pst->pool, (Data *)transModeInd, sizeof(RgmTransModeInd));
pst->event = (Event) EVTRGMTRANSMODEIND;
return (SPstTsk(pst,mBuf));
pst->event = (Event) EVTRGMTRANSMODEIND;
return (SPstTsk(pst,mBuf));