Home
last modified time | relevance | path

Searched refs:curIndex (Results 1 – 8 of 8) sorted by relevance

/kernel/liteos_m/components/trace/
Dtrace_offline.c74 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()
Dlos_trace_pri.h112 UINT16 curIndex; /* The current record index */ member
/kernel/liteos_a/kernel/extended/trace/
Dtrace_offline.c72 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()
Dlos_trace_pri.h110 UINT16 curIndex; /* The current record index */ member
/kernel/liteos_m/kernel/src/
Dlos_task.c1416 UINT32 curIndex; in LOS_TaskSwitchInfoGet() local
1418 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()
/kernel/liteos_a/kernel/base/mem/tlsf/
Dlos_memory.c673 UINT32 curIndex = OS_MEM_FREE_LIST_COUNT; in OsMemFindNextSuitableBlock() local
681curIndex = ((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()
/kernel/liteos_m/kernel/src/mm/
Dlos_memory.c696 UINT32 curIndex = OS_MEM_FREE_LIST_COUNT; local
704curIndex = ((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);
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0038_linux_drivers_mxc.patch117898 + 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; \