/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_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_003.c | 43 g_testTaskID02 = LOS_GetCurrProcessID(); in TaskF02() 78 g_testTaskID01 = LOS_GetCurrProcessID(); 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 | 78 ret = LOS_GetProcessScheduler(LOS_GetCurrProcessID(), &processPolicy, NULL); in UserTaskSchedulerCheck() 173 id = (int)LOS_GetCurrProcessID(); in SysSchedGetScheduler() 210 id = (int)LOS_GetCurrProcessID(); in SysSchedSetScheduler() 213 ret = OsPermissionToCheck(id, LOS_GetCurrProcessID()); in SysSchedSetScheduler() 252 id = (int)LOS_GetCurrProcessID(); in SysSchedGetParam() 280 who = (int)LOS_GetCurrProcessID(); in SysSetProcessPriority() 293 ret = OsPermissionToCheck(who, LOS_GetCurrProcessID()); in SysSetProcessPriority() 314 id = (int)LOS_GetCurrProcessID(); in SysSchedSetParam() 328 who = (int)LOS_GetCurrProcessID(); in SysGetProcessPriority() 497 return LOS_GetCurrProcessID(); in SysGetPID() [all …]
|
/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 (LOS_GetCurrProcessID() != OS_USER_ROOT_PROCESS_ID) { in QuickstartIoctl()
|
/kernel/liteos_a/fs/proc/os_adapt/ |
D | fd_proc.c | 113 pidList[0] = LOS_GetCurrProcessID(); in FdProcFill()
|
/kernel/liteos_a/kernel/base/vm/ |
D | shm.c | 264 seg->ds.shm_cpid = LOS_GetCurrProcessID(); in ShmAllocSeg() 400 seg->ds.shm_lpid = LOS_GetCurrProcessID(); /* may not be the space's PID. */ in OsShmRegionFree() 622 seg->ds.shm_lpid = LOS_GetCurrProcessID(); in ShmAt() 794 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()
|
/kernel/liteos_a/kernel/extended/trace/ |
D | los_trace.c | 98 frame->curPid = LOS_GetCurrProcessID(); in OsTraceSetFrame()
|