ktests.h 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. /*++
  2. Copyright (c) 2013 Minoca Corp.
  3. This file is licensed under the terms of the GNU General Public License
  4. version 3. Alternative licensing terms are available. Contact
  5. info@minocacorp.com for details. See the LICENSE file at the root of this
  6. project for complete licensing information.
  7. Module Name:
  8. ktests.h
  9. Abstract:
  10. This header contains the prototypes for the kernel tests.
  11. Author:
  12. Evan Green 5-Nov-2013
  13. --*/
  14. //
  15. // ------------------------------------------------------------------- Includes
  16. //
  17. //
  18. // ---------------------------------------------------------------- Definitions
  19. //
  20. //
  21. // ------------------------------------------------------ Data Type Definitions
  22. //
  23. //
  24. // -------------------------------------------------------------------- Globals
  25. //
  26. //
  27. // -------------------------------------------------------- Function Prototypes
  28. //
  29. KSTATUS
  30. KTestPoolStressStart (
  31. PKTEST_START_TEST Command,
  32. PKTEST_ACTIVE_TEST Test
  33. );
  34. /*++
  35. Routine Description:
  36. This routine starts a new invocation of the paged and non-paged pool stress
  37. test.
  38. Arguments:
  39. Command - Supplies a pointer to the start command.
  40. Test - Supplies a pointer to the active test structure to initialize.
  41. Return Value:
  42. Status code.
  43. --*/
  44. KSTATUS
  45. KTestWorkStressStart (
  46. PKTEST_START_TEST Command,
  47. PKTEST_ACTIVE_TEST Test
  48. );
  49. /*++
  50. Routine Description:
  51. This routine starts a new invocation of the work item stress test.
  52. Arguments:
  53. Command - Supplies a pointer to the start command.
  54. Test - Supplies a pointer to the active test structure to initialize.
  55. Return Value:
  56. Status code.
  57. --*/
  58. KSTATUS
  59. KTestThreadStressStart (
  60. PKTEST_START_TEST Command,
  61. PKTEST_ACTIVE_TEST Test
  62. );
  63. /*++
  64. Routine Description:
  65. This routine starts a new invocation of the thread stress test.
  66. Arguments:
  67. Command - Supplies a pointer to the start command.
  68. Test - Supplies a pointer to the active test structure to initialize.
  69. Return Value:
  70. Status code.
  71. --*/
  72. KSTATUS
  73. KTestDescriptorStressStart (
  74. PKTEST_START_TEST Command,
  75. PKTEST_ACTIVE_TEST Test
  76. );
  77. /*++
  78. Routine Description:
  79. This routine starts a new invocation of the memory descriptor stress test.
  80. Arguments:
  81. Command - Supplies a pointer to the start command.
  82. Test - Supplies a pointer to the active test structure to initialize.
  83. Return Value:
  84. Status code.
  85. --*/
  86. KSTATUS
  87. KTestBlockStressStart (
  88. PKTEST_START_TEST Command,
  89. PKTEST_ACTIVE_TEST Test
  90. );
  91. /*++
  92. Routine Description:
  93. This routine starts a new invocation of the block allocator stress tests.
  94. Arguments:
  95. Command - Supplies a pointer to the start command.
  96. Test - Supplies a pointer to the active test structure to initialize.
  97. Return Value:
  98. Status code.
  99. --*/