Searched refs:maxNum (Results 1 – 9 of 9) sorted by relevance
94 U32 maxNum = 0; in OsCpupTask() local95 cpup[maxNum].id = OS_CPUP_INT_ID; in OsCpupTask()96 cpup[maxNum].usage = OsCpupIntGet(); in OsCpupTask()97 maxNum++; in OsCpupTask()100 if (intNum == maxNum) { in OsCpupTask()109 cpup[maxNum].id = g_tskCbArray[index].taskPid; in OsCpupTask()110 cpup[maxNum].usage = g_cpup[index].usage; in OsCpupTask()112 maxNum++; in OsCpupTask()114 return maxNum; in OsCpupTask()250 U32 maxNum = 1; // 默认中断占用一个 in PRT_CpupThread() local[all …]
53 OS_SEC_ALW_INLINE INLINE bool OsHwiCheckMaxNum(U32 maxNum) in OsHwiCheckMaxNum() argument55 return ((maxNum > 0) && (maxNum <= OS_MX_IRQ_VECTOR_CNT)); in OsHwiCheckMaxNum()
65 semModInfo.maxNum = OS_SEM_MAX_SUPPORT_NUM; in OsSemConfigReg()74 taskModInfo->maxNum = OS_TSK_MAX_SUPPORT_NUM; in OsTaskInfoSet()87 hookModInfo.maxNum[OS_HOOK_HWI_ENTRY] = OS_HOOK_HWI_ENTRY_NUM; in OsHookConfigReg()88 hookModInfo.maxNum[OS_HOOK_HWI_EXIT] = OS_HOOK_HWI_EXIT_NUM; in OsHookConfigReg()89 hookModInfo.maxNum[OS_HOOK_TSK_SWITCH] = OS_HOOK_TSK_SWITCH_NUM; in OsHookConfigReg()90 hookModInfo.maxNum[OS_HOOK_IDLE_PERIOD] = OS_HOOK_IDLE_NUM; in OsHookConfigReg()
31 if (((modInfo->maxNum) > (MAX_TASK_NUM)) || (modInfo->maxNum == 0)) { in OsTskRegister()35 g_tskModInfo.maxNum = modInfo->maxNum; in OsTskRegister()45 g_tskMaxNum = g_tskModInfo.maxNum; in OsTskRegister()
22 if (modInfo->maxNum == 0) { in OsSemRegister()26 g_maxSem = modInfo->maxNum; in OsSemRegister()
105 U8 maxNum[(U32)OS_HOOK_TYPE_NUM]; member
219 U16 maxNum; member
842 U32 maxNum; member
37 g_hookCb[hookIndex].num += modInfo->maxNum[hookIndex]; in OsHookRegister()