Home
last modified time | relevance | path

Searched refs:ProtNotify (Results 1 – 5 of 5) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Core/PiSmmCore/
DNotify.c29 PROTOCOL_NOTIFY *ProtNotify; in SmmNotifyProtocol() local
34 ProtNotify = CR(Link, PROTOCOL_NOTIFY, Link, PROTOCOL_NOTIFY_SIGNATURE); in SmmNotifyProtocol()
35 ProtNotify->Function (&ProtEntry->ProtocolID, Prot->Interface, Prot->Handle); in SmmNotifyProtocol()
57 PROTOCOL_NOTIFY *ProtNotify; in SmmRemoveInterfaceFromProtocol() local
70 ProtNotify = CR(Link, PROTOCOL_NOTIFY, Link, PROTOCOL_NOTIFY_SIGNATURE); in SmmRemoveInterfaceFromProtocol()
72 if (ProtNotify->Position == &Prot->ByProtocol) { in SmmRemoveInterfaceFromProtocol()
73 ProtNotify->Position = Prot->ByProtocol.BackLink; in SmmRemoveInterfaceFromProtocol()
110 PROTOCOL_NOTIFY *ProtNotify; in SmmRegisterProtocolNotify() local
124 ProtNotify = (PROTOCOL_NOTIFY * )*Registration; in SmmRegisterProtocolNotify()
131 if (ProtNotify == (CR(Link, PROTOCOL_NOTIFY, Link, PROTOCOL_NOTIFY_SIGNATURE))){ in SmmRegisterProtocolNotify()
[all …]
DLocate.c94 PROTOCOL_NOTIFY *ProtNotify; in SmmGetNextLocateByRegisterNotify() local
100 ProtNotify = Position->SearchKey; in SmmGetNextLocateByRegisterNotify()
105 if (ProtNotify != NULL) { in SmmGetNextLocateByRegisterNotify()
106 ASSERT(ProtNotify->Signature == PROTOCOL_NOTIFY_SIGNATURE); in SmmGetNextLocateByRegisterNotify()
112 Link = ProtNotify->Position->ForwardLink; in SmmGetNextLocateByRegisterNotify()
113 if (Link != &ProtNotify->Protocol->Protocols) { in SmmGetNextLocateByRegisterNotify()
205 PROTOCOL_NOTIFY *ProtNotify; in SmmLocateProtocol() local
250 ProtNotify = Registration; in SmmLocateProtocol()
251 ProtNotify->Position = ProtNotify->Position->ForwardLink; in SmmLocateProtocol()
287 PROTOCOL_NOTIFY *ProtNotify; in SmmLocateHandle() local
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Hand/
DNotify.c31 PROTOCOL_NOTIFY *ProtNotify; in CoreNotifyProtocolEntry() local
37 ProtNotify = CR(Link, PROTOCOL_NOTIFY, Link, PROTOCOL_NOTIFY_SIGNATURE); in CoreNotifyProtocolEntry()
38 CoreSignalEvent (ProtNotify->Event); in CoreNotifyProtocolEntry()
62 PROTOCOL_NOTIFY *ProtNotify; in CoreRemoveInterfaceFromProtocol() local
77 ProtNotify = CR(Link, PROTOCOL_NOTIFY, Link, PROTOCOL_NOTIFY_SIGNATURE); in CoreRemoveInterfaceFromProtocol()
79 if (ProtNotify->Position == &Prot->ByProtocol) { in CoreRemoveInterfaceFromProtocol()
80 ProtNotify->Position = Prot->ByProtocol.BackLink; in CoreRemoveInterfaceFromProtocol()
116 PROTOCOL_NOTIFY *ProtNotify; in CoreRegisterProtocolNotify() local
125 ProtNotify = NULL; in CoreRegisterProtocolNotify()
137 ProtNotify = AllocatePool (sizeof(PROTOCOL_NOTIFY)); in CoreRegisterProtocolNotify()
[all …]
DLocate.c124 PROTOCOL_NOTIFY *ProtNotify; in CoreLocateHandle() local
251 ProtNotify = SearchKey; in CoreLocateHandle()
252 ProtNotify->Position = ProtNotify->Position->ForwardLink; in CoreLocateHandle()
319 PROTOCOL_NOTIFY *ProtNotify; in CoreGetNextLocateByRegisterNotify() local
325 ProtNotify = Position->SearchKey; in CoreGetNextLocateByRegisterNotify()
330 if (ProtNotify != NULL) { in CoreGetNextLocateByRegisterNotify()
331 ASSERT(ProtNotify->Signature == PROTOCOL_NOTIFY_SIGNATURE); in CoreGetNextLocateByRegisterNotify()
337 Link = ProtNotify->Position->ForwardLink; in CoreGetNextLocateByRegisterNotify()
338 if (Link != &ProtNotify->Protocol->Protocols) { in CoreGetNextLocateByRegisterNotify()
560 PROTOCOL_NOTIFY *ProtNotify; in CoreLocateProtocol() local
[all …]
DHandle.c231 PROTOCOL_NOTIFY *ProtNotify; in CoreUnregisterProtocolNotifyEvent() local
245 ProtNotify = CR(NotifyLink, PROTOCOL_NOTIFY, Link, PROTOCOL_NOTIFY_SIGNATURE); in CoreUnregisterProtocolNotifyEvent()
247 if (ProtNotify->Event == Event) { in CoreUnregisterProtocolNotifyEvent()
248 RemoveEntryList(&ProtNotify->Link); in CoreUnregisterProtocolNotifyEvent()
249 CoreFreePool(ProtNotify); in CoreUnregisterProtocolNotifyEvent()