Searched refs:pidList (Results 1 – 3 of 3) sorted by relevance
95 unsigned int *pidList = NULL; in FdProcFill() local100 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()
78 extern INT32 LOS_GetUsedPIDList(UINT32 *pidList, INT32 pidMaxNum);
2012 LITE_OS_SEC_TEXT INT32 LOS_GetUsedPIDList(UINT32 *pidList, INT32 pidMaxNum) in LOS_GetUsedPIDList() argument2019 if (pidList == NULL) { in LOS_GetUsedPIDList()2029 pidList[num] = pcb->processID; in LOS_GetUsedPIDList()