if (Buffer == NULL)
{
PsChargePoolQuota(NotifyChange->OwningProcess, PagedPool, BufferLength);
- Buffer = ExAllocatePoolWithTag(PagedPool | POOL_RAISE_IF_ALLOCATION_FAILURE, BufferLength, 'NrSF');
+ Buffer = ExAllocatePoolWithTag(PagedPool | POOL_RAISE_IF_ALLOCATION_FAILURE, BufferLength, TAG_FS_NOTIFICATIONS);
NotifyChange->AllocatedBuffer = Buffer;
}
if (NotifyChange->AllocatedBuffer)
{
PsReturnProcessPagedPoolQuota(NotifyChange->OwningProcess, NotifyChange->ThisBufferLength);
- ExFreePoolWithTag(NotifyChange->AllocatedBuffer, 'NrSF');
+ ExFreePoolWithTag(NotifyChange->AllocatedBuffer, TAG_FS_NOTIFICATIONS);
}
/* In case of full name, remember subject context for later deletion */
PsChargePoolQuota(NotifyChange->OwningProcess, PagedPool, NumberOfBytes);
PoolQuotaCharged = TRUE;
OutputBuffer = ExAllocatePoolWithTag(PagedPool | POOL_RAISE_IF_ALLOCATION_FAILURE,
- NumberOfBytes, 'NrSF');
+ NumberOfBytes, TAG_FS_NOTIFICATIONS);
NotifyChange->Buffer = OutputBuffer;
NotifyChange->AllocatedBuffer = OutputBuffer;
}
if (NotifyChange->AllocatedBuffer != NULL)
{
PsReturnProcessPagedPoolQuota(NotifyChange->OwningProcess, NotifyChange->ThisBufferLength);
- ExFreePoolWithTag(NotifyChange->AllocatedBuffer, 'NrSF');
+ ExFreePoolWithTag(NotifyChange->AllocatedBuffer, TAG_FS_NOTIFICATIONS);
}
NotifyChange->Buffer = NULL;