Lines Matching refs:device_path
72 struct efi_device_path *expand_media_path(struct efi_device_path *device_path) in expand_media_path() argument
77 if (!device_path) in expand_media_path()
85 handle = efi_dp_find_obj(device_path, in expand_media_path()
93 full_path = efi_dp_from_file(device_path, fname); in expand_media_path()
96 full_path = efi_dp_dup(device_path); in expand_media_path()
99 full_path = efi_dp_dup(device_path); in expand_media_path()
248 struct efi_device_path *device_path, *full_path = NULL; in search_default_file() local
256 (void **)&device_path, efi_root, NULL, in search_default_file()
271 full_path = expand_media_path(device_path); in search_default_file()
831 struct efi_device_path *device_path; in efi_bootmgr_enumerate_boot_options() local
847 ret = efi_protocol_open(handler, (void **)&device_path, in efi_bootmgr_enumerate_boot_options()
860 short_dp = efi_dp_shorten(device_path); in efi_bootmgr_enumerate_boot_options()
862 device_path = short_dp; in efi_bootmgr_enumerate_boot_options()
866 lo.file_path = device_path; in efi_bootmgr_enumerate_boot_options()
867 lo.file_path_length = efi_dp_size(device_path) + in efi_bootmgr_enumerate_boot_options()