X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fmt%2Fss_queue.c;h=aaedc191de733383dfa31d055f5189417ea30c6e;hb=def50dc175cebc67238db5f1acd5ff322a2279bd;hp=ba0b311eab8bb723e7527b13b8025ae35a157cf6;hpb=0a26c487f1b6bbb5217e47b15fa8273b2e749283;p=o-du%2Fl2.git diff --git a/src/mt/ss_queue.c b/src/mt/ss_queue.c index ba0b311ea..aaedc191d 100644 --- a/src/mt/ss_queue.c +++ b/src/mt/ss_queue.c @@ -102,7 +102,6 @@ S16 SInitQueue(q) Queue *q; /* queue */ #endif { - TRC1(SInitQueue) #if (ERRCLASS & ERRCLS_INT_PAR) /* check queue pointer */ @@ -158,10 +157,9 @@ Queue *q; /* queue */ #ifdef T2K_MEM_LEAK_DBG char* file = __FILE__; - U32 line = __LINE__; + uint32_t line = __LINE__; #endif - TRC1(SFlushQueue) #if (ERRCLASS & ERRCLS_INT_PAR) /* check queue */ @@ -231,7 +229,6 @@ Queue *q2; /* queue 2 */ Order order; /* order */ #endif { - TRC1(SCatQueue) #if (ERRCLASS & ERRCLS_INT_PAR) if (q1 == NULLP) @@ -341,7 +338,6 @@ Queue *q; /* queue */ QLen *lngPtr; /* pointer to length */ #endif { - TRC1(SFndLenQueue) #if (ERRCLASS & ERRCLS_INT_PAR) /* check queue */ @@ -403,7 +399,6 @@ QLen idx; /* index */ Buffer *tmpBuf; QLen i; - TRC1(SExamQueue) #if (ERRCLASS & ERRCLS_INT_PAR) /* check buffer pointer */ @@ -498,7 +493,6 @@ QLen idx; /* index */ Buffer *tBuf; QLen i; - TRC1(SAddQueue) #if (ERRCLASS & ERRCLS_INT_PAR) /* check queue */ @@ -623,7 +617,6 @@ QLen idx; /* index */ Buffer *tBuf; QLen i; - TRC1(SRemQueue) #if (ERRCLASS & ERRCLS_INT_PAR) /* check buffer pointer */ @@ -726,7 +719,6 @@ Buffer *buf; /* buffer */ Queue *q; /* queue */ #endif { - TRC1(SQueueFirst) return (SAddQueue(buf, q, 0)); } /* end of SQueueFirst */ @@ -765,7 +757,6 @@ Buffer **bufPtr; /* pointer to buffer */ Queue *q; /* queue */ #endif { - TRC2(SDequeueFirst) return (SRemQueue(bufPtr, q, 0)); } /* end of SDequeueFirst */ @@ -802,7 +793,6 @@ Buffer *buf; /* buffer */ Queue *q; /* queue */ #endif { - TRC1(SQueueLast) #if (ERRCLASS & ERRCLS_INT_PAR) /* check queue */ @@ -858,7 +848,6 @@ Queue *q; /* queue */ { S16 ret; - TRC1(SDequeueLast) #if (ERRCLASS & ERRCLS_INT_PAR) /* check buffer pointer */ @@ -909,10 +898,9 @@ S16 ssInitDmndQ(dQueue) SsDmndQ *dQueue; /* Demand Queue */ #endif { - U8 i; + uint8_t i; S16 ret; - TRC0(ssInitDmnddQ) #if (ERRCLASS & ERRCLS_INT_PAR) if (dQueue == NULLP) @@ -1007,11 +995,10 @@ S16 ssDestroyDmndQ(dQueue) SsDmndQ *dQueue; /* demand Queue */ #endif { - U8 i; + uint8_t i; Buffer *tBuf; S16 ret; - TRC0(ssDestroyDmndQ) #if (ERRCLASS & ERRCLS_INT_PAR) if (dQueue == NULLP) @@ -1098,22 +1085,21 @@ Order order; /* position */ #endif { #ifndef TENB_RTLIN_CHANGES - U8 maskIndex; /* mask Index */ - U8 bitPosition; /* bit position in index */ + uint8_t maskIndex; /* mask Index */ + uint8_t bitPosition; /* bit position in index */ #else - U8 qIndex; + uint8_t qIndex; #endif Queue *queue; /* queue in demand queue */ S16 ret; /* return value */ #ifdef SS_PERF int value; - U32 size; + uint32_t size; #endif #ifdef MSPD_MLOG_NEW - U32 t = MacGetTick(); + uint32_t t = MacGetTick(); #endif - TRC0(ssDmndQPut) #if (ERRCLASS & ERRCLS_INT_PAR) if (dQueue == NULLP) @@ -1299,7 +1285,6 @@ SsDmndQ *dQueue; /* demand queue */ { S16 ret; - TRC0(ssDmndQWait) #if (ERRCLASS & ERRCLS_INT_PAR) if (dQueue == NULLP) @@ -1360,11 +1345,10 @@ Order order; /* position */ S16 ret; S16 i; #ifndef TENB_RTLIN_CHANGES - U8 bitPosition; - U8 qIndex; + uint8_t bitPosition; + uint8_t qIndex; #endif - TRC0(ssDmndQGet) #if (ERRCLASS & ERRCLS_INT_PAR) if (mBuf == NULLP) @@ -1542,9 +1526,8 @@ QLen *len; /* queue length */ { S16 ret; /* return value */ - U8 i; + uint8_t i; - TRC0(ssFndLenDmndQ) #if (ERRCLASS & ERRCLS_INT_PAR) if ((dQueue == NULLP) || (len == NULLP))