Lines Matching refs:NewFileInfo
383 EFI_FILE_INFO *NewFileInfo; in MoveWithinFileSystems() local
401 NewFileInfo = AllocateZeroPool(NewSize); in MoveWithinFileSystems()
402 if (NewFileInfo == NULL) { in MoveWithinFileSystems()
406 CopyMem(NewFileInfo, Node->Info, SIZE_OF_EFI_FILE_INFO); in MoveWithinFileSystems()
408 StrCpyS(NewFileInfo->FileName, (NewSize - SIZE_OF_EFI_FILE_INFO) / sizeof(CHAR16), L"\\"); in MoveWithinFileSystems()
409 StrCatS(NewFileInfo->FileName, (NewSize - SIZE_OF_EFI_FILE_INFO) / sizeof(CHAR16), DestPath); in MoveWithinFileSystems()
411 StrCpyS(NewFileInfo->FileName, (NewSize - SIZE_OF_EFI_FILE_INFO) / sizeof(CHAR16), DestPath); in MoveWithinFileSystems()
413 Length = StrLen(NewFileInfo->FileName); in MoveWithinFileSystems()
417 if (NewFileInfo->FileName[Length] == L'\\') { in MoveWithinFileSystems()
422 NewFileInfo->FileName[Length] = CHAR_NULL; in MoveWithinFileSystems()
424 …StrCatS(NewFileInfo->FileName, (NewSize - SIZE_OF_EFI_FILE_INFO) / sizeof(CHAR16), Node->FileName); in MoveWithinFileSystems()
426 NewFileInfo->Size = SIZE_OF_EFI_FILE_INFO + StrSize(NewFileInfo->FileName); in MoveWithinFileSystems()
431 Status = ShellSetFileInfo(Node->Handle, NewFileInfo); in MoveWithinFileSystems()
436 FreePool(NewFileInfo); in MoveWithinFileSystems()