Home | History | Annotate | Download | only in PiSmmCore

Lines Matching refs:Prot

131   PROTOCOL_INTERFACE  *Prot;

135 Prot = NULL;
149 Prot = CR(Link, PROTOCOL_INTERFACE, Link, PROTOCOL_INTERFACE_SIGNATURE);
150 if (Prot->Interface == Interface && Prot->Protocol == ProtEntry) {
153 Prot = NULL;
156 return Prot;
217 PROTOCOL_INTERFACE *Prot;
241 Prot = NULL;
262 Prot = AllocateZeroPool (sizeof(PROTOCOL_INTERFACE));
263 if (Prot == NULL) {
305 Prot->Signature = PROTOCOL_INTERFACE_SIGNATURE;
306 Prot->Handle = Handle;
307 Prot->Protocol = ProtEntry;
308 Prot->Interface = Interface;
314 InsertHeadList (&Handle->Protocols, &Prot->Link);
320 InsertTailList (&ProtEntry->Protocols, &Prot->ByProtocol);
326 SmmNotifyProtocol (Prot);
340 if (Prot != NULL) {
341 FreePool (Prot);
370 PROTOCOL_INTERFACE *Prot;
390 Prot = SmmFindProtocolInterface (UserHandle, Protocol, Interface);
391 if (Prot == NULL) {
400 Prot = SmmRemoveInterfaceFromProtocol (Handle, Protocol, Interface);
402 if (Prot != NULL) {
406 RemoveEntryList (&Prot->Link);
411 Prot->Signature = 0;
412 FreePool (Prot);
444 PROTOCOL_INTERFACE *Prot;
459 Prot = CR(Link, PROTOCOL_INTERFACE, Link, PROTOCOL_INTERFACE_SIGNATURE);
460 ProtEntry = Prot->Protocol;
462 return Prot;
492 PROTOCOL_INTERFACE *Prot;
521 Prot = SmmGetProtocolInterface (UserHandle, Protocol);
522 if (Prot == NULL) {
529 *Interface = Prot->Interface;