in afd.sys, fastfat.sys and npfs.sys, ExAllocatePoolWithTag and
ExAllocatePoolWithQuotaTag are called with pool_type= 0x09, 0x10, 0x11, or
0x18. But POOL_TYPE defines only 0~6 and >32 in ntddk.h. What is these
pool_types mean?
Charles
in afd.sys, fastfat.sys and npfs.sys, ExAllocatePoolWithTag and
ExAllocatePoolWithQuotaTag are called with pool_type= 0x09, 0x10, 0x11, or
0x18. But POOL_TYPE defines only 0~6 and >32 in ntddk.h. What is these
pool_types mean?
Charles
From NTIFS.H
typedef enum _POOL_TYPE {
NonPagedPool,
PagedPool,
NonPagedPoolMustSucceed,
DontUseThisType,
NonPagedPoolCacheAligned,
PagedPoolCacheAligned,
NonPagedPoolCacheAlignedMustS,
MaxPoolType
// end_wdm
,
//
// Note these per session types are carefully chosen so that the appropriate
// masking still applies as well as MaxPoolType above.
//
NonPagedPoolSession = 32,
PagedPoolSession = NonPagedPoolSession + 1,
NonPagedPoolMustSucceedSession = PagedPoolSession + 1,
DontUseThisTypeSession = NonPagedPoolMustSucceedSession + 1,
NonPagedPoolCacheAlignedSession = DontUseThisTypeSession + 1,
PagedPoolCacheAlignedSession = NonPagedPoolCacheAlignedSession + 1,
NonPagedPoolCacheAlignedMustSSession = PagedPoolCacheAlignedSession + 1,
// begin_wdm
} POOL_TYPE;
#define POOL_RAISE_IF_ALLOCATION_FAILURE 16
Max
----- Original Message -----
From:
To: “NT Developers Interest List”
Sent: Friday, April 26, 2002 1:10 AM
Subject: [ntdev] New POOL_TYPEs?
> in afd.sys, fastfat.sys and npfs.sys, ExAllocatePoolWithTag and
> ExAllocatePoolWithQuotaTag are called with pool_type= 0x09, 0x10, 0x11, or
> 0x18. But POOL_TYPE defines only 0~6 and >32 in ntddk.h. What is these
> pool_types mean?
>
> Charles
>
> —
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to %%email.unsub%%
>
Max, Thanks.
POOL_RAISE_IF_ALLOCATION_FAILURE isn’t defined in ntddk.h, and seems to be
a IFS special value. From the code, 0x08 seems to be a quota-relative
mask.
Charles