/kernel/liteos_a/kernel/extended/blackbox/ |
D | los_blackbox_core.c | 163 info = LOS_MemAlloc(m_aucSysMem1, sizeof(*info)); in SaveLastLog() 171 (void)LOS_MemFree(m_aucSysMem1, info); in SaveLastLog() 176 (void)LOS_MemFree(m_aucSysMem1, info); in SaveLastLog() 210 (void)LOS_MemFree(m_aucSysMem1, info); in SaveLastLog() 354 newOps = LOS_MemAlloc(m_aucSysMem1, sizeof(*newOps)); in BBoxRegisterModuleOps() 362 (void)LOS_MemFree(m_aucSysMem1, newOps); in BBoxRegisterModuleOps() 367 (void)LOS_MemFree(m_aucSysMem1, newOps); in BBoxRegisterModuleOps() 381 (void)LOS_MemFree(m_aucSysMem1, newOps); in BBoxRegisterModuleOps() 415 struct ErrorInfo *info = LOS_MemAlloc(m_aucSysMem1, sizeof(struct ErrorInfo)); in BBoxNotifyError() 422 (void)LOS_MemFree(m_aucSysMem1, info); in BBoxNotifyError() [all …]
|
D | los_blackbox_common.c | 111 buf = LOS_MemAlloc(m_aucSysMem1, ERROR_INFO_MAX_LEN); in SaveBasicErrorInfo() 125 (void)LOS_MemFree(m_aucSysMem1, buf); in SaveBasicErrorInfo()
|
/kernel/liteos_a/kernel/base/misc/ |
D | mempt_shellcmd.c | 102 if (LOS_MemIntegrityCheck(m_aucSysMem1) == LOS_OK) { in OsShellCmdMemCheck() 134 UINT32 memUsed = LOS_MemTotalUsedGet(m_aucSysMem1); in OsShellCmdFreeInfo() 135 UINT32 totalMem = LOS_MemPoolSizeGet(m_aucSysMem1); in OsShellCmdFreeInfo() 230 OsMemUsedNodeShow(m_aucSysMem1); in OsShellCmdMemUsed()
|
D | task_shellcmd.c | 599 pcbArray = (LosProcessCB *)LOS_MemAlloc(m_aucSysMem1, size); in OsShellCmdTskInfoGet() 609 (VOID)LOS_MemFree(m_aucSysMem1, pcbArray); in OsShellCmdTskInfoGet()
|
/kernel/liteos_a/syscall/ |
D | misc_syscall.c | 74 tmpInfo.totalram = LOS_MemPoolSizeGet(m_aucSysMem1); in SysInfo() 75 tmpInfo.freeram = LOS_MemPoolSizeGet(m_aucSysMem1) - LOS_MemTotalUsedGet(m_aucSysMem1); in SysInfo()
|
D | process_syscall.c | 734 User *newUser = LOS_MemAlloc(m_aucSysMem1, sizeof(User) + listSize * sizeof(int)); in SetGroups() 753 (void)LOS_MemFree(m_aucSysMem1, oldUser); in SetGroups() 778 safeList = LOS_MemAlloc(m_aucSysMem1, listSize); in GetGroups() 792 (void)LOS_MemFree(m_aucSysMem1, safeList); in GetGroups() 847 safeList = LOS_MemAlloc(m_aucSysMem1, size * sizeof(int)); in SysSetGroups() 871 (void)LOS_MemFree(m_aucSysMem1, safeList); in SysSetGroups()
|
/kernel/liteos_a/kernel/extended/perf/ |
D | perf_output.c | 48 buf = LOS_MemAlloc(m_aucSysMem1, size); in OsPerfOutputInit() 64 (VOID)LOS_MemFree(m_aucSysMem1, buf); in OsPerfOutputInit()
|
/kernel/liteos_a/kernel/base/sched/ |
D | los_statistics.c | 76 SchedTickDebug *schedDebug = (SchedTickDebug *)LOS_MemAlloc(m_aucSysMem1, tickSize); in OsShellShowTickResponse() 97 (VOID)LOS_MemFree(m_aucSysMem1, schedDebug); in OsShellShowTickResponse()
|
/kernel/liteos_a/kernel/include/ |
D | los_memory.h | 78 extern UINT8 *m_aucSysMem1;
|
/kernel/liteos_a/kernel/base/core/ |
D | los_process.c | 130 ProcessGroup *group = LOS_MemAlloc(m_aucSysMem1, sizeof(ProcessGroup)); in OsCreateProcessGroup() 404 (VOID)LOS_MemFree(m_aucSysMem1, processCB->user); in OsProcessResourcesToFree() 429 (VOID)LOS_MemFree(m_aucSysMem1, processCpup); in OsProcessResourcesToFree() 499 (VOID)LOS_MemFree(m_aucSysMem1, group); in OsChildProcessResourcesFree() 545 g_processCBArray = (LosProcessCB *)LOS_MemAlloc(m_aucSysMem1, size); in OsProcessInit() 643 (VOID)LOS_MemFree(m_aucSysMem1, group); in OsDeInitPCB() 707 processCB->processCpup = (OsCpupBase *)LOS_MemAlloc(m_aucSysMem1, sizeof(OsCpupBase)); in OsInitPCB() 735 User *user = LOS_MemAlloc(m_aucSysMem1, sizeof(User) + (size - 1) * sizeof(UINT32)); in OsCreateUser() 1169 (VOID)LOS_MemFree(m_aucSysMem1, group); in OsWaitRecycleChildProcess() 1387 (VOID)LOS_MemFree(m_aucSysMem1, group); in OsSetProcessGroupID() [all …]
|
D | los_swtmr.c | 105 g_swtmrDebugData = (SwtmrDebugData *)LOS_MemAlloc(m_aucSysMem1, size); in SwtmrDebugDataInit() 350 g_swtmrHandlerPool = (UINT8 *)LOS_MemAlloc(m_aucSysMem1, size); /* system resident resource */ in SwtmrBaseInit() 400 (VOID)LOS_MemFree(m_aucSysMem1, g_swtmrHandlerPool); in OsSwtmrInit()
|
D | los_task.c | 325 (VOID)LOS_MemFree((VOID *)m_aucSysMem1, (VOID *)topOfStack); in OsTaskKernelResourcesToFree() 423 *pool = (VOID *)m_aucSysMem1; in OsTaskCreateParamCheck()
|
/kernel/liteos_a/kernel/common/ |
D | los_magickey.c | 112 if (LOS_MemIntegrityCheck(m_aucSysMem1) == LOS_OK) { in OsMagicMemCheck()
|
D | los_config.h | 349 #define OS_SYS_MEM_ADDR (&m_aucSysMem1[0])
|
D | console.c | 1578 buf = (CHAR *)LOS_MemAlloc(m_aucSysMem1, size + 1); in ConsoleSendTask() 1587 (VOID)LOS_MemFree(m_aucSysMem1, buf); in ConsoleSendTask()
|
/kernel/liteos_a/kernel/extended/hidumper/ |
D | los_hidumper.c | 180 processCpup = LOS_MemAlloc(m_aucSysMem1, size); in DumpCpuUsageUnsafe() 193 (VOID)LOS_MemFree(m_aucSysMem1, processCpup); in DumpCpuUsageUnsafe()
|
/kernel/liteos_a/kernel/base/ipc/ |
D | los_queue.c | 108 queue = (UINT8 *)LOS_MemAlloc(m_aucSysMem1, (UINT32)len * msgSize); in LOS_QueueCreate() 117 (VOID)LOS_MemFree(m_aucSysMem1, queue); in LOS_QueueCreate() 439 ret = LOS_MemFree(m_aucSysMem1, (VOID *)queue); in LOS_QueueDelete()
|
D | los_queue_debug.c | 58 g_queueDebugArray = (QueueDebugCB *)LOS_MemAlloc(m_aucSysMem1, size); in OsQueueDbgInit()
|
D | los_sem_debug.c | 97 g_semDebugArray = (SemDebugCB *)LOS_MemAlloc(m_aucSysMem1, size); in OsSemDbgInit()
|
/kernel/liteos_a/kernel/base/vm/ |
D | los_vm_dump.c | 154 memUsed = LOS_MemTotalUsedGet(m_aucSysMem1); in OsKProcessPmUsage() 155 totalMem = LOS_MemPoolSizeGet(m_aucSysMem1); in OsKProcessPmUsage()
|
/kernel/liteos_a/kernel/extended/liteipc/ |
D | hm_liteipc.c | 265 ProcIpcInfo *ipcInfo = LOS_MemAlloc(m_aucSysMem1, sizeof(ProcIpcInfo)); in LiteIpcPoolCreate() 325 LOS_MemFree(m_aucSysMem1, pcb->ipcInfo); in LiteIpcPoolDestroy() 332 IpcTaskInfo *taskInfo = LOS_MemAlloc((VOID *)m_aucSysMem1, sizeof(IpcTaskInfo)); in LiteIpcTaskInit() 641 (VOID)LOS_MemFree(m_aucSysMem1, ipcTaskInfo); in LiteIpcRemoveServiceHandle()
|
/kernel/liteos_a/kernel/base/mem/tlsf/ |
D | los_memory.c | 60 UINT8 *m_aucSysMem1 = NULL; variable 2033 m_aucSysMem0 = m_aucSysMem1 = ptr; in OsKHeapInit() 2048 struct OsMemPoolHead *pool = (struct OsMemPoolHead *)m_aucSysMem1; in OsMemIsHeapNode()
|