Home
last modified time | relevance | path

Searched refs:LOS_GetCurrProcessID (Results 1 – 25 of 30) sorted by relevance

12

/kernel/liteos_a/testsuites/kernel/sample/kernel_extend/cpup/full/
DIt_extend_cpup_012.c57 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()
DIt_extend_cpup_005.c45 cpupUse = LOS_HistoryProcessCpuUsage(LOS_GetCurrProcessID(), CPUP_ALL_TIME); in TaskF01()
53 cpupUse = LOS_HistoryProcessCpuUsage(LOS_GetCurrProcessID(), CPU_USE_MODE1); in TaskF01()
DIt_extend_cpup_003.c43 g_testTaskID02 = LOS_GetCurrProcessID(); in TaskF02()
78 g_testTaskID01 = LOS_GetCurrProcessID(); in TaskF01()
DIt_extend_cpup_004.c46 cpupUse = LOS_HistoryProcessCpuUsage(LOS_GetCurrProcessID(), CPUP_ALL_TIME); in TaskF02()
85 cpupUse = LOS_HistoryProcessCpuUsage(LOS_GetCurrProcessID(), CPUP_ALL_TIME); in TaskF01()
DIt_extend_cpup_008.c47 cpupUse = LOS_HistoryProcessCpuUsage(LOS_GetCurrProcessID(), CPUP_ALL_TIME); in TaskF01()
DIt_extend_cpup_006.c80 g_testTaskID01 = LOS_GetCurrProcessID(); in TaskF01()
/kernel/liteos_a/testsuites/kernel/sample/kernel_base/core/task/full/
DIt_los_task_094.c84 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()
DIt_los_task_098.c56 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()
DIt_los_task_095.c56 task1.processID = LOS_GetCurrProcessID(); in Testcase()
60 task1.processID = LOS_GetCurrProcessID(); in Testcase()
DIt_los_task_096.c83 task1.processID = LOS_GetCurrProcessID(); in Testcase()
87 task1.processID = LOS_GetCurrProcessID(); in Testcase()
/kernel/liteos_a/testsuites/kernel/sample/kernel_extend/cpup/smoke/
DIt_extend_cpup_002.c48 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()
DIt_extend_cpup_001.c67 g_testTaskID01 = LOS_GetCurrProcessID(); in TaskF01()
/kernel/liteos_a/syscall/
Dprocess_syscall.c151 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/
DIt_los_task_099.c57 task1.processID = LOS_GetCurrProcessID(); in Testcase()
61 task1.processID = LOS_GetCurrProcessID(); in Testcase()
DIt_los_task_097.c59 task1.processID = LOS_GetCurrProcessID(); in TaskF01()
63 task1.processID = LOS_GetCurrProcessID(); in TaskF01()
/kernel/liteos_a/testsuites/kernel/sample/kernel_base/core/task/smp/
DIt_smp_los_task_024.c90 task.processID = LOS_GetCurrProcessID(); in Testcase()
101 task.processID = LOS_GetCurrProcessID(); in Testcase()
DIt_smp_los_task_025.c109 task.processID = LOS_GetCurrProcessID(); in Testcase()
120 task.processID = LOS_GetCurrProcessID(); in Testcase()
/kernel/liteos_a/kernel/include/
Dlos_process.h58 extern UINT32 LOS_GetCurrProcessID(VOID);
/kernel/liteos_a/drivers/char/quickstart/src/
Dquickstart.c115 if (OsGetUserInitProcessID() != LOS_GetCurrProcessID()) { in QuickstartIoctl()
/kernel/liteos_a/fs/proc/os_adapt/
Dfd_proc.c113 pidList[0] = LOS_GetCurrProcessID(); in FdProcFill()
/kernel/liteos_a/kernel/extended/liteipc/
Dhm_liteipc.c502 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/
Dshm.c239 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/
Dlos_futex.c187 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/
Dlos_perf.c255 *(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/
Dlos_hilog.c240 header->pid = LOS_GetCurrProcessID(); in HiLogHeadInit()

12