Lookup a block device by it's device path. We use a 'loose' lookup whereby we scan forward to the first Media Path portion of the device path, then look at all our handles for one whose first Media Path matches. This will also work if the device path pointed to has a following file path (or paths) as that's ignored. It assumes that there's only one media path node that describes the entire device, which is true as of the latest UEFI spec (2.7 Errata A) as far as I've been able to determine. Sponsored by: Netflix |
||
---|---|---|
.. | ||
delay.c | ||
devicename.c | ||
devpath.c | ||
efi_console.c | ||
efi_driver_utils.c | ||
efichar.c | ||
efienv.c | ||
efinet.c | ||
efipart.c | ||
efizfs.c | ||
env.c | ||
errno.c | ||
handles.c | ||
libefi.c | ||
Makefile | ||
Makefile.depend | ||
time_event.c | ||
time.c | ||
wchar.c |