Lines Matching refs:initrd
550 efi_status_t efi_load_initrd_dev_path(struct linux_efi_initrd *initrd, in efi_load_initrd_dev_path() argument
569 initrd->size = 0; in efi_load_initrd_dev_path()
570 status = efi_call_proto(lf2, load_file, dp, false, &initrd->size, NULL); in efi_load_initrd_dev_path()
574 status = efi_allocate_pages(initrd->size, &initrd->base, max); in efi_load_initrd_dev_path()
578 status = efi_call_proto(lf2, load_file, dp, false, &initrd->size, in efi_load_initrd_dev_path()
579 (void *)initrd->base); in efi_load_initrd_dev_path()
581 efi_free(initrd->size, initrd->base); in efi_load_initrd_dev_path()
589 struct linux_efi_initrd *initrd, in efi_load_initrd_cmdline() argument
598 &initrd->base, &initrd->size); in efi_load_initrd_cmdline()
616 struct linux_efi_initrd initrd, *tbl; in efi_load_initrd() local
621 status = efi_load_initrd_dev_path(&initrd, hard_limit); in efi_load_initrd()
624 if (initrd.size > 0 && in efi_load_initrd()
625 efi_measure_tagged_event(initrd.base, initrd.size, in efi_load_initrd()
629 status = efi_load_initrd_cmdline(image, &initrd, soft_limit, in efi_load_initrd()
640 status = efi_bs_call(allocate_pool, EFI_LOADER_DATA, sizeof(initrd), in efi_load_initrd()
645 *tbl = initrd; in efi_load_initrd()
657 efi_free(initrd.size, initrd.base); in efi_load_initrd()