RxNameCacheFinalize - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// namcache.h

VOID RxNameCacheFinalize(
  [in] IN PNAME_CACHE_CONTROL NameCacheCtl
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-namcache-rxnamecachefinalize)

RxNameCacheFinalize function

Description

RxNameCacheFinalize releases the storage for all of the NAME_CACHE entries associated with a NAME_CACHE_CONTROL structure.

Parameters

NameCacheCtl [in]

A pointer to the NAME_CACHE_CONTROL structure for the name cache.

Remarks

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.

See also

RxNameCacheActivateEntry

RxNameCacheCheckEntry

RxNameCacheCreateEntry

RxNameCacheExpireEntry

RxNameCacheExpireEntryWithShortName

RxNameCacheFetchEntry

RxNameCacheFreeEntry

RxNameCacheInitialize