Searched refs:pidLimit (Results 1 – 5 of 5) sorted by relevance
43 PidLimit *pidLimit = (PidLimit *)limit; in PidLimiterInit() local44 if (pidLimit == NULL) { in PidLimiterInit()48 pidLimit->pidLimit = LOS_GetSystemProcessMaximum(); in PidLimiterInit()49 pidLimit->priorityLimit = OS_USER_PROCESS_PRIORITY_HIGHEST; in PidLimiterInit()50 g_rootPidLimit = pidLimit; in PidLimiterInit()65 PidLimit *pidLimit = (PidLimit *)limit; in PidLimterFree() local66 if (pidLimit == NULL) { in PidLimterFree()81 if ((currPidLimit->pidCount + parentPidLimit->pidCount) >= parentPidLimit->pidLimit) { in PidLimitMigrateCheck()90 PidLimit *pidLimit = (PidLimit *)limit; in OsPidLimitAddProcessCheck() local91 if (pidLimit->pidCount >= pidLimit->pidLimit) { in OsPidLimitAddProcessCheck()[all …]
44 UINT32 pidLimit; member57 UINT32 PidLimitSetPidLimit(PidLimit *pidLimit, UINT32 pidMax);58 UINT32 PidLimitSetPriorityLimit(PidLimit *pidLimit, UINT32 priority);
520 PidLimit *pidLimit = (PidLimit *)data; in PidLimitReadPidLimit() local521 if ((seqBuf == NULL) || (pidLimit == NULL)) { in PidLimitReadPidLimit()525 (void)LosBufPrintf(seqBuf, "%u\n", pidLimit->pidLimit); in PidLimitReadPidLimit()531 PidLimit *pidLimit = (PidLimit *)data; in PidLimitReadPriorityLimit() local532 if ((seqBuf == NULL) || (pidLimit == NULL)) { in PidLimitReadPriorityLimit()536 (void)LosBufPrintf(seqBuf, "%u\n", pidLimit->priorityLimit); in PidLimitReadPriorityLimit()548 PidLimit *pidLimit = (PidLimit *)pf->pPDE->data; in PriorityLimitVariableWrite() local549 unsigned ret = PidLimitSetPriorityLimit(pidLimit, (unsigned)value); in PriorityLimitVariableWrite()564 PidLimit *pidLimit = (PidLimit *)pf->pPDE->data; in PidsMaxVariableWrite() local565 unsigned ret = PidLimitSetPidLimit(pidLimit, (unsigned)value); in PidsMaxVariableWrite()
98 UINT32 pidLimit; member
67 return g_containerLimit.pidLimit; in OsGetContainerLimit()125 g_containerLimit.pidLimit = value; in OsSetContainerLimit()213 g_containerLimit.pidLimit = LOSCFG_KERNEL_CONTAINER_DEFAULT_LIMIT; in OsInitRootContainer()