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

  1. /*++
  2. Copyright (c) 1999-2000 Microsoft Corporation
  3. Module Name:
  4. pplasl.c
  5. Abstract:
  6. This file contains definitions and function prototypes of a per-processor
  7. lookaside list manager.
  8. Author:
  9. Shaun Cox (shaunco) 25-Oct-1999
  10. --*/
  11. #pragma once
  12. #if MILLEN
  13. BOOLEAN
  14. PplInit(
  15. VOID
  16. );
  17. VOID
  18. PplDeinit(
  19. VOID
  20. );
  21. #endif // MILLEN
  22. HANDLE
  23. PplCreatePool(
  24. IN PALLOCATE_FUNCTION Allocate,
  25. IN PFREE_FUNCTION Free,
  26. IN ULONG Flags,
  27. IN SIZE_T Size,
  28. IN ULONG Tag,
  29. IN USHORT Depth
  30. );
  31. VOID
  32. PplDestroyPool(
  33. IN HANDLE PoolHandle
  34. );
  35. PVOID
  36. PplAllocate(
  37. IN HANDLE PoolHandle,
  38. OUT LOGICAL *FromList
  39. );
  40. VOID
  41. PplFree(
  42. IN HANDLE PoolHandle,
  43. IN PVOID Entry
  44. );