Lines Matching refs:Service
2 Driver Binding functions and Service Binding functions
84 Destroy the Dhcp6 service. The Dhcp6 service may be partly initialized,
88 @param[in, out] Service The pointer to Dhcp6 service to be destroyed.
93 IN OUT DHCP6_SERVICE *Service
99 ASSERT (Service->NumOfChild == 0);
101 if (Service->ClientId != NULL) {
102 FreePool (Service->ClientId);
105 if (Service->UdpIo != NULL) {
106 UdpIoFreeIo (Service->UdpIo);
109 FreePool (Service);
114 Create a new Dhcp6 service for the Nic controller.
116 @param[in] Controller The controller to be installed DHCP6 service
119 @param[out] Service The return pointer of the new Dhcp6 service.
121 @retval EFI_SUCCESS The Dhcp6 service is created successfully.
130 OUT DHCP6_SERVICE **Service
136 *Service = NULL;
154 // Initialize the fields of the new Dhcp6 service.
210 *Service = Dhcp6Srv;
266 @param[in] Service The pointer to the Dhcp6 service.
275 IN DHCP6_SERVICE *Service,
294 Dhcp6Ins->Service = Service;
389 Test to see if this driver supports ControllerHandle. This service
390 is called by the EFI boot service ConnectController(). In
392 restrictions for this service. ConnectController() must
425 Start this driver on ControllerHandle. This service is called by the
426 EFI boot service ConnectController(). In order to make
428 this service. ConnectController() must follow these
451 DHCP6_SERVICE *Service;
470 // Create and initialize the Dhcp6 service.
475 &Service
482 ASSERT (Service != NULL);
487 &Service->ServiceBinding,
492 Dhcp6DestroyService (Service);
501 Stop this driver on ControllerHandle. This service is called by the
502 EFI boot service DisconnectController(). In order to
504 restrictions for this service. DisconnectController()
531 DHCP6_SERVICE *Service;
557 Service = DHCP6_SERVICE_FROM_THIS (ServiceBinding);
558 if (!IsListEmpty (&Service->Child)) {
560 // Destroy all the children instances before destory the service.
562 List = &Service->Child;
574 if (NumberOfChildren == 0 && !IsListEmpty (&Service->Child)) {
578 if (NumberOfChildren == 0 && IsListEmpty (&Service->Child)) {
580 // Destroy the service itself if no child instance left.
591 Dhcp6DestroyService (Service);
626 DHCP6_SERVICE *Service;
634 Service = DHCP6_SERVICE_FROM_THIS (This);
636 Status = Dhcp6CreateInstance (Service, &Instance);
677 Service->UdpIo->UdpHandle,
697 // Add into the children list of its parent service.
701 InsertTailList (&Service->Child, &Instance->Link);
702 Service->NumOfChild++;
742 DHCP6_SERVICE *Service;
766 Service = DHCP6_SERVICE_FROM_THIS (This);
768 if (Instance->Service != Service) {
781 Service->UdpIo->UdpHandle,
810 // Remove it from the children list of its parent service.
813 Service->NumOfChild--;