Home
last modified time | relevance | path

Searched refs:m_aucSysMem1 (Results 1 – 22 of 22) sorted by relevance

/kernel/liteos_a/kernel/extended/blackbox/
Dlos_blackbox_core.c163 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 …]
Dlos_blackbox_common.c111 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/
Dmempt_shellcmd.c102 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()
Dtask_shellcmd.c599 pcbArray = (LosProcessCB *)LOS_MemAlloc(m_aucSysMem1, size); in OsShellCmdTskInfoGet()
609 (VOID)LOS_MemFree(m_aucSysMem1, pcbArray); in OsShellCmdTskInfoGet()
/kernel/liteos_a/syscall/
Dmisc_syscall.c74 tmpInfo.totalram = LOS_MemPoolSizeGet(m_aucSysMem1); in SysInfo()
75 tmpInfo.freeram = LOS_MemPoolSizeGet(m_aucSysMem1) - LOS_MemTotalUsedGet(m_aucSysMem1); in SysInfo()
Dprocess_syscall.c734 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/
Dperf_output.c48 buf = LOS_MemAlloc(m_aucSysMem1, size); in OsPerfOutputInit()
64 (VOID)LOS_MemFree(m_aucSysMem1, buf); in OsPerfOutputInit()
/kernel/liteos_a/kernel/base/sched/
Dlos_statistics.c76 SchedTickDebug *schedDebug = (SchedTickDebug *)LOS_MemAlloc(m_aucSysMem1, tickSize); in OsShellShowTickResponse()
97 (VOID)LOS_MemFree(m_aucSysMem1, schedDebug); in OsShellShowTickResponse()
/kernel/liteos_a/kernel/include/
Dlos_memory.h78 extern UINT8 *m_aucSysMem1;
/kernel/liteos_a/kernel/base/core/
Dlos_process.c130 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 …]
Dlos_swtmr.c105 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()
Dlos_task.c325 (VOID)LOS_MemFree((VOID *)m_aucSysMem1, (VOID *)topOfStack); in OsTaskKernelResourcesToFree()
423 *pool = (VOID *)m_aucSysMem1; in OsTaskCreateParamCheck()
/kernel/liteos_a/kernel/common/
Dlos_magickey.c112 if (LOS_MemIntegrityCheck(m_aucSysMem1) == LOS_OK) { in OsMagicMemCheck()
Dlos_config.h349 #define OS_SYS_MEM_ADDR (&m_aucSysMem1[0])
Dconsole.c1578 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/
Dlos_hidumper.c180 processCpup = LOS_MemAlloc(m_aucSysMem1, size); in DumpCpuUsageUnsafe()
193 (VOID)LOS_MemFree(m_aucSysMem1, processCpup); in DumpCpuUsageUnsafe()
/kernel/liteos_a/kernel/base/ipc/
Dlos_queue.c108 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()
Dlos_queue_debug.c58 g_queueDebugArray = (QueueDebugCB *)LOS_MemAlloc(m_aucSysMem1, size); in OsQueueDbgInit()
Dlos_sem_debug.c97 g_semDebugArray = (SemDebugCB *)LOS_MemAlloc(m_aucSysMem1, size); in OsSemDbgInit()
/kernel/liteos_a/kernel/base/vm/
Dlos_vm_dump.c154 memUsed = LOS_MemTotalUsedGet(m_aucSysMem1); in OsKProcessPmUsage()
155 totalMem = LOS_MemPoolSizeGet(m_aucSysMem1); in OsKProcessPmUsage()
/kernel/liteos_a/kernel/extended/liteipc/
Dhm_liteipc.c265 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/
Dlos_memory.c60 UINT8 *m_aucSysMem1 = NULL; variable
2033 m_aucSysMem0 = m_aucSysMem1 = ptr; in OsKHeapInit()
2048 struct OsMemPoolHead *pool = (struct OsMemPoolHead *)m_aucSysMem1; in OsMemIsHeapNode()