Lines Matching defs:path
32 * @device_path: EFI device path structure for this
50 return log_msg_ret("path", -ENOMEM);
65 * devpath_is_partition() - Figure out if a device path is a partition
67 * Checks if a device path refers to a partition on some media device. This
69 * as the final component of the device path.
71 * @path: device path
75 static bool devpath_is_partition(const struct efi_device_path *path)
80 for (p = path; p->type != DEVICE_PATH_TYPE_END;
86 (void *)path;
115 struct efi_device_path *path;
131 /* We need to look up the path size and convert it to text */
146 (void **)&path);
159 name = text->convert_device_path_to_text(path, true, false);
160 is_part = devpath_is_partition(path);
163 len = util->get_device_path_size(path);
164 ret = efi_bind_block(handle[i], blkio, path, len, &dev);