Home
last modified time | relevance | path

Searched defs:processCB (Results 1 – 25 of 25) sorted by relevance

/kernel/liteos_a/security/vid/
Dvid.c36 UINT32 VidMapListInit(LosProcessCB *processCB) in VidMapListInit()
57 void VidMapDestroy(LosProcessCB *processCB) in VidMapDestroy()
76 LosProcessCB *processCB = OsCurrProcessGet(); in FindListNodeByVid() local
93 LosProcessCB *processCB = OsCurrProcessGet(); in FindListNodeByRid() local
112 LosProcessCB *processCB = OsCurrProcessGet(); in GetFreeVid() local
152 LosProcessCB *processCB = OsCurrProcessGet(); in ReleaseVid() local
181 LosProcessCB *processCB = OsCurrProcessGet(); in AddNodeByRid() local
224 LosProcessCB *processCB = OsCurrProcessGet(); in RemoveNodeByVid() local
/kernel/liteos_a/kernel/base/core/
Dlos_info.c35 STATIC UINT32 GetCurrParentPid(UINT32 pid, const LosProcessCB *processCB) in GetCurrParentPid()
63 STATIC UINT16 GetProcessStatus(LosProcessCB *processCB) in GetProcessStatus()
79 STATIC VOID GetProcessInfo(ProcessInfo *pcbInfo, const LosProcessCB *processCB) in GetProcessInfo()
113 STATIC VOID GetProcessMemInfo(ProcessInfo *pcbInfo, const LosProcessCB *processCB, LosVmSpace *vmSp… in GetProcessMemInfo()
136 STATIC VOID GetThreadInfo(ProcessThreadInfo *threadInfo, LosProcessCB *processCB) in GetThreadInfo()
182 LosProcessCB *processCB = OS_PCB_FROM_PID(pid); in OsGetProcessThreadInfo() local
205 const LosProcessCB *processCB = (LosProcessCB *)processVid->cb; local
242 LosProcessCB *processCB = (LosProcessCB *)processVid->cb; local
Dlos_process.c68 #define OS_ROOT_PGRP(processCB) (g_processGroup) argument
71 STATIC INLINE VOID OsInsertPCBToFreeList(LosProcessCB *processCB) in OsInsertPCBToFreeList()
86 LosProcessCB *processCB = OS_PCB_FROM_TCB(taskCB); in OsDeleteTaskFromProcess() local
96 LosProcessCB *processCB = (LosProcessCB *)processID; in OsProcessAddNewTask() local
136 ProcessGroup *OsCreateProcessGroup(LosProcessCB *processCB) in OsCreateProcessGroup()
161 STATIC VOID ExitProcessGroup(LosProcessCB *processCB, ProcessGroup **pgroup) in ExitProcessGroup()
188 LosProcessCB *processCB = OS_GET_PGROUP_LEADER(rootPGroup); in OsFindProcessGroup() local
271 STATIC UINT32 OsFindChildProcess(const LosProcessCB *processCB, const LosProcessCB *wait) in OsFindChildProcess()
284 STATIC LosProcessCB *OsFindExitChildProcess(const LosProcessCB *processCB, const LosProcessCB *wait) in OsFindExitChildProcess()
306 STATIC BOOL OsWaitWakeSpecifiedProcess(LOS_DL_LIST *head, const LosProcessCB *processCB, LOS_DL_LIS… in OsWaitWakeSpecifiedProcess()
[all …]
Dlos_task.c116 VOID OsSetMainTaskProcess(UINTPTR processCB) in OsSetMainTaskProcess()
184 LITE_OS_SEC_TEXT_INIT UINT32 OsTaskInit(UINTPTR processCB) in OsTaskInit()
364 LosProcessCB *processCB = OS_PCB_FROM_TCB(taskCB); in OsTaskResourcesToFree() local
498 LosProcessCB *processCB = OS_PCB_FROM_TCB(taskCB); in TaskCBDeInit() local
1322 INT32 OsUserProcessOperatePermissionsCheck(const LosTaskCB *taskCB, UINTPTR processCB) in OsUserProcessOperatePermissionsCheck()
1388 LosProcessCB *processCB = OsCurrProcessGet(); in OsCreateUserTask() local
/kernel/liteos_a/kernel/base/include/
Dlos_process_pri.h252 STATIC INLINE BOOL OsProcessIsUnused(const LosProcessCB *processCB) in OsProcessIsUnused()
261 STATIC INLINE BOOL OsProcessIsInactive(const LosProcessCB *processCB) in OsProcessIsInactive()
270 STATIC INLINE BOOL OsProcessIsDead(const LosProcessCB *processCB) in OsProcessIsDead()
275 STATIC INLINE BOOL OsProcessIsInit(const LosProcessCB *processCB) in OsProcessIsInit()
280 STATIC INLINE BOOL OsProcessIsPGroupLeader(const LosProcessCB *processCB) in OsProcessIsPGroupLeader()
339 STATIC INLINE BOOL OsProcessIsUserMode(const LosProcessCB *processCB) in OsProcessIsUserMode()
358 STATIC INLINE VOID OsProcessExitCodeCoreDumpSet(LosProcessCB *processCB) in OsProcessExitCodeCoreDumpSet()
363 STATIC INLINE VOID OsProcessExitCodeSignalSet(LosProcessCB *processCB, UINT32 signal) in OsProcessExitCodeSignalSet()
368 STATIC INLINE VOID OsProcessExitCodeSignalClear(LosProcessCB *processCB) in OsProcessExitCodeSignalClear()
373 STATIC INLINE BOOL OsProcessExitCodeSignalIsSet(LosProcessCB *processCB) in OsProcessExitCodeSignalIsSet()
[all …]
Dlos_pid_container_pri.h66 #define OS_PID_CONTAINER_FROM_PCB(processCB) ((processCB)->container->pidContainer) argument
68 #define OS_ROOT_PGRP(processCB) (OS_PID_CONTAINER_FROM_PCB(processCB)->rootPGroup) argument
70 #define OS_PROCESS_CONTAINER_CHECK(processCB, currProcessCB) \ argument
73 #define OS_PROCESS_PID_FOR_CONTAINER_CHECK(processCB) \ argument
Dlos_sched_pri.h449 UINTPTR processCB; /**< Which belong process */ member
/kernel/liteos_a/kernel/extended/plimit/
Dlos_plimits.c148 STATIC VOID PLimitsDeleteProcess(LosProcessCB *processCB) in PLimitsDeleteProcess()
167 STATIC UINT32 PLimitsAddProcess(ProcLimiterSet *plimits, LosProcessCB *processCB) in PLimitsAddProcess()
207 UINT32 OsPLimitsAddProcess(ProcLimiterSet *plimits, LosProcessCB *processCB) in OsPLimitsAddProcess()
228 LosProcessCB *processCB = OS_PCB_FROM_PID((unsigned int)pid); in OsPLimitsAddPid() local
239 VOID OsPLimitsDeleteProcess(LosProcessCB *processCB) in OsPLimitsDeleteProcess()
250 LosProcessCB *processCB = NULL; in OsPLimitsPidsGet() local
274 LosProcessCB *processCB = LOS_DL_LIST_ENTRY(head->pstNext, LosProcessCB, plimitsList); in PLimitsProcessMerge() local
369 LosProcessCB *processCB = NULL; in OsPLimitsMemUsageGet() local
414 LosProcessCB *processCB = NULL; in OsPLimitsSchedUsageGet() local
Dlos_schedlimit.c102 LosProcessCB *processCB = (LosProcessCB *)task->processCB; in OsSchedLimitCheckTime() local
/kernel/liteos_a/kernel/extended/container/
Dlos_container.c48 VOID OsContainerInitSystemProcess(LosProcessCB *processCB) in OsContainerInitSystemProcess()
372 VOID OsContainerFree(LosProcessCB *processCB) in OsContainerFree()
381 VOID OsOsContainersDestroyEarly(LosProcessCB *processCB) in OsOsContainersDestroyEarly()
395 VOID OsContainersDestroy(LosProcessCB *processCB) in OsContainersDestroy()
425 STATIC VOID DeInitContainers(UINT32 flags, Container *container, LosProcessCB *processCB) in DeInitContainers()
468 UINT32 OsGetContainerID(LosProcessCB *processCB, ContainerType type) in OsGetContainerID()
681 LosProcessCB *processCB = (LosProcessCB *)ProcfsContainerGet(fd, &containerType); in SetNsParamCheck() local
706 LosProcessCB *processCB = NULL; in OsSetNs() local
Dlos_pid_container.c43 STATIC VOID FreeVpid(LosProcessCB *processCB) in FreeVpid()
82 LosProcessCB *processCB, LosProcessCB *parent) in OsAllocSpecifiedVpidUnsafe()
131 STATIC UINT32 OsAllocVpid(LosProcessCB *processCB, LosProcessCB *parent) in OsAllocVpid()
187 UINT32 OsAllocVtid(LosTaskCB *taskCB, const LosProcessCB *processCB) in OsAllocVtid()
227 LosProcessCB *processCB = OS_PCB_FROM_PID(index); in OsPidContainerDestroyAllProcess() local
295 VOID OsPidContainerDestroy(Container *container, LosProcessCB *processCB) in OsPidContainerDestroy()
530 UINT32 OsGetVpidFromCurrContainer(const LosProcessCB *processCB) in OsGetVpidFromCurrContainer()
548 UINT32 OsGetVpidFromRootContainer(const LosProcessCB *processCB) in OsGetVpidFromRootContainer()
596 BOOL OsPidContainerProcessParentIsRealParent(const LosProcessCB *processCB, const LosProcessCB *cur… in OsPidContainerProcessParentIsRealParent()
Dlos_time_container.c219 UINT32 OsGetTimeContainerMonotonic(LosProcessCB *processCB, struct timespec64 *offsets) in OsGetTimeContainerMonotonic()
234 UINT32 OsSetTimeContainerMonotonic(LosProcessCB *processCB, struct timespec64 *offsets) in OsSetTimeContainerMonotonic()
Dlos_net_container.c288 LosProcessCB *processCB = OsCurrProcessGet(); in DoGetNetGroupFromCurrProcess() local
/kernel/liteos_a/fs/proc/os_adapt/
Dprocess_proc.c127 LosProcessCB *processCB = ProcGetProcessCB(data); in ProcessContainerReadLink() local
184 void *processCB = (void *)ProcGetProcessCB(data); in ProcfsContainerGet() local
270 LosProcessCB *processCB = ProcGetProcessCB(data); in ProcTimeContainerRead() local
281 static int ProcSetTimensOffset(const char *buf, LosProcessCB *processCB) in ProcSetTimensOffset()
412 LosProcessCB *processCB = ProcUidGidMapWriteCheck(file, buf, size, &kbuf, &type); in ProcIDMapWrite() local
448 LosProcessCB *processCB = ProcGetProcessCB(data); in ProcIDMapRead() local
624 …truct ProcDirEntry *ProcCreatePorcess(UINT32 pid, struct ProcProcess *porcess, uintptr_t processCB) in ProcCreatePorcess()
/kernel/liteos_a/security/cap/
Dcapability.c54 VOID OsInitCapability(LosProcessCB *processCB) in OsInitCapability()
92 LosProcessCB *processCB = NULL; in SysCapGet() local
/kernel/liteos_a/kernel/base/misc/
Dvm_shellcmd.c93 LosProcessCB *processCB = NULL; in OsDoDumpVm() local
160 LosProcessCB *processCB = OS_PCB_FROM_PID(pid); in OsShellCmdV2P() local
/kernel/liteos_a/kernel/extended/cpup/
Dlos_cpup.c91 LosProcessCB *processCB = NULL; in OsCpupGuard() local
201 LosProcessCB *processCB = NULL; in LOS_CpupReset() local
356 LosProcessCB *processCB = NULL; in OsHistoryProcessCpuUsageUnsafe() local
446 LosProcessCB *processCB = NULL; in GetAllProcessCpuUsageUnsafe() local
/kernel/liteos_a/fs/vfs/operation/
Dvfs_procfd.c327 LosProcessCB *processCB = OS_PCB_FROM_PID(targetPid); in FdClose() local
353 LosProcessCB *processCB = OS_PCB_FROM_PID(pid); in GetProcessFTable() local
/kernel/liteos_a/kernel/extended/vdso/src/
Dlos_vdso.c74 vaddr_t OsVdsoLoad(const LosProcessCB *processCB) in OsVdsoLoad()
/kernel/liteos_a/kernel/extended/hidumper/
Dlos_hidumper.c153 LosProcessCB *processCB = g_processCBArray + pid; in DoDumpCpuUsageUnsafe() local
/kernel/liteos_a/compat/posix/src/
Dtime.c1099 LosProcessCB *processCB = OsCurrProcessGet(); in setitimer() local
1152 LosProcessCB *processCB = OsCurrProcessGet(); in getitimer() local
/kernel/liteos_a/syscall/
Dprocess_syscall.c360 LosProcessCB *processCB = NULL; in SysSchedRRGetInterval() local
1179 LosProcessCB *processCB = OS_PCB_FROM_TCB(taskCB); in SysSetThreadArea() local
/kernel/liteos_a/kernel/base/sched/
Dlos_priority.c354 LosProcessCB *processCB = OS_PCB_FROM_TCB(taskCB); in BasePriorityModify() local
/kernel/liteos_a/kernel/base/vm/
Dlos_vm_dump.c258 LosProcessCB *processCB = NULL; in OsGetPIDByAspace() local
/kernel/liteos_a/fs/vfs/
Dvnode.c73 LosProcessCB *processCB = OsGetKernelInitProcess(); in VnodesInit() local