Export (0) Print
Expand All

Buffer Management

The short-term buffer management routines are called by kernel-mode drivers to allocate and free temporary buffers.

ExAllocatePoolWithTag

Allocates (optionally cache-aligned) pool memory from paged or nonpaged system space. The caller-supplied tag is put into any crash dump of memory that occurs.

ExAllocatePoolWithQuotaTag

Allocates pool memory, charging quota against the original requester of the I/O operation. The caller-supplied tag is put into any crash dump of memory that occurs. Only highest-level drivers can call this routine.

ExFreePool

Releases memory to paged or nonpaged system space.

ExFreePoolWithTag

Releases memory with the specified pool tag.

ExInitializeNPagedLookasideList

Initializes a lookaside list of nonpaged memory. After successful initialization of the list, fixed-size blocks can be allocated from, and freed to, the lookaside list.

ExAllocateFromNPagedLookasideList

Removes the first entry from the specified lookaside list in nonpaged memory. If the lookaside list is empty, allocates an entry from nonpaged pool.

ExFreeToNPagedLookasideList

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

ExDeleteNPagedLookasideList

Deletes a nonpaged lookaside list.

ExInitializePagedLookasideList

Initializes a lookaside list of paged memory. After successful initialization of the list, fixed-size blocks can be allocated from and freed to the lookaside list.

ExAllocateFromPagedLookasideList

Removes the first entry from the specified lookaside list in paged memory. If the lookaside list is empty, allocates an entry from paged pool.

ExFreeToPagedLookasideList

Returns an entry to the specified lookaside list in paged memory. If the list has reached its maximum size, returns the entry to paged pool.

ExDeletePagedLookasideList

Deletes a paged lookaside list.

MmQuerySystemSize

Returns an estimate (small, medium, or large) of the amount of memory available on the current platform.

MmIsThisAnNtAsSystem

Returns TRUE if the machine is running as a server. If this routine returns TRUE, the caller is likely to require more resources to process I/O requests, and the machine is a server so it is likely to have more resources available.

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft