Lines Matching refs:Node2
75 EFI_SHELL_FILE_INFO *Node2; in CascadeDelete() local
113 for (Node2 = (EFI_SHELL_FILE_INFO *)GetFirstNode(&List->Link) in CascadeDelete()
114 ; !IsNull(&List->Link, &Node2->Link) in CascadeDelete()
115 ; Node2 = (EFI_SHELL_FILE_INFO *)GetNextNode(&List->Link, &Node2->Link) in CascadeDelete()
120 if (StrCmp(Node2->FileName, L".") == 0 || StrCmp(Node2->FileName, L"..") == 0) { in CascadeDelete()
123 …Node2->Status = gEfiShellProtocol->OpenFileByName (Node2->FullName, &Node2->Handle, EFI_FILE_MODE_… in CascadeDelete()
124 if (EFI_ERROR(Node2->Status) && StrStr(Node2->FileName, L":") == NULL) { in CascadeDelete()
128 NewSize = StrSize(Node->FullName) + StrSize(Node2->FullName); in CascadeDelete()
135 StrCatS(TempName, NewSize/sizeof(CHAR16), Node2->FullName); in CascadeDelete()
136 FreePool((VOID*)Node2->FullName); in CascadeDelete()
137 Node2->FullName = TempName; in CascadeDelete()
142 …Node2->Status = gEfiShellProtocol->OpenFileByName (Node2->FullName, &Node2->Handle, EFI_FILE_MODE_… in CascadeDelete()
145 if (!EFI_ERROR(Node2->Status)) { in CascadeDelete()
146 ShellStatus = CascadeDelete(Node2, Quiet); in CascadeDelete()
148 ShellStatus = (SHELL_STATUS)(Node2->Status&(~0x80000000)); in CascadeDelete()