Searched refs:g_hashMap (Results 1 – 1 of 1) sorted by relevance
24 static std::unordered_map<uint64_t, InterfaceInfo> g_hashMap; variable33 if (g_hashMap.size() > MAX_HASH_RECORD) { in UsbDdkHash()38 g_hashMap.emplace(hashVal, info); in UsbDdkHash()45 if (auto ret = g_hashMap.find(hashVal); ret == g_hashMap.end()) { in UsbDdkUnHash()48 auto mappedVal = g_hashMap[hashVal]; in UsbDdkUnHash()56 g_hashMap.erase(hashVal); in UsbDdkDelHashRecord()62 for (auto it = g_hashMap.begin(); it != g_hashMap.end(); it++) { in UsbDdkGetRecordByVal()