KeQueryCurrentStackInformation

UINT8 __stdcall KeQueryCurrentStackInformation(_KERNEL_STACK_LIMITS *Type, UINT64 *LowLimit, UINT64 *HighLimit){
  UINT64 v6; 

  LODWORD(v6) = KeGetCurrentStackPointer((UINT64)Type, (_KPROFILE_SOURCE)LowLimit);
  return KeQueryCurrentStackInformationEx(v6, (char *)Type, (struct _KPRCB **)LowLimit, HighLimit);
}

Referenced by:

EtwpCovSampCaptureKernelStack
EtwpTraceLastBranchRecord
EtwpTraceStackWalk
KeBugCheck2
PnprGetStackLimits
RtlDispatchException
RtlUnwindEx
RtlpIsFrameInBoundsEx
RtlpWalkFrameChain
VfUtilCaptureViolationKernelStack
ViDeadlockAnalyze