Lines Matching refs:CurrentPath
75 ACPI_BUFFER *CurrentPath,
209 ACPI_BUFFER *CurrentPath, in OptBuildShortestPath() argument
241 if (CurrentPath->Length < TargetPath->Length) in OptBuildShortestPath()
243 MaxCommonSegments = CurrentPath->Length / ACPI_PATH_SEGMENT_LENGTH; in OptBuildShortestPath()
259 &((char *) CurrentPath->Pointer)[ in OptBuildShortestPath()
280 if (CurrentPath->Length == TargetPath->Length) in OptBuildShortestPath()
294 NumCarats = (CurrentPath->Length / ACPI_PATH_SEGMENT_LENGTH) - in OptBuildShortestPath()
318 if (IsDeclaration && SubPath && (CurrentPath->Length > TargetPath->Length)) in OptBuildShortestPath()
552 ACPI_BUFFER CurrentPath; in OptOptimizeNamePath() local
671 CurrentPath.Length = ACPI_ALLOCATE_LOCAL_BUFFER; in OptOptimizeNamePath()
672 Status = AcpiNsHandleToPathname (CurrentNode, &CurrentPath, FALSE); in OptOptimizeNamePath()
680 CurrentPath.Length--; /* Subtract one for null terminator */ in OptOptimizeNamePath()
695 (UINT32) CurrentPath.Length, (char *) CurrentPath.Pointer, in OptOptimizeNamePath()
719 TargetNode, &CurrentPath, &TargetPath, in OptOptimizeNamePath()
740 TargetNode, &CurrentPath, &TargetPath, in OptOptimizeNamePath()
805 ACPI_FREE (CurrentPath.Pointer); in OptOptimizeNamePath()