Lines Matching defs:Service

2   Driver Binding functions and Service Binding functions
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);
71 @param[out] Service The variable to receive the created service
83 OUT MTFTP6_SERVICE **Service
89 ASSERT (Service != NULL);
91 *Service = NULL;
146 *Service = Mtftp6Srv;
199 @param[in] Service The pointer to the MTFTP6 service.
208 IN MTFTP6_SERVICE *Service,
223 Mtftp6Ins->Service = Service;
334 MTFTP6_SERVICE *Service;
359 &Service
366 ASSERT (Service != NULL);
372 Service->Timer,
387 &Service->ServiceBinding,
399 Mtftp6DestroyService (Service);
433 MTFTP6_SERVICE *Service;
461 Service = MTFTP6_SERVICE_FROM_THIS (ServiceBinding);
463 if (Service->InDestory) {
473 Service->InDestory = TRUE;
481 Mtftp6DestroyService (Service);
487 while (!IsListEmpty (&Service->Children)) {
488 Instance = NET_LIST_HEAD (&Service->Children, MTFTP6_INSTANCE, Link);
492 if (Service->ChildrenNum != 0) {
526 MTFTP6_SERVICE *Service;
536 Service = MTFTP6_SERVICE_FROM_THIS (This);
538 Status = Mtftp6CreateInstance (Service, &Instance);
566 Service->DummyUdpIo->UdpHandle,
590 InsertTailList (&Service->Children, &Instance->Link);
591 Service->ChildrenNum++;
626 MTFTP6_SERVICE *Service;
653 Service = MTFTP6_SERVICE_FROM_THIS (This);
655 if (Instance->Service != Service) {
671 Service->DummyUdpIo->UdpHandle,
696 Service->ChildrenNum --;