ExFreeToPagedLookasideList

VOID
    ExFreeToPagedLookasideList(

        IN PPAGED_LOOKASIDE_LIST  Lookaside,
        IN PVOID  Entry
        );

ExFreeToPagedLookasideList returns an entry to the specified lookaside list in paged memory. If the list has reached its maximum size, the entry is returned to paged 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 paged pool using the free routine specified when the list was initialized.

Callers of ExFreeToPagedLookasideList must be running at IRQL < DISPATCH_LEVEL.

See Also

ExAllocateFromPagedLookasideList, ExInitializePagedLookasideList