/kernel/liteos_a/security/cap/ |
D | capability.c | 45 UINT32 capability = OsCurrProcessGet()->capability; in IsCapPermit() 78 if (VALID_CAPS(caps, OsCurrProcessGet()->capability)) { in SysCapSet() 83 OsCurrProcessGet()->capability = caps; in SysCapSet() 99 processCB = OsCurrProcessGet(); in SysCapGet()
|
/kernel/liteos_a/security/vid/ |
D | vid.c | 76 LosProcessCB *processCB = OsCurrProcessGet(); in FindListNodeByVid() 93 LosProcessCB *processCB = OsCurrProcessGet(); in FindListNodeByRid() 112 LosProcessCB *processCB = OsCurrProcessGet(); in GetFreeVid() 152 LosProcessCB *processCB = OsCurrProcessGet(); in ReleaseVid() 181 LosProcessCB *processCB = OsCurrProcessGet(); in AddNodeByRid() 224 LosProcessCB *processCB = OsCurrProcessGet(); in RemoveNodeByVid()
|
/kernel/liteos_a/kernel/extended/container/ |
D | los_credentials.c | 188 Credentials *oldCredentials = OsCurrProcessGet()->credentials; in CommitCredentials() 194 OsCurrProcessGet()->credentials = newCredentials; in CommitCredentials() 201 return OsCurrProcessGet()->credentials; in CurrentCredentials() 206 UserContainer *userContainer = OsCurrProcessGet()->credentials->userContainer; in OsCurrentUserContainer()
|
D | los_ipc_container.c | 168 newContainer->ipcContainer = OsCurrProcessGet()->container->ipcContainer; in OsSetNsIpcContainer() 215 return OsCurrProcessGet()->container->ipcContainer; in OsGetCurrIpcContainer()
|
D | los_mnt_container.c | 44 return &OsCurrProcessGet()->container->mntContainer->mountList; in GetContainerMntList() 183 newContainer->mntContainer = OsCurrProcessGet()->container->mntContainer; in OsSetNsMntContainer()
|
D | los_uts_container.c | 183 newContainer->utsContainer = OsCurrProcessGet()->container->utsContainer; in OsSetNsUtsContainer() 216 Container *container = OsCurrProcessGet()->container; in OsGetCurrUtsName()
|
D | los_time_container.c | 149 LosProcessCB *curr = OsCurrProcessGet(); in OsSetNsTimeContainer() 216 return OsCurrProcessGet()->container->timeContainer; in OsGetCurrTimeContainer()
|
D | los_net_container.c | 272 newContainer->netContainer = OsCurrProcessGet()->container->netContainer; in OsSetNsNetContainer() 288 LosProcessCB *processCB = OsCurrProcessGet(); in DoGetNetGroupFromCurrProcess()
|
D | los_container.c | 560 LosProcessCB *curr = OsCurrProcessGet(); in OsUnshare() 694 if (processCB == OsCurrProcessGet()) { in SetNsParamCheck() 705 LosProcessCB *curr = OsCurrProcessGet(); in OsSetNs()
|
/kernel/liteos_a/kernel/base/vm/ |
D | los_vm_syscall.c | 55 if (len > OsCurrProcessGet()->vmSpace->mapSize) { in OsCheckMMapParams() 112 LosVmSpace *vmSpace = OsCurrProcessGet()->vmSpace; in LOS_MMap() 173 return OsUnMMap(OsCurrProcessGet()->vmSpace, addr, size); in LOS_UnMMap() 205 LosVmSpace *space = OsCurrProcessGet()->vmSpace; in LOS_DoBrk() 283 LosVmSpace *space = OsCurrProcessGet()->vmSpace; in LOS_DoMprotect() 356 LosVmSpace *space = OsCurrProcessGet()->vmSpace; in OsMremapCheck() 411 LosVmSpace *space = OsCurrProcessGet()->vmSpace; in LOS_DoMremap() 504 space = OsCurrProcessGet()->vmSpace; in LOS_DumpMemRegion()
|
/kernel/liteos_a/kernel/extended/liteipc/ |
D | hm_liteipc.c | 129 LosProcessCB *pcb = OsCurrProcessGet(); in LiteIpcOpen() 203 LosProcessCB *pcb = OsCurrProcessGet(); in LiteIpcMmap() 405 LosProcessCB *pcb = OsCurrProcessGet(); in CheckUsedBuffer() 500 LosProcessCB *curr = OsCurrProcessGet(); in HasServiceAccess() 527 if (OsCurrProcessGet()->ipcInfo->ipcTaskID == INVAILD_ID) { in SetIpcTask() 528 OsCurrProcessGet()->ipcInfo->ipcTaskID = LOS_CurTaskIDGet(); in SetIpcTask() 529 return OsCurrProcessGet()->ipcInfo->ipcTaskID; in SetIpcTask() 531 PRINT_ERR("Liteipc curprocess %d IpcTask already set!\n", OsCurrProcessGet()->processID); in SetIpcTask() 537 if (OsCurrProcessGet()->ipcInfo->ipcTaskID == INVAILD_ID) { in IsIpcTaskSet() 940 node->msg.processID = OsCurrProcessGet()->processID; in CopyDataFromUser() [all …]
|
/kernel/liteos_a/kernel/extended/plimit/ |
D | los_ipclimit.c | 193 LosProcessCB *run = OsCurrProcessGet(); in OsIPCLimitMqAlloc() 211 LosProcessCB *run = OsCurrProcessGet(); in OsIPCLimitMqFree() 223 LosProcessCB *run = OsCurrProcessGet(); in OsIPCLimitShmAlloc() 241 LosProcessCB *run = OsCurrProcessGet(); in OsIPCLimitShmFree()
|
D | los_memlimit.c | 181 LosProcessCB *run = OsCurrProcessGet(); in OsMemLimitCheckAndMemAdd() 210 LosProcessCB *run = OsCurrProcessGet(); in OsMemLimitMemFree()
|
D | los_processlimit.c | 176 LosProcessCB *run = OsCurrProcessGet(); in OsPidLimitGetPriorityLimit()
|
D | los_plimits.c | 359 (VOID)PLimitsDeleteProcess(OsCurrProcessGet()); in OsPLimitsCreate() 360 (VOID)PLimitsAddProcess(newPLimits, OsCurrProcessGet()); in OsPLimitsCreate()
|
/kernel/liteos_a/fs/vfs/operation/ |
D | vfs_other.c | 137 LosProcessCB *curr = OsCurrProcessGet(); in SetWorkDir() 228 LosProcessCB *curr = OsCurrProcessGet(); in getcwd() 637 LosProcessCB *curr = OsCurrProcessGet(); in ls() 745 return OsCurrProcessGet()->umask; in GetUmask() 755 oldUmask = OsCurrProcessGet()->umask; in SysUmask() 756 OsCurrProcessGet()->umask = umask; in SysUmask() 788 LosProcessCB *curr = OsCurrProcessGet(); in chroot()
|
/kernel/liteos_a/kernel/base/core/ |
D | los_process.c | 187 ProcessGroup *rootPGroup = OS_ROOT_PGRP(OsCurrProcessGet()); in OsFindProcessGroup() 228 ProcessGroup *rootPGroup = OS_ROOT_PGRP(OsCurrProcessGet()); in OsSendSignalToAllProcess() 988 LosProcessCB *runProcess = OsCurrProcessGet(); in OsProcessCapPermitCheck() 1384 LosProcessCB *processCB = OsCurrProcessGet(); in OsWait() 1506 LosProcessCB *runProcessCB = OsCurrProcessGet(); in OsSetProcessGroupCheck() 1547 ProcessGroup *rootPGroup = OS_ROOT_PGRP(OsCurrProcessGet()); in OsSetProcessGroupIDUnsafe() 1602 return OsSetProcessGroupID(OsCurrProcessGet()->processID, gid); in OsSetCurrProcessGroupID() 1631 return LOS_GetProcessGroupID(OsCurrProcessGet()->processID); in LOS_GetCurrProcessGroupID() 1677 LosProcessCB *processCB = OsCurrProcessGet(); in OsExecProcessVmSpaceRestore() 1687 LosProcessCB *processCB = OsCurrProcessGet(); in OsExecProcessVmSpaceReplace() [all …]
|
/kernel/liteos_a/shell/full/src/base/ |
D | shell_lk.c | 194 ((OsCurrProcessGet() == NULL) ? "NULL" : OsCurrProcessGet()->processName), in OsLkDefaultFunc()
|
/kernel/liteos_a/syscall/ |
D | process_syscall.c | 371 processCB = OsCurrProcessGet(); in SysSchedRRGetInterval() 488 if (OsCurrProcessGet()->processID == OS_USER_ROOT_PROCESS_ID) { in SysGetPPID() 492 return OsCurrProcessGet()->parentProcess->processID; in SysGetPPID() 636 Credentials *newCredentials = PrepareCredential(OsCurrProcessGet()); in SysSetUserID() 795 Credentials *newCredentials = PrepareCredential(OsCurrProcessGet()); in SysSetGroupID() 1018 OsCurrProcessGet()->user = newUser; in SetGroups() 1052 (void)memcpy_s(safeList, listSize, &OsCurrProcessGet()->user->groups[0], listSize); in GetGroups()
|
/kernel/liteos_a/arch/arm/arm/src/ |
D | los_exc.c | 320 LosProcessCB *runProcess = OsCurrProcessGet(); in OsExcSysInfo() 491 runProcess = OsCurrProcessGet(); in OsDumpProcessUsedMemNode() 560 LosProcessCB *runProcess = OsCurrProcessGet(); in OsUserExcHandle() 630 LosProcessCB *runProcess = OsCurrProcessGet(); in IsValidFP() 716 LosProcessCB *runProcess = OsCurrProcessGet(); in OsGetUsrIpInfo() 1021 g_currHandleExcPID = OsCurrProcessGet()->processID; in OsWaitOtherCoresHandleExcEnd() 1046 g_currHandleExcPID = OsCurrProcessGet()->processID; in OsCheckAllCpuStatus() 1058 if (OsCurrProcessGet()->processID == g_currHandleExcPID) { in OsCheckAllCpuStatus()
|
/kernel/liteos_a/kernel/base/include/ |
D | los_process_pri.h | 390 STATIC INLINE LosProcessCB *OsCurrProcessGet(VOID) in OsCurrProcessGet() function 407 user = OsCurrProcessGet()->user; in OsCurrUserGet() 453 if (OS_PROCESS_CONTAINER_CHECK(processCB, OsCurrProcessGet())) { in OsGetPid()
|
/kernel/liteos_a/compat/posix/src/ |
D | misc.c | 165 LosProcessCB *pcb = OsCurrProcessGet(); in getrlimit() 199 LosProcessCB *pcb = OsCurrProcessGet(); in setrlimit()
|
/kernel/liteos_a/kernel/common/ |
D | los_printf.c | 285 ((OsCurrProcessGet() == NULL) ? "NULL" : OsCurrProcessGet()->processName), in LOS_LkPrint()
|
/kernel/liteos_a/kernel/extended/dynload/src/ |
D | los_exec_elf.c | 158 …ret = OsExecRecycleAndInit(OsCurrProcessGet(), loadInfo.fileName, loadInfo.oldSpace, loadInfo.oldF… in LOS_DoExecveFile()
|
/kernel/liteos_a/kernel/base/ipc/ |
D | los_signal.c | 405 LosProcessCB *current = OsCurrProcessGet(); in SendSigPermissionCheck() 726 LosProcessCB *process = OsCurrProcessGet(); in OsSaveSignalContext() 784 LosProcessCB *process = OsCurrProcessGet(); in OsRestorSignalContext()
|