Lines Matching refs:walker
131 const_efidp media, file, walker; in efi_hd_to_unix() local
140 walker = media = dp; in efi_hd_to_unix()
148 if (!ValidLen(walker)) in efi_hd_to_unix()
150 walker = (const_efidp)NextDevicePathNode(walker); in efi_hd_to_unix()
151 if ((uintptr_t)walker - (uintptr_t)dp > MAX_DP_SANITY) in efi_hd_to_unix()
153 if (DevicePathType(walker) == MEDIA_DEVICE_PATH && in efi_hd_to_unix()
154 DevicePathSubType(walker) == MEDIA_FILEPATH_DP) in efi_hd_to_unix()
155 file = walker; in efi_hd_to_unix()
156 else if (DevicePathType(walker) == MEDIA_DEVICE_PATH && in efi_hd_to_unix()
157 DevicePathType(walker) == END_DEVICE_PATH_TYPE) in efi_hd_to_unix()
348 const_efidp walker; in efivar_device_path_to_unix_path() local
367 walker = dp; in efivar_device_path_to_unix_path()
368 if (!ValidLen(walker)) in efivar_device_path_to_unix_path()
370 while (DevicePathType(walker) != MEDIA_DEVICE_PATH && in efivar_device_path_to_unix_path()
371 DevicePathType(walker) != END_DEVICE_PATH_TYPE) { in efivar_device_path_to_unix_path()
372 walker = (const_efidp)NextDevicePathNode(walker); in efivar_device_path_to_unix_path()
373 if ((uintptr_t)walker - (uintptr_t)dp > MAX_DP_SANITY) in efivar_device_path_to_unix_path()
375 if (!ValidLen(walker)) in efivar_device_path_to_unix_path()
378 if (DevicePathType(walker) != MEDIA_DEVICE_PATH) in efivar_device_path_to_unix_path()
402 if (DevicePathSubType(walker) == MEDIA_HARDDRIVE_DP) in efivar_device_path_to_unix_path()
403 rv = efi_hd_to_unix(&mesh, walker, dev, relpath, abspath); in efivar_device_path_to_unix_path()
405 else if (is_cdrom_device(walker)) in efivar_device_path_to_unix_path()
406 rv = efi_cdrom_to_unix(&mesh, walker, dev, relpath, abspath); in efivar_device_path_to_unix_path()
407 else if (is_floppy_device(walker)) in efivar_device_path_to_unix_path()
408 rv = efi_floppy_to_unix(&mesh, walker, dev, relpath, abspath); in efivar_device_path_to_unix_path()
409 else if (is_zpool_device(walker)) in efivar_device_path_to_unix_path()
410 rv = efi_zpool_to_unix(&mesh, walker, dev, relpath, abspath); in efivar_device_path_to_unix_path()