• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/stand/efi/libefi/

Lines Matching defs:oh

242 	struct open_efihttp *oh;
291 oh = calloc(1, sizeof(struct open_efihttp));
292 if (!oh)
294 oh->dev_handle = handle;
296 dev->d_opendata = oh;
305 status = sb->CreateChild(sb, &oh->http_handle);
311 status = BS->OpenProtocol(oh->http_handle, &http_guid,
312 (void **)&oh->http, IH, NULL, EFI_OPEN_PROTOCOL_GET_PROTOCOL);
314 sb->DestroyChild(sb, oh->http_handle);
325 status = oh->http->Configure(oh->http, &config);
327 sb->DestroyChild(sb, oh->http_handle);
344 oh->uri_base = malloc(len + 1);
345 if (oh->uri_base == NULL) {
349 strncpy(oh->uri_base, (const char *)uri->Uri, len);
350 oh->uri_base[len] = '\0';
351 c = strrchr(oh->uri_base, '/');
354 c = strrchr(oh->uri_base, '/');
372 struct open_efihttp *oh;
376 oh = (struct open_efihttp *)dev->d_opendata;
377 status = BS->OpenProtocol(oh->dev_handle, &httpsb_guid, (void **)&sb,
381 sb->DestroyChild(sb, oh->http_handle);
382 free(oh->uri_base);
383 free(oh);
401 struct open_efihttp *oh;
409 oh = (struct open_efihttp *)dev->d_opendata;
435 status = oh->http->GetModeData(oh->http, &config);
438 status = oh->http->Configure(oh->http, NULL);
441 status = oh->http->Configure(oh->http, &config);
453 host = strdup(oh->uri_base);
475 request.Url = calloc(strlen(oh->uri_base) + strlen(path) + 1, 2);
482 cpy8to16(oh->uri_base, request.Url, strlen(oh->uri_base));
483 cpy8to16(path, request.Url + strlen(oh->uri_base), strlen(path));
484 status = oh->http->Request(oh->http, &token);
494 status = oh->http->Poll(oh->http);
521 status = oh->http->Response(oh->http, &token);
529 status = oh->http->Poll(oh->http);
611 struct open_efihttp *oh;
626 oh = (struct open_efihttp *)dev->d_opendata;
640 status = oh->http->Response(oh->http, &token);
651 status = oh->http->Poll(oh->http);