Home
last modified time | relevance | path

Searched refs:m_aucSysMem0 (Results 1 – 25 of 73) sorted by relevance

123

/kernel/liteos_m/testsuites/sample/kernel/task/
DIt_los_task_125.c62 freeMem = GetfreeMemSize(m_aucSysMem0); in TestCase()
69 freeMem1 = GetfreeMemSize(m_aucSysMem0); in TestCase()
73 freeMem2 = GetfreeMemSize(m_aucSysMem0); in TestCase()
78 freeMem3 = GetfreeMemSize(m_aucSysMem0); in TestCase()
82 freeMem4 = GetfreeMemSize(m_aucSysMem0); in TestCase()
DIt_los_task_124.c62 freeMem = GetfreeMemSize(m_aucSysMem0); in TestCase()
69 freeMem1 = GetfreeMemSize(m_aucSysMem0); in TestCase()
73 freeMem2 = GetfreeMemSize(m_aucSysMem0); in TestCase()
77 freeMem3 = GetfreeMemSize(m_aucSysMem0); in TestCase()
82 freeMem4 = GetfreeMemSize(m_aucSysMem0); in TestCase()
DIt_los_task_126.c60 freeMem = GetfreeMemSize(m_aucSysMem0); in TestCase()
67 (VOID)GetfreeMemSize(m_aucSysMem0); in TestCase()
71 freeMem2 = GetfreeMemSize(m_aucSysMem0); in TestCase()
75 freeMem3 = GetfreeMemSize(m_aucSysMem0); in TestCase()
DIt_los_task_127.c65 freeMem = GetfreeMemSize(m_aucSysMem0); in TestCase()
69 freeMem1 = GetfreeMemSize(m_aucSysMem0); in TestCase()
72 freeMem2 = GetfreeMemSize(m_aucSysMem0); in TestCase()
80 freeMem3 = GetfreeMemSize(m_aucSysMem0); in TestCase()
DIt_los_task_128.c66 freeMem = GetfreeMemSize(m_aucSysMem0); in TestCase()
89 freeMem2 = GetfreeMemSize(m_aucSysMem0); in TestCase()
/kernel/liteos_a/shell/full/src/base/
Dshcmd.c62 (VOID)LOS_MemFree(m_aucSysMem0, (cmdParsed->paramArray[i])); in OsFreeCmdPara()
71 CHAR *tempStr = (CHAR *)LOS_MemAlloc(m_aucSysMem0, SHOW_MAX_LEN << 1); in OsStrSeparateTabStrGet()
80 (VOID)LOS_MemFree(m_aucSysMem0, tempStr); in OsStrSeparateTabStrGet()
88 (VOID)LOS_MemFree(m_aucSysMem0, tempStr); in OsStrSeparateTabStrGet()
98 (VOID)LOS_MemFree(m_aucSysMem0, tempStr); in OsStrSeparateTabStrGet()
104 (VOID)LOS_MemFree(m_aucSysMem0, tempStr); in OsStrSeparateTabStrGet()
390 …CHAR *dirOpen = (CHAR *)LOS_MemAlloc(m_aucSysMem0, CMD_MAX_PATH * 3); /* 3:dirOpen\strOutput\strCm… in OsTabMatchFile()
400 (VOID)LOS_MemFree(m_aucSysMem0, dirOpen); in OsTabMatchFile()
410 (VOID)LOS_MemFree(m_aucSysMem0, dirOpen); in OsTabMatchFile()
414 (VOID)LOS_MemFree(m_aucSysMem0, dirOpen); in OsTabMatchFile()
[all …]
Dshow.c67 consoleCB->shellHandle = LOS_MemAlloc((VOID *)m_aucSysMem0, sizeof(ShellCB));
112 (VOID)LOS_MemFree((VOID *)m_aucSysMem0, shellCB->cmdKeyLink);
113 (VOID)LOS_MemFree((VOID *)m_aucSysMem0, shellCB->cmdHistoryKeyLink);
119 (VOID)LOS_MemFree((VOID *)m_aucSysMem0, shellCB);
Dshmsg.c82 (VOID)LOS_MemFree(m_aucSysMem0, (VOID *)cmdkey); in ShellSaveHistoryCmd()
92 (VOID)LOS_MemFree(m_aucSysMem0, (VOID *)cmdNxt); in ShellSaveHistoryCmd()
237 CHAR *msgName = (CHAR *)LOS_MemAlloc(m_aucSysMem0, len + 1); in ShellMsgNameGetAndExec()
269 (VOID)LOS_MemFree(m_aucSysMem0, msgName); in ShellMsgNameGetAndExec()
292 newMsg = (CHAR *)LOS_MemAlloc(m_aucSysMem0, newLen); in ShellMsgParse()
303 output = (CHAR *)LOS_MemAlloc(m_aucSysMem0, len + 1); in ShellMsgParse()
320 (VOID)LOS_MemFree(m_aucSysMem0, output); in ShellMsgParse()
323 (VOID)LOS_MemFree(m_aucSysMem0, newMsg); in ShellMsgParse()
400 (VOID)LOS_MemFree((VOID *)m_aucSysMem0, shellCB); in ShellTask()
/kernel/liteos_a/security/vid/
Dvid.c40 processCB->timerIdMap.bitMap = (UINT32*)LOS_MemAlloc(m_aucSysMem0, sizeof(UINT32)); in VidMapListInit()
50 LOS_MemFree(m_aucSysMem0, processCB->timerIdMap.bitMap); in VidMapListInit()
65 LOS_MemFree(m_aucSysMem0, idNode); in VidMapDestroy()
69 LOS_MemFree(m_aucSysMem0, processCB->timerIdMap.bitMap); in VidMapDestroy()
134 tmp = (UINT32*)LOS_MemAlloc(m_aucSysMem0, mapMaxNum * sizeof(UINT32)); in GetFreeVid()
141 LOS_MemFree(m_aucSysMem0, idMap->bitMap); in GetFreeVid()
169 tmpMap = LOS_MemRealloc(m_aucSysMem0, idMap->bitMap, mapMaxNum * sizeof(UINT32)); in ReleaseVid()
196 tmp = (TimerIdMapNode *)LOS_MemAlloc(m_aucSysMem0, sizeof(TimerIdMapNode)); in AddNodeByRid()
235 LOS_MemFree(m_aucSysMem0, tmp); in RemoveNodeByVid()
/kernel/liteos_m/testsuites/sample/kernel/lms/
DIt_los_lms_016.c43 src = LOS_MemAlloc(m_aucSysMem0, strlen(string)); in TestCase()
46 buf = LOS_MemAlloc(m_aucSysMem0, (strlen(string) + 10)); /* mem size 10 */ in TestCase()
54 ret = LOS_MemFree(m_aucSysMem0, buf); in TestCase()
57 ret = LOS_MemFree(m_aucSysMem0, src); in TestCase()
DIt_los_lms_017.c43 src = LOS_MemAlloc(m_aucSysMem0, (strlen(string) + 1)); /* mem size 1 */ in TestCase()
49 buf = LOS_MemAlloc(m_aucSysMem0, (strlen(string) + 4)); /* mem size 10 */ in TestCase()
57 ret = LOS_MemFree(m_aucSysMem0, buf); in TestCase()
60 ret = LOS_MemFree(m_aucSysMem0, src); in TestCase()
DIt_los_lms_012.c38 char *str = (char*)LOS_MemAlloc(m_aucSysMem0, INDEX_MAX); in TestCase()
45 LOS_MemFree(m_aucSysMem0, str); in TestCase()
46 LOS_MemFree(m_aucSysMem0, str); in TestCase()
DIt_los_lms_004.c50 str[index] = (char *)LOS_MemAllocAlign(m_aucSysMem0, size[k], boundary); in TestCase()
55 (VOID)LOS_MemFree(m_aucSysMem0, str[i]); in TestCase()
62 (VOID)LOS_MemFree(m_aucSysMem0, str[i]); in TestCase()
DIt_los_lms_011.c38 char *str = (char*)LOS_MemAlloc(m_aucSysMem0, INDEX_MAX); in TestCase()
45 LOS_MemFree(m_aucSysMem0, str); in TestCase()
DIt_los_lms_002.c43 str = (CHAR *)LOS_MemAllocAlign(m_aucSysMem0, size, boundary); in TestCase()
47 (VOID)LOS_MemFree(m_aucSysMem0, str); in TestCase()
DIt_los_lms_003.c43 str = (CHAR *)LOS_MemAllocAlign(m_aucSysMem0, size, boundary); in TestCase()
48 (VOID)LOS_MemFree(m_aucSysMem0, str); in TestCase()
DIt_los_lms_019.c40 src = LOS_MemAlloc(m_aucSysMem0, 9); in TestCase()
54 buf = LOS_MemAlloc(m_aucSysMem0, 20); in TestCase()
DIt_los_lms_018.c40 src = LOS_MemAlloc(m_aucSysMem0, 9); in TestCase()
54 buf = LOS_MemAlloc(m_aucSysMem0, 7); in TestCase()
/kernel/liteos_m/components/shell/src/base/
Dshcmd.c121 output = (CHAR*)LOS_MemAlloc(m_aucSysMem0, len + 1); in OsCmdKeyShift()
162 (VOID)LOS_MemFree(m_aucSysMem0, output); in OsCmdKeyShift()
167 (VOID)LOS_MemFree(m_aucSysMem0, output); in OsCmdKeyShift()
249 cmdKeyLink = (CmdKeyLink *)LOS_MemAlloc(m_aucSysMem0, sizeof(CmdKeyLink)); in OsShellKeyInit()
254 cmdHistoryLink = (CmdKeyLink *)LOS_MemAlloc(m_aucSysMem0, sizeof(CmdKeyLink)); in OsShellKeyInit()
256 (VOID)LOS_MemFree(m_aucSysMem0, cmdKeyLink); in OsShellKeyInit()
282 (VOID)LOS_MemFree(m_aucSysMem0, cmdtmp); in OsShellKeyDeInit()
286 (VOID)LOS_MemFree(m_aucSysMem0, cmdKeyLink); in OsShellKeyDeInit()
296 cmdItemGroup = (UINT8 *)LOS_MemAlloc(m_aucSysMem0, index * sizeof(CmdItemNode)); in OsShellSysCmdRegister()
340 (VOID)LOS_MemFree(m_aucSysMem0, cmdParsed->paramArray[i]); in OsCmdExec()
[all …]
/kernel/liteos_a/arch/arm/arm/src/
Dlos_hwi.c121 paramByAlloc = (HwiIrqParam *)LOS_MemAlloc(m_aucSysMem0, sizeof(HwiIrqParam)); in OsHwiCpIrqParam()
139 (VOID)LOS_MemFree(m_aucSysMem0, (VOID *)g_hwiForm[hwiNum].uwParam); in OsHwiDelNoShared()
190 (VOID)LOS_MemFree(m_aucSysMem0, (VOID *)hwiForm->uwParam); in OsHwiDelShared()
192 (VOID)LOS_MemFree(m_aucSysMem0, hwiForm); in OsHwiDelShared()
207 (VOID)LOS_MemFree(m_aucSysMem0, (VOID *)hwiForm->uwParam); in OsHwiDelShared()
208 (VOID)LOS_MemFree(m_aucSysMem0, hwiForm); in OsHwiDelShared()
259 hwiFormNode = (HwiHandleForm *)LOS_MemAlloc(m_aucSysMem0, sizeof(HwiHandleForm)); in OsHwiCreateShared()
268 (VOID)LOS_MemFree(m_aucSysMem0, hwiFormNode); in OsHwiCreateShared()
/kernel/liteos_m/components/shell/src/cmds/
Dmempt_shellcmd.c45 UINT32 memUsed = LOS_MemTotalUsedGet(m_aucSysMem0); in OsShellCmdFreeInfo()
46 UINT32 totalMem = LOS_MemPoolSizeGet(m_aucSysMem0); in OsShellCmdFreeInfo()
92 if (LOS_MemInfoGet(m_aucSysMem0, &poolStatus) != LOS_OK) { in OsShellCmdWaterLine()
/kernel/liteos_a/kernel/common/
Dconsole.c678 sbuffer = userBuf ? LOS_MemAlloc(m_aucSysMem0, bufLen) : buffer; in ConsoleRead()
695 LOS_MemFree(m_aucSysMem0, sbuffer); in ConsoleRead()
702 LOS_MemFree(m_aucSysMem0, sbuffer); in ConsoleRead()
776 sbuffer = userBuf ? LOS_MemAlloc(m_aucSysMem0, bufLen) : (CHAR *)buffer; in ConsoleWrite()
789 LOS_MemFree(m_aucSysMem0, sbuffer); in ConsoleWrite()
796 LOS_MemFree(m_aucSysMem0, sbuffer); in ConsoleWrite()
1044 filep = (struct file *)LOS_MemAlloc(m_aucSysMem0, sizeof(struct file)); in OsConsoleDevInit()
1094 (VOID)LOS_MemFree(m_aucSysMem0, filep); in OsConsoleDevInit()
1113 cirBufSendCB = (CirBufSendCB *)LOS_MemAlloc(m_aucSysMem0, sizeof(CirBufSendCB)); in ConsoleCirBufCreate()
1119 fifo = (CHAR *)LOS_MemAlloc(m_aucSysMem0, CONSOLE_CIRCBUF_SIZE); in ConsoleCirBufCreate()
[all …]
/kernel/liteos_m/testsuites/sample/kernel/mem/
DIt_los_mem_046.c55 ret = LOS_MemRegionsAdd(m_aucSysMem0, memRegions, sizeof(memRegions) / sizeof(memRegions[0])); in TestCase()
64 ret = LOS_MemFree(m_aucSysMem0, p); in TestCase()
/kernel/liteos_a/drivers/char/perf/src/
Dperf.c67 char *records = LOS_MemAlloc(m_aucSysMem0, buflen); in PerfRead()
87 LOS_MemFree(m_aucSysMem0, records); in PerfRead()
/kernel/liteos_a/drivers/char/trace/src/
Dtrace.c102 info = LOS_MemAlloc(m_aucSysMem0, infoLen); in TraceWrite()
110 LOS_MemFree(m_aucSysMem0, info); in TraceWrite()

123