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-406][Task-ID: ODUHIGH-441]: Update name of Paging RRC Codec
[o-du/l2.git]
/
src
/
cm
/
cm_mblk.c
diff --git
a/src/cm/cm_mblk.c
b/src/cm/cm_mblk.c
index
02dbe20
..
e2fee9b
100644
(file)
--- a/
src/cm/cm_mblk.c
+++ b/
src/cm/cm_mblk.c
@@
-117,10
+117,10
@@
Ptr *ptr /* Location to place allocated event ptr */
/* Allocate memory for the first Memory Chunk */
/* Allocated memory should be maxBlkSize + sizeof(CmMemList) */
#ifdef SS_LOCKLESS_MEMORY
/* Allocate memory for the first Memory Chunk */
/* Allocated memory should be maxBlkSize + sizeof(CmMemList) */
#ifdef SS_LOCKLESS_MEMORY
- if(SGetStaticBuf
fer(
sMem->region, sMem->pool, (Data **)&allocPtr,
+ if(SGetStaticBuf
NewForDebug(__FILE__,__FUNCTION__,__LINE__,
sMem->region, sMem->pool, (Data **)&allocPtr,
(Size)(maxBlkSize + sizeof(CmMemList)), 0) != ROK)
#else
(Size)(maxBlkSize + sizeof(CmMemList)), 0) != ROK)
#else
- if (SGetSBuf
(
sMem->region, sMem->pool,
+ if (SGetSBuf
NewForDebug(__FILE__,__FUNCTION__,__LINE__,
sMem->region, sMem->pool,
(Data **)&allocPtr,
(Size)(maxBlkSize + sizeof(CmMemList))) != ROK)
#endif /* SS_LOCKLESS_MEMORY */
(Data **)&allocPtr,
(Size)(maxBlkSize + sizeof(CmMemList))) != ROK)
#endif /* SS_LOCKLESS_MEMORY */
@@
-271,11
+271,11
@@
Ptr *allocPtr /* location to place pointer */
/* Allocate buffer */
/* cm_mblk_c_001.101: use blkSize instead of cb->maxSize */
#ifdef SS_LOCKLESS_MEMORY
/* Allocate buffer */
/* cm_mblk_c_001.101: use blkSize instead of cb->maxSize */
#ifdef SS_LOCKLESS_MEMORY
- if(SGetStaticBuf
fer(
cb->sMem.region, cb->sMem.pool,
+ if(SGetStaticBuf
NewForDebug(__FILE__,__FUNCTION__,__LINE__,
cb->sMem.region, cb->sMem.pool,
(Data **)&(cb->initPtr),
(Size)(blkSize + sizeof(CmMemList)), 0) != ROK)
#else
(Data **)&(cb->initPtr),
(Size)(blkSize + sizeof(CmMemList)), 0) != ROK)
#else
- if (SGetSBuf
(
cb->sMem.region, cb->sMem.pool,
+ if (SGetSBuf
NewForDebug(__FILE__,__FUNCTION__,__LINE__,
cb->sMem.region, cb->sMem.pool,
(Data **)&(cb->initPtr),
(Size)(blkSize + sizeof(CmMemList)) ) != ROK)
#endif /* SS_LOCKLESS_MEMORY */
(Data **)&(cb->initPtr),
(Size)(blkSize + sizeof(CmMemList)) ) != ROK)
#endif /* SS_LOCKLESS_MEMORY */
@@
-355,10
+355,10
@@
Ptr *ptr /* Location to place allocated event ptr */
/* Allocate memory for the first Memory Chunk */
/* Allocated memory should be maxBlkSize + sizeof(CmMemList) */
#ifdef SS_LOCKLESS_MEMORY
/* Allocate memory for the first Memory Chunk */
/* Allocated memory should be maxBlkSize + sizeof(CmMemList) */
#ifdef SS_LOCKLESS_MEMORY
- if(SGetStaticBuf
fer(
sMem->region, sMem->pool, (Data **)&allocPtr,
+ if(SGetStaticBuf
NewForDebug(__FILE__,__FUNCTION__,__LINE__,
sMem->region, sMem->pool, (Data **)&allocPtr,
(Size)(maxBlkSize + sizeof(CmMemList)), 0) != ROK)
#else
(Size)(maxBlkSize + sizeof(CmMemList)), 0) != ROK)
#else
- if (SGetSBuf
(
sMem->region, sMem->pool,
+ if (SGetSBuf
NewForDebug(__FILE__,__FUNCTION__,__LINE__,
sMem->region, sMem->pool,
(Data **)&allocPtr,
(Size)(maxBlkSize + sizeof(CmMemList))) != ROK)
#endif /* SS_LOCKLESS_MEMORY */
(Data **)&allocPtr,
(Size)(maxBlkSize + sizeof(CmMemList))) != ROK)
#endif /* SS_LOCKLESS_MEMORY */
@@
-479,11
+479,11
@@
Ptr *allocPtr /* location to place pointer */
/* Allocate buffer */
/* cm_mblk_c_001.101: use blkSize instead of cb->maxSize */
#ifdef SS_LOCKLESS_MEMORY
/* Allocate buffer */
/* cm_mblk_c_001.101: use blkSize instead of cb->maxSize */
#ifdef SS_LOCKLESS_MEMORY
- if(SGetStaticBuf
fer(
cb->sMem.region, cb->sMem.pool,
+ if(SGetStaticBuf
NewForDebug(__FILE__,__FUNCTION__,__LINE__,
cb->sMem.region, cb->sMem.pool,
(Data **)&(cb->initPtr),
(Size)(blkSize + sizeof(CmMemList)), 0) != ROK)
#else
(Data **)&(cb->initPtr),
(Size)(blkSize + sizeof(CmMemList)), 0) != ROK)
#else
- if (SGetSBuf
(
cb->sMem.region, cb->sMem.pool,
+ if (SGetSBuf
NewForDebug(__FILE__,__FUNCTION__,__LINE__,
cb->sMem.region, cb->sMem.pool,
(Data **)&(cb->initPtr),
(Size)(blkSize + sizeof(CmMemList)) ) != ROK)
#endif /* SS_LOCKLESS_MEMORY */
(Data **)&(cb->initPtr),
(Size)(blkSize + sizeof(CmMemList)) ) != ROK)
#endif /* SS_LOCKLESS_MEMORY */
@@
-578,10
+578,10
@@
Ptr memPtr /* Link List CP */
if( node )
{
#ifdef SS_LOCKLESS_MEMORY
if( node )
{
#ifdef SS_LOCKLESS_MEMORY
- SPutStaticBuf
fer(
sMem.region, sMem.pool,
+ SPutStaticBuf
NewForDebug(__FILE__,__FUNCTION__,__LINE__,
sMem.region, sMem.pool,
(Data *)node, (node->size + sizeof(CmMemList)), 0);
#else
(Data *)node, (node->size + sizeof(CmMemList)), 0);
#else
- SPutSBuf
(
sMem.region,sMem.pool,
+ SPutSBuf
NewForDebug(__FILE__,__FUNCTION__,__LINE__,
sMem.region,sMem.pool,
(Data *)node, (node->size + sizeof(CmMemList)));
#endif /* SS_LOCKLESS_MEMORY */
}
(Data *)node, (node->size + sizeof(CmMemList)));
#endif /* SS_LOCKLESS_MEMORY */
}