Searched refs:curIndex (Results 1 – 8 of 8) sorted by relevance
74 g_traceRecoder.ctrl.curIndex = 0; in OsTraceBufInit()119 index = g_traceRecoder.ctrl.curIndex; in OsTraceWriteOrSendEvent()122 g_traceRecoder.ctrl.curIndex++; in OsTraceWriteOrSendEvent()123 if (g_traceRecoder.ctrl.curIndex >= g_traceRecoder.ctrl.maxRecordCount) { in OsTraceWriteOrSendEvent()124 g_traceRecoder.ctrl.curIndex = 0; in OsTraceWriteOrSendEvent()137 g_traceRecoder.ctrl.curIndex = 0; in OsTraceReset()158 PRINTK("CurEvtIndex = %u\n", g_traceRecoder.ctrl.curIndex); in OsTraceInfoEventTitle()
112 UINT16 curIndex; /* The current record index */ member
72 g_traceRecoder.ctrl.curIndex = 0; in OsTraceBufInit()117 index = g_traceRecoder.ctrl.curIndex; in OsTraceWriteOrSendEvent()120 g_traceRecoder.ctrl.curIndex++; in OsTraceWriteOrSendEvent()121 if (g_traceRecoder.ctrl.curIndex >= g_traceRecoder.ctrl.maxRecordCount) { in OsTraceWriteOrSendEvent()122 g_traceRecoder.ctrl.curIndex = 0; in OsTraceWriteOrSendEvent()135 g_traceRecoder.ctrl.curIndex = 0; in OsTraceReset()156 PRINTK("CurEvtIndex = %u\n", g_traceRecoder.ctrl.curIndex); in OsTraceInfoEventTitle()
110 UINT16 curIndex; /* The current record index */ member
1416 UINT32 curIndex; in LOS_TaskSwitchInfoGet() local1418 curIndex = index; in LOS_TaskSwitchInfoGet()1419 if (curIndex >= OS_TASK_SWITCH_INFO_COUNT) { in LOS_TaskSwitchInfoGet()1420 curIndex %= OS_TASK_SWITCH_INFO_COUNT; in LOS_TaskSwitchInfoGet()1429 (*taskSwitchInfo) = g_taskSwitchInfo.pid[curIndex]; in LOS_TaskSwitchInfoGet()1432 g_taskSwitchInfo.name[curIndex], LOS_TASK_NAMELEN) != EOK) { in LOS_TaskSwitchInfoGet()
673 UINT32 curIndex = OS_MEM_FREE_LIST_COUNT; in OsMemFindNextSuitableBlock() local681 … curIndex = ((fl - OS_MEM_LARGE_START_BUCKET) << OS_MEM_SLI) + sl + OS_MEM_SMALL_BUCKET_COUNT; in OsMemFindNextSuitableBlock()682 index = curIndex + 1; in OsMemFindNextSuitableBlock()700 if (curIndex == OS_MEM_FREE_LIST_COUNT) { in OsMemFindNextSuitableBlock()704 *outIndex = curIndex; in OsMemFindNextSuitableBlock()705 return OsMemFindCurSuitableBlock(poolHead, curIndex, size); in OsMemFindNextSuitableBlock()
696 UINT32 curIndex = OS_MEM_FREE_LIST_COUNT; local704 … curIndex = ((fl - OS_MEM_SMALL_BUCKET_COUNT) << OS_MEM_SLI) + sl + OS_MEM_SMALL_BUCKET_COUNT;705 index = curIndex + 1;724 if (curIndex == OS_MEM_FREE_LIST_COUNT) {728 *outIndex = curIndex;729 return OsMemFindCurSuitableBlock(poolHead, curIndex, size);
117898 + gctINT curIndex = -1; \117906 + curIndex = i; \117910 + prefix##ASSERT(-1 != curIndex); \117911 + L1CacheRatio = curIndex; \117980 + gctINT curIndex = -1; \117988 + curIndex = i; \117992 + prefix##ASSERT(-1 != curIndex); \117993 + L1CacheRatio = curIndex; \