Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

62 lines
813 B

/*++
Copyright (c) 1999-2000 Microsoft Corporation
Module Name:
pplasl.c
Abstract:
This file contains definitions and function prototypes of a per-processor
lookaside list manager.
Author:
Shaun Cox (shaunco) 25-Oct-1999
--*/
#pragma once
#if MILLEN
BOOLEAN
PplInit(
VOID
);
VOID
PplDeinit(
VOID
);
#endif // MILLEN
HANDLE
PplCreatePool(
IN PALLOCATE_FUNCTION Allocate,
IN PFREE_FUNCTION Free,
IN ULONG Flags,
IN SIZE_T Size,
IN ULONG Tag,
IN USHORT Depth
);
VOID
PplDestroyPool(
IN HANDLE PoolHandle
);
PVOID
PplAllocate(
IN HANDLE PoolHandle,
OUT LOGICAL *FromList
);
VOID
PplFree(
IN HANDLE PoolHandle,
IN PVOID Entry
);