Lines Matching refs:HttpService
62 HTTP_SERVICE *HttpService; in HttpCreateService() local
67 HttpService = AllocateZeroPool (sizeof (HTTP_SERVICE)); in HttpCreateService()
68 if (HttpService == NULL) { in HttpCreateService()
72 HttpService->Signature = HTTP_SERVICE_SIGNATURE; in HttpCreateService()
73 HttpService->ServiceBinding.CreateChild = HttpServiceBindingCreateChild; in HttpCreateService()
74 HttpService->ServiceBinding.DestroyChild = HttpServiceBindingDestroyChild; in HttpCreateService()
75 HttpService->ImageHandle = ImageHandle; in HttpCreateService()
76 HttpService->ControllerHandle = Controller; in HttpCreateService()
77 HttpService->ChildrenNumber = 0; in HttpCreateService()
78 InitializeListHead (&HttpService->ChildrenList); in HttpCreateService()
80 *ServiceData = HttpService; in HttpCreateService()
94 IN HTTP_SERVICE *HttpService, in HttpCleanService() argument
99 if (HttpService == NULL) { in HttpCleanService()
103 if (HttpService->Tcp4ChildHandle != NULL) { in HttpCleanService()
105 HttpService->Tcp4ChildHandle, in HttpCleanService()
107 HttpService->ImageHandle, in HttpCleanService()
108 HttpService->ControllerHandle in HttpCleanService()
112 HttpService->ControllerHandle, in HttpCleanService()
113 HttpService->ImageHandle, in HttpCleanService()
115 HttpService->Tcp4ChildHandle in HttpCleanService()
118 HttpService->Tcp4ChildHandle = NULL; in HttpCleanService()
121 if (HttpService->Tcp6ChildHandle != NULL) { in HttpCleanService()
123 HttpService->Tcp6ChildHandle, in HttpCleanService()
125 HttpService->ImageHandle, in HttpCleanService()
126 HttpService->ControllerHandle in HttpCleanService()
130 HttpService->ControllerHandle, in HttpCleanService()
131 HttpService->ImageHandle, in HttpCleanService()
133 HttpService->Tcp6ChildHandle in HttpCleanService()
136 HttpService->Tcp6ChildHandle = NULL; in HttpCleanService()
364 HTTP_SERVICE *HttpService; in HttpDxeStart() local
383 HttpService = HTTP_SERVICE_FROM_PROTOCOL (ServiceBinding); in HttpDxeStart()
385 Status = HttpCreateService (ControllerHandle, This->DriverBindingHandle, &HttpService); in HttpDxeStart()
390 ASSERT (HttpService != NULL); in HttpDxeStart()
398 &HttpService->ServiceBinding, in HttpDxeStart()
409 if (HttpService->Tcp4ChildHandle == NULL) { in HttpDxeStart()
417 &HttpService->Tcp4ChildHandle in HttpDxeStart()
425 HttpService->Tcp4ChildHandle, in HttpDxeStart()
444 if (HttpService->Tcp6ChildHandle == NULL) { in HttpDxeStart()
452 &HttpService->Tcp6ChildHandle in HttpDxeStart()
460 HttpService->Tcp6ChildHandle, in HttpDxeStart()
482 if (HttpService != NULL) { in HttpDxeStart()
483 HttpCleanService (HttpService, UsingIpv6); in HttpDxeStart()
484 if (HttpService->Tcp4ChildHandle == NULL && HttpService->Tcp6ChildHandle == NULL) { in HttpDxeStart()
485 FreePool (HttpService); in HttpDxeStart()
523 HTTP_SERVICE *HttpService; in HttpDxeStop() local
556 HttpService = HTTP_SERVICE_FROM_PROTOCOL (ServiceBinding); in HttpDxeStop()
562 List = &HttpService->ChildrenList; in HttpDxeStop()
574 HttpCleanService (HttpService, UsingIpv6); in HttpDxeStop()
576 if (HttpService->Tcp4ChildHandle == NULL && HttpService->Tcp6ChildHandle == NULL) { in HttpDxeStop()
582 FreePool (HttpService); in HttpDxeStop()
926 HTTP_SERVICE *HttpService; in HttpServiceBindingCreateChild() local
935 HttpService = HTTP_SERVICE_FROM_PROTOCOL (This); in HttpServiceBindingCreateChild()
942 HttpInstance->Service = HttpService; in HttpServiceBindingCreateChild()
970 InsertTailList (&HttpService->ChildrenList, &HttpInstance->Link); in HttpServiceBindingCreateChild()
971 HttpService->ChildrenNumber++; in HttpServiceBindingCreateChild()
1009 HTTP_SERVICE *HttpService; in HttpServiceBindingDestroyChild() local
1019 HttpService = HTTP_SERVICE_FROM_PROTOCOL (This); in HttpServiceBindingDestroyChild()
1033 if (HttpInstance->Service != HttpService) { in HttpServiceBindingDestroyChild()
1062 HttpService->ChildrenNumber--; in HttpServiceBindingDestroyChild()