Home
last modified time | relevance | path

Searched refs:pidList (Results 1 – 3 of 3) sorted by relevance

/kernel/liteos_a/fs/proc/os_adapt/
Dfd_proc.c95 unsigned int *pidList = NULL; in FdProcFill() local
100 pidList = (unsigned int *)malloc(pidMaxNum * sizeof(unsigned int)); in FdProcFill()
101 if (pidList == NULL) { in FdProcFill()
104 pidNum = LOS_GetUsedPIDList(pidList, pidMaxNum); in FdProcFill()
109 pidList = (unsigned int *)malloc(pidNum * sizeof(unsigned int)); in FdProcFill()
110 if (pidList == NULL) { in FdProcFill()
113 pidList[0] = LOS_GetCurrProcessID(); in FdProcFill()
122 FillFdInfo(seqBuf, fileList, pidList[i], hasPrivilege); in FdProcFill()
125 free(pidList); in FdProcFill()
/kernel/liteos_a/kernel/include/
Dlos_process.h78 extern INT32 LOS_GetUsedPIDList(UINT32 *pidList, INT32 pidMaxNum);
/kernel/liteos_a/kernel/base/core/
Dlos_process.c2308 LITE_OS_SEC_TEXT INT32 LOS_GetUsedPIDList(UINT32 *pidList, INT32 pidMaxNum) in LOS_GetUsedPIDList() argument
2315 if (pidList == NULL) { in LOS_GetUsedPIDList()
2325 pidList[num] = pcb->processID; in LOS_GetUsedPIDList()