Lines Matching refs:HttpService

61   HTTP_SERVICE     *HttpService;  in HttpCreateService()  local
66 HttpService = AllocateZeroPool (sizeof (HTTP_SERVICE)); in HttpCreateService()
67 if (HttpService == NULL) { in HttpCreateService()
71 HttpService->Signature = HTTP_SERVICE_SIGNATURE; in HttpCreateService()
72 HttpService->ServiceBinding.CreateChild = HttpServiceBindingCreateChild; in HttpCreateService()
73 HttpService->ServiceBinding.DestroyChild = HttpServiceBindingDestroyChild; in HttpCreateService()
74 HttpService->ImageHandle = ImageHandle; in HttpCreateService()
75 HttpService->ControllerHandle = Controller; in HttpCreateService()
76 HttpService->ChildrenNumber = 0; in HttpCreateService()
77 InitializeListHead (&HttpService->ChildrenList); in HttpCreateService()
79 *ServiceData = HttpService; in HttpCreateService()
93 IN HTTP_SERVICE *HttpService, in HttpCleanService() argument
98 if (HttpService == NULL) { in HttpCleanService()
102 if (HttpService->Tcp4ChildHandle != NULL) { in HttpCleanService()
104 HttpService->Tcp4ChildHandle, in HttpCleanService()
106 HttpService->ImageHandle, in HttpCleanService()
107 HttpService->ControllerHandle in HttpCleanService()
111 HttpService->ControllerHandle, in HttpCleanService()
112 HttpService->ImageHandle, in HttpCleanService()
114 HttpService->Tcp4ChildHandle in HttpCleanService()
117 HttpService->Tcp4ChildHandle = NULL; in HttpCleanService()
120 if (HttpService->Tcp6ChildHandle != NULL) { in HttpCleanService()
122 HttpService->Tcp6ChildHandle, in HttpCleanService()
124 HttpService->ImageHandle, in HttpCleanService()
125 HttpService->ControllerHandle in HttpCleanService()
129 HttpService->ControllerHandle, in HttpCleanService()
130 HttpService->ImageHandle, in HttpCleanService()
132 HttpService->Tcp6ChildHandle in HttpCleanService()
135 HttpService->Tcp6ChildHandle = NULL; in HttpCleanService()
363 HTTP_SERVICE *HttpService; in HttpDxeStart() local
382 HttpService = HTTP_SERVICE_FROM_PROTOCOL (ServiceBinding); in HttpDxeStart()
384 Status = HttpCreateService (ControllerHandle, This->DriverBindingHandle, &HttpService); in HttpDxeStart()
389 ASSERT (HttpService != NULL); in HttpDxeStart()
397 &HttpService->ServiceBinding, in HttpDxeStart()
408 if (HttpService->Tcp4ChildHandle == NULL) { in HttpDxeStart()
416 &HttpService->Tcp4ChildHandle in HttpDxeStart()
424 HttpService->Tcp4ChildHandle, in HttpDxeStart()
443 if (HttpService->Tcp6ChildHandle == NULL) { in HttpDxeStart()
451 &HttpService->Tcp6ChildHandle in HttpDxeStart()
459 HttpService->Tcp6ChildHandle, in HttpDxeStart()
481 if (HttpService != NULL) { in HttpDxeStart()
482 HttpCleanService (HttpService, UsingIpv6); in HttpDxeStart()
483 if (HttpService->Tcp4ChildHandle == NULL && HttpService->Tcp6ChildHandle == NULL) { in HttpDxeStart()
484 FreePool (HttpService); in HttpDxeStart()
522 HTTP_SERVICE *HttpService; in HttpDxeStop() local
555 HttpService = HTTP_SERVICE_FROM_PROTOCOL (ServiceBinding); in HttpDxeStop()
561 List = &HttpService->ChildrenList; in HttpDxeStop()
573 HttpCleanService (HttpService, UsingIpv6); in HttpDxeStop()
575 if (HttpService->Tcp4ChildHandle == NULL && HttpService->Tcp6ChildHandle == NULL) { in HttpDxeStop()
581 FreePool (HttpService); in HttpDxeStop()
925 HTTP_SERVICE *HttpService; in HttpServiceBindingCreateChild() local
934 HttpService = HTTP_SERVICE_FROM_PROTOCOL (This); in HttpServiceBindingCreateChild()
941 HttpInstance->Service = HttpService; in HttpServiceBindingCreateChild()
967 InsertTailList (&HttpService->ChildrenList, &HttpInstance->Link); in HttpServiceBindingCreateChild()
968 HttpService->ChildrenNumber++; in HttpServiceBindingCreateChild()
1006 HTTP_SERVICE *HttpService; in HttpServiceBindingDestroyChild() local
1016 HttpService = HTTP_SERVICE_FROM_PROTOCOL (This); in HttpServiceBindingDestroyChild()
1030 if (HttpInstance->Service != HttpService) { in HttpServiceBindingDestroyChild()
1059 HttpService->ChildrenNumber--; in HttpServiceBindingDestroyChild()