Home | History | Annotate | Download | only in Mtftp6Dxe

Lines Matching refs:Service

2   Driver Binding functions and Service Binding functions

36 Destroy the MTFTP6 service. The MTFTP6 service may be partly initialized,
40 @param[in] Service The MTFTP6 service to be destroyed.
45 IN MTFTP6_SERVICE *Service
51 ASSERT (Service->ChildrenNum == 0);
53 if (Service->DummyUdpIo != NULL) {
54 UdpIoFreeIo (Service->DummyUdpIo);
57 if (Service->Timer != NULL) {
58 gBS->CloseEvent (Service->Timer);
61 FreePool (Service);
66 Create then initialize a MTFTP6 service binding instance.
68 @param[in] Controller The controller to install the MTFTP6 service
71 @param[out] Service The variable to receive the created service
76 @retval EFI_SUCCESS The service instance is created for the controller.
83 OUT MTFTP6_SERVICE **Service
89 ASSERT (Service != NULL);
91 *Service = NULL;
145 *Service = Mtftp6Srv;
198 @param[in] Service The pointer to the MTFTP6 service.
207 IN MTFTP6_SERVICE *Service,
222 Mtftp6Ins->Service = Service;
311 Test to see if this driver supports Controller. This service
312 is called by the EFI boot service ConnectController(). In
314 restrictions for this service. ConnectController() must
347 Start this driver on Controller. This service is called by the
348 EFI boot service ConnectController(). In order to make
350 this service. ConnectController() must follow these
372 MTFTP6_SERVICE *Service;
392 // Create Mtftp6 service for this Nic handle
397 &Service
404 ASSERT (Service != NULL);
410 Service->Timer,
420 // Install the Mtftp6 service on the Nic handle.
425 &Service->ServiceBinding,
437 Mtftp6DestroyService (Service);
443 Stop this driver on Controller. This service is called by the
444 EFI boot service DisconnectController(). In order to
446 restrictions for this service. DisconnectController()
471 MTFTP6_SERVICE *Service;
499 Service = MTFTP6_SERVICE_FROM_THIS (ServiceBinding);
501 if (!IsListEmpty (&Service->Children)) {
505 List = &Service->Children;
517 if (NumberOfChildren == 0 && IsListEmpty (&Service->Children)) {
519 // Destroy the Mtftp6 service if there is no Mtftp6 child instance left.
527 Mtftp6DestroyService (Service);
559 MTFTP6_SERVICE *Service;
569 Service = MTFTP6_SERVICE_FROM_THIS (This);
571 Status = Mtftp6CreateInstance (Service, &Instance);
599 Service->DummyUdpIo->UdpHandle,
619 // Add the new Mtftp6 instance into the children list of Mtftp6 service.
623 InsertTailList (&Service->Children, &Instance->Link);
624 Service->ChildrenNum++;
659 MTFTP6_SERVICE *Service;
686 Service = MTFTP6_SERVICE_FROM_THIS (This);
688 if (Instance->Service != Service) {
704 Service->DummyUdpIo->UdpHandle,
745 // Remove the Mtftp6 instance from the children list of Mtftp6 service.
748 Service->ChildrenNum --;