/kernel/liteos_a/testsuites/kernel/sample/kernel_extend/cpup/full/ |
D | It_extend_cpup_012.c | 57 cpupUse = LOS_HistoryProcessCpuUsage(LOS_GetCurrProcessID(), CPUP_LAST_TEN_SECONDS); in TaskF01() 59 cpupUse = LOS_HistoryProcessCpuUsage(LOS_GetCurrProcessID(), CPUP_LAST_ONE_SECONDS); in TaskF01() 69 cpupUse = LOS_HistoryProcessCpuUsage(LOS_GetCurrProcessID(), CPUP_ALL_TIME); in TaskF01() 77 cpupUse = LOS_HistoryProcessCpuUsage(LOS_GetCurrProcessID(), CPUP_LAST_TEN_SECONDS); in TaskF01() 79 cpupUse = LOS_HistoryProcessCpuUsage(LOS_GetCurrProcessID(), CPUP_LAST_ONE_SECONDS); in TaskF01() 89 cpupUse = LOS_HistoryProcessCpuUsage(LOS_GetCurrProcessID(), CPUP_ALL_TIME); in TaskF01()
|
D | It_extend_cpup_005.c | 45 cpupUse = LOS_HistoryProcessCpuUsage(LOS_GetCurrProcessID(), CPUP_ALL_TIME); in TaskF01() 53 cpupUse = LOS_HistoryProcessCpuUsage(LOS_GetCurrProcessID(), CPU_USE_MODE1); in TaskF01()
|
D | It_extend_cpup_003.c | 43 g_testTaskID02 = LOS_GetCurrProcessID(); in TaskF02() 78 g_testTaskID01 = LOS_GetCurrProcessID(); in TaskF01()
|
D | It_extend_cpup_004.c | 46 cpupUse = LOS_HistoryProcessCpuUsage(LOS_GetCurrProcessID(), CPUP_ALL_TIME); in TaskF02() 85 cpupUse = LOS_HistoryProcessCpuUsage(LOS_GetCurrProcessID(), CPUP_ALL_TIME); in TaskF01()
|
D | It_extend_cpup_008.c | 47 cpupUse = LOS_HistoryProcessCpuUsage(LOS_GetCurrProcessID(), CPUP_ALL_TIME); in TaskF01()
|
D | It_extend_cpup_006.c | 80 g_testTaskID01 = LOS_GetCurrProcessID(); in TaskF01()
|
/kernel/liteos_a/testsuites/kernel/sample/kernel_base/core/task/full/ |
D | It_los_task_094.c | 84 task1.processID = LOS_GetCurrProcessID(); in Testcase() 89 task1.processID = LOS_GetCurrProcessID(); in Testcase() 106 task1.processID = LOS_GetCurrProcessID(); in Testcase() 110 task1.processID = LOS_GetCurrProcessID(); in Testcase() 131 task1.processID = LOS_GetCurrProcessID(); in Testcase() 135 task1.processID = LOS_GetCurrProcessID(); in Testcase()
|
D | It_los_task_098.c | 56 task1.processID = LOS_GetCurrProcessID(); in TaskF01() 60 task1.processID = LOS_GetCurrProcessID(); in TaskF01() 89 task1.processID = LOS_GetCurrProcessID(); in Testcase() 93 task1.processID = LOS_GetCurrProcessID(); in Testcase()
|
D | It_los_task_095.c | 56 task1.processID = LOS_GetCurrProcessID(); in Testcase() 60 task1.processID = LOS_GetCurrProcessID(); in Testcase()
|
D | It_los_task_096.c | 83 task1.processID = LOS_GetCurrProcessID(); in Testcase() 87 task1.processID = LOS_GetCurrProcessID(); in Testcase()
|
/kernel/liteos_a/testsuites/kernel/sample/kernel_extend/cpup/smoke/ |
D | It_extend_cpup_002.c | 48 cpupUse = LOS_HistoryProcessCpuUsage(LOS_GetCurrProcessID(), CPU_USE_MODE0); in TaskF01() 56 cpupUse = LOS_HistoryProcessCpuUsage(LOS_GetCurrProcessID(), CPU_USE_MODE1); in TaskF01() 64 cpupUse = LOS_HistoryProcessCpuUsage(LOS_GetCurrProcessID(), CPU_USE_MODE1); in TaskF01()
|
D | It_extend_cpup_001.c | 67 g_testTaskID01 = LOS_GetCurrProcessID(); in TaskF01()
|
/kernel/liteos_a/syscall/ |
D | process_syscall.c | 151 id = (int)LOS_GetCurrProcessID(); in SysSchedSetScheduler() 154 ret = OsPermissionToCheck(id, LOS_GetCurrProcessID()); in SysSchedSetScheduler() 186 id = (int)LOS_GetCurrProcessID(); in SysSchedGetParam() 205 who = (int)LOS_GetCurrProcessID(); in SysSetProcessPriority() 208 ret = OsPermissionToCheck(who, LOS_GetCurrProcessID()); in SysSetProcessPriority() 228 who = (int)LOS_GetCurrProcessID(); in SysGetProcessPriority() 365 return LOS_GetCurrProcessID(); in SysGetPID() 373 pid = LOS_GetCurrProcessID(); in SysSetProcessGroupID() 393 pid = LOS_GetCurrProcessID(); in SysGetProcessGroupID() 1112 ret = OsPermissionToCheck(processID, LOS_GetCurrProcessID()); in SysSchedSetAffinity()
|
/kernel/liteos_a/testsuites/kernel/sample/kernel_base/core/task/smoke/ |
D | It_los_task_099.c | 57 task1.processID = LOS_GetCurrProcessID(); in Testcase() 61 task1.processID = LOS_GetCurrProcessID(); in Testcase()
|
D | It_los_task_097.c | 59 task1.processID = LOS_GetCurrProcessID(); in TaskF01() 63 task1.processID = LOS_GetCurrProcessID(); in TaskF01()
|
/kernel/liteos_a/testsuites/kernel/sample/kernel_base/core/task/smp/ |
D | It_smp_los_task_024.c | 90 task.processID = LOS_GetCurrProcessID(); in Testcase() 101 task.processID = LOS_GetCurrProcessID(); in Testcase()
|
D | It_smp_los_task_025.c | 109 task.processID = LOS_GetCurrProcessID(); in Testcase() 120 task.processID = LOS_GetCurrProcessID(); in Testcase()
|
/kernel/liteos_a/kernel/include/ |
D | los_process.h | 58 extern UINT32 LOS_GetCurrProcessID(VOID);
|
/kernel/liteos_a/drivers/char/quickstart/src/ |
D | quickstart.c | 115 if (OsGetUserInitProcessID() != LOS_GetCurrProcessID()) { in QuickstartIoctl()
|
/kernel/liteos_a/fs/proc/os_adapt/ |
D | fd_proc.c | 113 pidList[0] = LOS_GetCurrProcessID(); in FdProcFill()
|
/kernel/liteos_a/kernel/extended/liteipc/ |
D | hm_liteipc.c | 502 UINT32 curProcessID = LOS_GetCurrProcessID(); in HasServiceAccess() 951 UINT32 curProcessID = LOS_GetCurrProcessID(); in IsValidReply() 1141 (VOID)LiteIpcNodeFree(LOS_GetCurrProcessID(), (VOID *)node); in CheckRecievedMsg() 1197 node->msg.data = (VOID *)GetIpcUserAddr(LOS_GetCurrProcessID(), (INTPTR)(node->msg.data)); in LiteIpcRead() 1198 node->msg.offsets = (VOID *)GetIpcUserAddr(LOS_GetCurrProcessID(), (INTPTR)(node->msg.offsets)); in LiteIpcRead() 1199 content->inMsg = (VOID *)GetIpcUserAddr(LOS_GetCurrProcessID(), (INTPTR)(&(node->msg))); in LiteIpcRead() 1200 EnableIpcNodeFreeByUser(LOS_GetCurrProcessID(), (VOID *)node); in LiteIpcRead() 1251 UINT32 freeRet = LiteIpcNodeFree(LOS_GetCurrProcessID(), nodeNeedFree); in LiteIpcMsgHandle()
|
/kernel/liteos_a/kernel/base/vm/ |
D | shm.c | 239 seg->ds.shm_cpid = LOS_GetCurrProcessID(); in ShmAllocSeg() 370 seg->ds.shm_lpid = LOS_GetCurrProcessID(); /* may not be the space's PID. */ in OsShmRegionFree() 592 seg->ds.shm_lpid = LOS_GetCurrProcessID(); in ShmAt() 764 seg->ds.shm_lpid = LOS_GetCurrProcessID(); in ShmDt()
|
/kernel/liteos_a/kernel/base/ipc/ |
D | los_futex.c | 187 node->pid = (flags & FUTEX_PRIVATE) ? LOS_GetCurrProcessID() : OS_INVALID; in OsFutexSetKey() 721 .pid = (flags & FUTEX_PRIVATE) ? LOS_GetCurrProcessID() : OS_INVALID, in OsFutexWakeTask() 806 .pid = (newIndex < FUTEX_INDEX_SHARED_POS) ? LOS_GetCurrProcessID() : OS_INVALID, in OsFutexRequeueInsertNewKey() 899 .pid = (flags & FUTEX_PRIVATE) ? LOS_GetCurrProcessID() : OS_INVALID, in OsFutexRequeueRemoveOldKeyAndGetHead()
|
/kernel/liteos_a/kernel/extended/perf/ |
D | los_perf.c | 255 *(UINT32 *)(p + size) = LOS_GetCurrProcessID(); in OsPerfCollectData() 356 if ((g_perfCb.needSample) && OsPerfFilter(LOS_CurTaskIDGet(), LOS_GetCurrProcessID())) { in OsPerfHandleOverFlow()
|
/kernel/liteos_a/kernel/extended/hilog/ |
D | los_hilog.c | 240 header->pid = LOS_GetCurrProcessID(); in HiLogHeadInit()
|