Searched refs:tmpPool (Results 1 – 2 of 2) sorted by relevance
983 struct OsMemPoolHead *tmpPool = (struct OsMemPoolHead *)pool; in LOS_MemDeInit() local985 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()
1012 struct OsMemPoolHead *tmpPool = (struct OsMemPoolHead *)pool; local1014 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);