Home
last modified time | relevance | path

Searched refs:LOS_MemFree (Results 1 – 25 of 130) sorted by relevance

123456

/kernel/liteos_m/testsuites/sample/kernel/lms/
DIt_los_lms_009.c51 (VOID)LOS_MemFree(g_testLmsPool, bigger); in TestCase()
59 (VOID)LOS_MemFree(g_testLmsPool, tmp); in TestCase()
60 (VOID)LOS_MemFree(g_testLmsPool, newPtr); in TestCase()
64 (VOID)LOS_MemFree(g_testLmsPool, str); in TestCase()
67 (VOID)LOS_MemFree(g_testLmsPool, str); in TestCase()
68 (VOID)LOS_MemFree(g_testLmsPool, bigger); in TestCase()
71 (VOID)LOS_MemFree(g_testLmsPool, str); in TestCase()
72 (VOID)LOS_MemFree(g_testLmsPool, tmp); in TestCase()
DIt_los_lms_007.c51 (VOID)LOS_MemFree(g_testLmsPool, bigger); in TestCase()
59 (VOID)LOS_MemFree(g_testLmsPool, tmp); in TestCase()
60 (VOID)LOS_MemFree(g_testLmsPool, newPtr); in TestCase()
64 (VOID)LOS_MemFree(g_testLmsPool, str); in TestCase()
67 (VOID)LOS_MemFree(g_testLmsPool, str); in TestCase()
68 (VOID)LOS_MemFree(g_testLmsPool, bigger); in TestCase()
71 (VOID)LOS_MemFree(g_testLmsPool, str); in TestCase()
72 (VOID)LOS_MemFree(g_testLmsPool, tmp); in TestCase()
DIt_los_lms_008.c51 (VOID)LOS_MemFree(g_testLmsPool, bigger); in TestCase()
59 (VOID)LOS_MemFree(g_testLmsPool, tmp); in TestCase()
60 (VOID)LOS_MemFree(g_testLmsPool, newPtr); in TestCase()
64 (VOID)LOS_MemFree(g_testLmsPool, str); in TestCase()
67 (VOID)LOS_MemFree(g_testLmsPool, str); in TestCase()
68 (VOID)LOS_MemFree(g_testLmsPool, bigger); in TestCase()
71 (VOID)LOS_MemFree(g_testLmsPool, str); in TestCase()
72 (VOID)LOS_MemFree(g_testLmsPool, tmp); in TestCase()
DIt_los_lms_012.c45 LOS_MemFree(m_aucSysMem0, str); in TestCase()
46 LOS_MemFree(m_aucSysMem0, str); in TestCase()
/kernel/liteos_m/testsuites/sample/kernel/mem/
DIt_los_mem_013.c49 …ret = LOS_MemFree(g_memPool, (void *)((char *)p0 + 16)); // 16, Get an illegal memory node address. in TestCase()
52 ret = LOS_MemFree(g_memPool, p0); in TestCase()
55 …ret = LOS_MemFree(g_memPool, (void *)((char *)p0 + 16)); // 16, Get an illegal memory node address. in TestCase()
61 …ret = LOS_MemFree(g_memPool, (void *)((char *)p0 - 16)); // 16, Get an illegal memory node address. in TestCase()
64 ret = LOS_MemFree(g_memPool, p0); in TestCase()
67 …ret = LOS_MemFree(g_memPool, (void *)((char *)p0 - 16)); // 16, Get an illegal memory node address. in TestCase()
DIt_los_mem_014.c60 ret = LOS_MemFree(g_memPool, p[0]); in TestCase()
63 ret = LOS_MemFree(g_memPool, p[1]); in TestCase()
69 ret = LOS_MemFree(g_memPool, p[2]); // 2, release the secend node. in TestCase()
72 ret = LOS_MemFree(g_memPool, p[3]); // 3, release the third node. in TestCase()
78 ret = LOS_MemFree(g_memPool, p[0]); in TestCase()
81 ret = LOS_MemFree(g_memPool, p[2]); // 2, release the new node . in TestCase()
DIt_los_mem_011.c44 ret = LOS_MemFree(NULL, p0); in TestCase()
47 ret = LOS_MemFree(g_memPool, p0); in TestCase()
51 ret = LOS_MemFree(g_memPool, p0); in TestCase()
55 ret = LOS_MemFree(g_memPool, p0); in TestCase()
DIt_los_mem_015.c56 ret = LOS_MemFree(g_memPool, p[0]); in TestCase()
59 ret = LOS_MemFree(g_memPool, p[2]); // 2, release the secend node. in TestCase()
66 ret = LOS_MemFree(g_memPool, p[1]); in TestCase()
72 ret = LOS_MemFree(g_memPool, p0); in TestCase()
DIt_los_mem_035.c60 ret = LOS_MemFree(g_memPool, f0); in TestCase()
79 ret = LOS_MemFree(g_memPool, f0); in TestCase()
99 ret = LOS_MemFree(g_memPool, f0); in TestCase()
110 ret = LOS_MemFree(g_memPool, f0); in TestCase()
DIt_los_mem_036.c69 ret = LOS_MemFree(g_memPool, f0); in TestCase()
110 ret = LOS_MemFree(g_memPool, f0); in TestCase()
147 ret = LOS_MemFree(g_memPool, f0); in TestCase()
172 ret = LOS_MemFree(g_memPool, f0); in TestCase()
DIt_los_mem_038.c70 ret = LOS_MemFree(g_memPool, f0); in TestCase()
91 ret = LOS_MemFree(g_memPool, p[j]); in TestCase()
108 ret = LOS_MemFree(g_memPool, f0); in TestCase()
DIt_los_mem_012.c49 ret = LOS_MemFree(g_memPool, p0); in TestCase()
52 ret = LOS_MemFree(g_memPool, p0); in TestCase()
/kernel/liteos_a/syscall/
Dfs_syscall.c166 (void)LOS_MemFree(OS_SYS_MEM_ADDR, *iovBuf); in UserIovCopy()
172 (void)LOS_MemFree(OS_SYS_MEM_ADDR, *iovBuf); in UserIovCopy()
456 LOS_MemFree(OS_SYS_MEM_ADDR, pathRet); in SysOpen()
462 (void)LOS_MemFree(OS_SYS_MEM_ADDR, pathRet); in SysOpen()
499 (void)LOS_MemFree(OS_SYS_MEM_ADDR, pathRet); in SysCreat()
531 (void)LOS_MemFree(OS_SYS_MEM_ADDR, oldpathRet); in SysLink()
534 (void)LOS_MemFree(OS_SYS_MEM_ADDR, newpathRet); in SysLink()
576 (void)LOS_MemFree(OS_SYS_MEM_ADDR, pathRet); in SysReadlink()
608 (void)LOS_MemFree(OS_SYS_MEM_ADDR, pathRet); in SysSymlink()
612 (void)LOS_MemFree(OS_SYS_MEM_ADDR, targetRet); in SysSymlink()
[all …]
Dsyscall_pub.c55 LOS_MemFree(OS_SYS_MEM_ADDR, p); in DupUserMem()
119 (void)LOS_MemFree(OS_SYS_MEM_ADDR, *pathBuf); in UserPathCopy()
123 (void)LOS_MemFree(OS_SYS_MEM_ADDR, *pathBuf); in UserPathCopy()
/kernel/liteos_a/fs/proc/os_adapt/
Dprocess_proc.c136 (void)LOS_MemFree(m_aucSysMem1, freeBuf); in ProcessContainerReadLink()
141 (void)LOS_MemFree(m_aucSysMem1, freeBuf); in ProcessContainerReadLink()
147 (void)LOS_MemFree(m_aucSysMem1, freeBuf); in ProcessContainerReadLink()
151 (void)LOS_MemFree(m_aucSysMem1, freeBuf); in ProcessContainerReadLink()
206 (void)LOS_MemFree(m_aucSysMem1, vmSpace); in ProcessMemInfoRead()
219 (void)LOS_MemFree(m_aucSysMem1, vmSpace); in ProcessMemInfoRead()
237 (VOID)LOS_MemFree(m_aucSysMem1, processCpup); in ProcessCpupRead()
249 (void)LOS_MemFree(m_aucSysMem1, processCpup); in ProcessCpupRead()
329 (VOID)LOS_MemFree(m_aucSysMem1, kbuf); in ProcTimeContainerWrite()
338 (VOID)LOS_MemFree(m_aucSysMem1, kbuf); in ProcTimeContainerWrite()
[all …]
/kernel/liteos_a/shell/full/src/base/
Dshcmd.c62 (VOID)LOS_MemFree(m_aucSysMem0, (cmdParsed->paramArray[i])); in OsFreeCmdPara()
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()
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()
419 (VOID)LOS_MemFree(m_aucSysMem0, dirOpen); in OsTabMatchFile()
488 (VOID)LOS_MemFree(m_aucSysMem0, output); in OsCmdKeyShift()
[all …]
/kernel/liteos_m/testsuites/sample/kernel/task/
DIt_los_task_130.c121 ret = LOS_MemFree(OS_TASK_STACK_ADDR, taskStack1); in TestCase()
123 ret = LOS_MemFree(OS_TASK_STACK_ADDR, taskStack2); in TestCase()
130 (VOID)LOS_MemFree(OS_TASK_STACK_ADDR, taskStack1); in TestCase()
131 (VOID)LOS_MemFree(OS_TASK_STACK_ADDR, taskStack2); in TestCase()
/kernel/liteos_a/kernel/extended/container/
Dlos_net_container.c58 (VOID)LOS_MemFree(m_aucSysMem1, netif->peer); in FreeNetif()
61 (VOID)LOS_MemFree(m_aucSysMem1, netif); in FreeNetif()
173 (VOID)LOS_MemFree(m_aucSysMem1, netContainer->group); in OsNetContainerDestroy()
174 (VOID)LOS_MemFree(m_aucSysMem1, netContainer); in OsNetContainerDestroy()
206 (VOID)LOS_MemFree(m_aucSysMem1, newNetContainer); in CreateNetContainer()
212 (VOID)LOS_MemFree(m_aucSysMem1, newNetContainer->group); in CreateNetContainer()
213 (VOID)LOS_MemFree(m_aucSysMem1, newNetContainer); in CreateNetContainer()
Dlos_ipc_container.c56 (VOID)LOS_MemFree(m_aucSysMem1, ipcContainer); in CreateNewIpcContainer()
66 (VOID)LOS_MemFree(m_aucSysMem1, ipcContainer->allQueue); in CreateNewIpcContainer()
67 (VOID)LOS_MemFree(m_aucSysMem1, ipcContainer); in CreateNewIpcContainer()
199 (VOID)LOS_MemFree(m_aucSysMem1, ipcContainer->allQueue); in OsIpcContainerDestroy()
200 (VOID)LOS_MemFree(m_aucSysMem1, ipcContainer); in OsIpcContainerDestroy()
/kernel/liteos_a/testsuites/kernel/sample/kernel_base/core/task/full/
DIt_los_task_118.c53 LOS_MemFree((void *)OS_SYS_MEM_ADDR, g_ptr1); in HwiF01()
65 LOS_MemFree((void *)OS_SYS_MEM_ADDR, g_ptr2); in TaskF02()
116 LOS_MemFree((void *)OS_SYS_MEM_ADDR, g_ptr2); in TaskF01()
120 LOS_MemFree((void *)OS_SYS_MEM_ADDR, g_ptr1); in TaskF01()
DIt_los_task_138.c53 LOS_MemFree((void *)OS_SYS_MEM_ADDR, g_ptr1); in HwiF01()
65 LOS_MemFree((void *)OS_SYS_MEM_ADDR, g_ptr2); in TaskF02()
116 LOS_MemFree((void *)OS_SYS_MEM_ADDR, g_ptr2); in TaskF01()
120 LOS_MemFree((void *)OS_SYS_MEM_ADDR, g_ptr1); in TaskF01()
/kernel/liteos_a/security/vid/
Dvid.c50 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()
141 LOS_MemFree(m_aucSysMem0, idMap->bitMap); in GetFreeVid()
235 LOS_MemFree(m_aucSysMem0, tmp); in RemoveNodeByVid()
/kernel/liteos_a/arch/arm/arm/src/
Dlos_hwi.c139 (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()
268 (VOID)LOS_MemFree(m_aucSysMem0, hwiFormNode); in OsHwiCreateShared()
/kernel/liteos_a/kernel/extended/blackbox/
Dlos_blackbox_core.c171 (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()
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()
422 (void)LOS_MemFree(m_aucSysMem1, info); in BBoxNotifyError()
/kernel/liteos_m/components/dynlink/
Dlos_dynlink.c209 LOS_MemFree(OS_SYS_MEM_ADDR, dlInfo->elfPhdr); in OsReadPhdrs()
245 LOS_MemFree(OS_SYS_MEM_ADDR, dso); in OsLoadInit()
287 LOS_MemFree(OS_SYS_MEM_ADDR, dso->dlInfo); in OsLoadInit()
288 LOS_MemFree(OS_SYS_MEM_ADDR, dso); in OsLoadInit()
404 LOS_MemFree(dso->pool, (VOID *)dso->loadBase); in OsLoadLibrary()
685 LOS_MemFree(OS_SYS_MEM_ADDR, dso->dlInfo->elfPhdr); in OsDeLoadInit()
793 (VOID)LOS_MemFree(dso->pool, (VOID *)dso->loadBase); in LOS_SoLoad()
797 (VOID)LOS_MemFree(OS_SYS_MEM_ADDR, dso->dlInfo->elfPhdr); in LOS_SoLoad()
798 (VOID)LOS_MemFree(OS_SYS_MEM_ADDR, dso->dlInfo); in LOS_SoLoad()
799 (VOID)LOS_MemFree(OS_SYS_MEM_ADDR, dso); in LOS_SoLoad()
[all …]

123456