Lines Matching refs:device_path
30 use crate::proto::device_path::LoadedImageDevicePath;
31 use crate::proto::device_path::{DevicePath, FfiDevicePath};
754 device_path: &mut &DevicePath, in locate_device_path()
760 let mut device_path_ptr: *const uefi_raw::protocol::device_path::DevicePathProtocol = in locate_device_path()
761 device_path.as_ffi_ptr().cast(); in locate_device_path()
765 *device_path = DevicePath::from_ffi_ptr(device_path_ptr.cast()); in locate_device_path()
1075 let (boot_policy, device_path, source_buffer, source_size) = source.to_ffi_params(); in load_image()
1082 device_path.cast(), in load_image()
1354 let device_path = open_protocol_exclusive::<DevicePath>(device_handle)?; in get_image_file_system() localVariable
1356 let device_handle = locate_device_path::<SimpleFileSystem>(&mut &*device_path)?; in get_image_file_system()
1609 device_path: &'a DevicePath,
1628 let device_path; in to_ffi_params() localVariable
1636 device_path = file_path.map(|p| p.as_ffi_ptr()).unwrap_or(ptr::null()); in to_ffi_params()
1641 device_path: d_path, in to_ffi_params()
1645 device_path = d_path.as_ffi_ptr(); in to_ffi_params()
1650 (boot_policy, device_path, source_buffer, source_size) in to_ffi_params()