ExFreeToNPagedLookasideList

VOID
ExFreeToNPagedLookasideList(

IN PNPAGED_LOOKASIDE_LIST Lookaside,
IN PVOID Entry
);

ExFreeToNPagedLookasideList returns an entry to the specified lookaside list in nonpaged memory. If the list has reached its maximum size, the entry is returned to nonpaged pool.

Parameters

Lookaside

Points to the header of the lookaside list to which the entry will be returned.

Entry

Points to the entry to be freed.

Return Value

None.

Comments

If the lookaside list has not reached the maximum number of entries specified in its list header, Entry is inserted at the front of the list. If the list has reached its maximum size, Entry is returned to nonpaged pool using the free routine specified when the was list initialized.

Callers of ExFreeToNPagedLookasideList must be running at IRQL <= DISPATCH_LEVEL.

See Also

ExAllocateFromNPagedLookasideList, ExInitializeNPagedLookasideList