// namcache.h
VOID RxNameCacheFinalize(
[in] IN PNAME_CACHE_CONTROL NameCacheCtl
);
View the official Windows Driver Kit DDI referenceNo description available.
RxNameCacheFinalize releases the storage for all of the NAME_CACHE entries associated with a NAME_CACHE_CONTROL structure.
NameCacheCtl [in]A pointer to the NAME_CACHE_CONTROL structure for the name cache.
The RxNameCacheFinalize routine acquires the lock on the name cache to scan the free list and remove entries from the active list.
On checked builds, this routine causes the system to ASSERT if after releasing all of the active and free entries a reference count still remains on the name cache. This indicates a memory leak where some caller did not call RxNameCacheFreeEntry when done with an entry.
RxNameCacheExpireEntryWithShortName