Home
last modified time | relevance | path

Searched refs:tmpPool (Results 1 – 2 of 2) sorted by relevance

/kernel/liteos_a/kernel/base/mem/tlsf/
Dlos_memory.c983 struct OsMemPoolHead *tmpPool = (struct OsMemPoolHead *)pool; in LOS_MemDeInit() local
985 if ((tmpPool == NULL) || in LOS_MemDeInit()
986 (tmpPool->info.pool != pool) || in LOS_MemDeInit()
987 (tmpPool->info.totalSize <= OS_MEM_MIN_POOL_SIZE)) { in LOS_MemDeInit()
991 if (OsMemPoolDelete(tmpPool)) { in LOS_MemDeInit()
995 OsMemPoolDeInit(tmpPool, tmpPool->info.totalSize); in LOS_MemDeInit()
997 OsHookCall(LOS_HOOK_TYPE_MEM_DEINIT, tmpPool); in LOS_MemDeInit()
/kernel/liteos_m/kernel/src/mm/
Dlos_memory.c1012 struct OsMemPoolHead *tmpPool = (struct OsMemPoolHead *)pool; local
1014 if (tmpPool == NULL) {
1018 if ((tmpPool->info.pool != pool) || (tmpPool->info.totalSize <= OS_MEM_MIN_POOL_SIZE)) {
1022 if (OsMemPoolDelete(tmpPool)) {
1026 OsMemPoolDeInit(tmpPool, tmpPool->info.totalSize);
1028 OsHookCall(LOS_HOOK_TYPE_MEM_DEINIT, tmpPool);