Lines Matching defs:handles
50 /* The initial number of handles used to query EFI for partitions. */
388 EFI_HANDLE *handles;
492 /* Get all the device handles */
494 handles = malloc(hsize);
495 if (handles == NULL)
496 printf("Failed to allocate %d handles\n", NUM_HANDLES_INIT);
499 &hsize, handles);
504 free(handles);
505 handles = malloc(hsize);
506 if (handles == NULL)
507 efi_panic(EFI_OUT_OF_RESOURCES, "Failed to allocate %d handles\n",
510 NULL, &hsize, handles);
512 efi_panic(status, "Failed to get device handles\n");
515 efi_panic(status, "Failed to get device handles\n");
520 nhandles = hsize / sizeof(*handles);
525 probe_handle_status(handles[i], imgpath);