Lines Matching defs:HistoryIndex
275 UINT16 HistoryIndex;
278 HistoryIndex = AcpiGbl_LoHistory;
284 if (AcpiGbl_HistoryBuffer[HistoryIndex].Command)
287 AcpiGbl_HistoryBuffer[HistoryIndex].CmdNum,
288 AcpiGbl_HistoryBuffer[HistoryIndex].Command);
291 HistoryIndex++;
292 if (HistoryIndex >= HISTORY_SIZE)
294 HistoryIndex = 0;
352 UINT16 HistoryIndex;
357 HistoryIndex = AcpiGbl_LoHistory;
360 if (AcpiGbl_HistoryBuffer[HistoryIndex].CmdNum == CmdNum)
364 return (AcpiGbl_HistoryBuffer[HistoryIndex].Command);
369 HistoryIndex++;
370 if (HistoryIndex >= HISTORY_SIZE)
372 HistoryIndex = 0;
376 AcpiOsPrintf ("Invalid history number: %u\n", HistoryIndex);