Lines Matching refs:imgpath
182 EFI_DEVICE_PATH *imgpath, *devpath; in efihttp_dev_init() local
189 imgpath = efi_lookup_image_devpath(IH); in efihttp_dev_init()
190 if (imgpath == NULL) in efihttp_dev_init()
192 devpath = imgpath; in efihttp_dev_init()
206 status = BS->LocateDevicePath(&httpsb_guid, &imgpath, &handle); in efihttp_dev_init()
231 EFI_DEVICE_PATH *devpath, *imgpath; in efihttp_dev_open() local
246 imgpath = efi_lookup_image_devpath(IH); in efihttp_dev_open()
247 if (imgpath == NULL) in efihttp_dev_open()
249 devpath = imgpath; in efihttp_dev_open()
257 for (; !IsDevicePathEnd(imgpath); in efihttp_dev_open()
258 imgpath = NextDevicePathNode(imgpath)) { in efihttp_dev_open()
259 if (DevicePathType(imgpath) != MESSAGING_DEVICE_PATH) in efihttp_dev_open()
261 switch (DevicePathSubType(imgpath)) { in efihttp_dev_open()
263 mac = (MAC_ADDR_DEVICE_PATH *)imgpath; in efihttp_dev_open()
266 ipv4 = (IPv4_DEVICE_PATH *)imgpath; in efihttp_dev_open()
269 dns = (DNS_DEVICE_PATH *)imgpath; in efihttp_dev_open()
272 uri = (URI_DEVICE_PATH *)imgpath; in efihttp_dev_open()