Home
last modified time | relevance | path

Searched refs:pidLimit (Results 1 – 5 of 5) sorted by relevance

/kernel/liteos_a/kernel/extended/plimit/
Dlos_processlimit.c43 PidLimit *pidLimit = (PidLimit *)limit; in PidLimiterInit() local
44 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() local
66 if (pidLimit == NULL) { in PidLimterFree()
81 if ((currPidLimit->pidCount + parentPidLimit->pidCount) >= parentPidLimit->pidLimit) { in PidLimitMigrateCheck()
90 PidLimit *pidLimit = (PidLimit *)limit; in OsPidLimitAddProcessCheck() local
91 if (pidLimit->pidCount >= pidLimit->pidLimit) { in OsPidLimitAddProcessCheck()
[all …]
Dlos_processlimit.h44 UINT32 pidLimit; member
57 UINT32 PidLimitSetPidLimit(PidLimit *pidLimit, UINT32 pidMax);
58 UINT32 PidLimitSetPriorityLimit(PidLimit *pidLimit, UINT32 priority);
/kernel/liteos_a/fs/proc/os_adapt/
Dplimits_proc.c520 PidLimit *pidLimit = (PidLimit *)data; in PidLimitReadPidLimit() local
521 if ((seqBuf == NULL) || (pidLimit == NULL)) { in PidLimitReadPidLimit()
525 (void)LosBufPrintf(seqBuf, "%u\n", pidLimit->pidLimit); in PidLimitReadPidLimit()
531 PidLimit *pidLimit = (PidLimit *)data; in PidLimitReadPriorityLimit() local
532 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() local
549 unsigned ret = PidLimitSetPriorityLimit(pidLimit, (unsigned)value); in PriorityLimitVariableWrite()
564 PidLimit *pidLimit = (PidLimit *)pf->pPDE->data; in PidsMaxVariableWrite() local
565 unsigned ret = PidLimitSetPidLimit(pidLimit, (unsigned)value); in PidsMaxVariableWrite()
/kernel/liteos_a/kernel/base/include/
Dlos_container_pri.h98 UINT32 pidLimit; member
/kernel/liteos_a/kernel/extended/container/
Dlos_container.c67 return g_containerLimit.pidLimit; in OsGetContainerLimit()
125 g_containerLimit.pidLimit = value; in OsSetContainerLimit()
213 g_containerLimit.pidLimit = LOSCFG_KERNEL_CONTAINER_DEFAULT_LIMIT; in OsInitRootContainer()