Lines Matching defs:path

3  * EFI device path from u-boot device-model mapping
50 * Iterate to next block in device-path, terminating (returning NULL)
67 * an End* node. This is useful to, for example, compare a device-path
94 * efi_dp_shorten() - shorten device-path
96 * When creating a short boot option we want to use a device-path that is
102 * See UEFI spec, section 3.1.2 for "short-form device path".
104 * @dp: original device-path
105 * Return: shortened device-path or NULL
122 * find_handle() - find handle by device path and installed protocol
126 * @dp: device path to search
127 * @guid: GUID of protocol that must be installed on path or NULL
128 * @short_path: use short form device path for matching
129 * @rem: pointer to receive remaining device path
184 * efi_dp_find_obj() - find handle by device path
188 * @dp: device path to search
189 * @guid: GUID of protocol that must be installed on path or NULL
190 * @rem: pointer to receive remaining device path
201 /* Match short form device path */
208 * Determine the last device path node that is not the end node.
210 * @dp device path
227 /* get size of the first device path instance excluding end node */
242 /* get size of multi-instance device path excluding end node */
256 /* copy multi-instance device path */
277 * @dp1: First device path
278 * @dp2: Second device path
281 * If false the second device path will be concatenated to the
285 * concatenated device path or NULL. Caller must free the returned value
324 /* the end node of the second device path has to be retained */
446 /* size of device-path not including END node for device and all parents
514 * Recursively build a device path.
516 * @buf pointer to the end of the device path
518 * Return: pointer to the end of the device path
723 * @buf buffer to which the device path is written
799 * Create a device path for a block device or one of its partitions.
801 * @buf buffer to which the device path is written
817 /* Construct a device-path from a partition on a block device: */
836 * @buf buffer to which the device path is written
858 * path_to_uefi() - convert UTF-8 path to an UEFI style path
860 * Convert UTF-8 path to a UEFI style path (i.e. with backslashes as path
890 * efi_dp_from_file() - append file path node to device path.
892 * @dp: device path or NULL
893 * @path: file path or NULL
894 * Return: device path or NULL in case of an error
897 const char *path)
905 2 * (utf8_utf16_strlen(path) + 1);
916 /* add file-path: */
917 if (*path) {
922 path_to_uefi(fp->str, path);
971 /* Construct a device-path for memory-mapped image */
998 * efi_dp_split_file_path() - split of relative file path from device path
1000 * Given a device path indicating a file on a device, separate the device
1001 * path in two: the device path of the actual device and the file path
1004 * @full_path: device path including device and file path
1005 * @device_path: path of the device
1006 * @file_path: relative path of the file or NULL if there is none
1040 * efi_dp_from_name() - convert U-Boot device and file path to device path
1044 * @path: file path relative to U-Boot device, may be NULL
1045 * @device: pointer to receive device path of the device
1046 * @file: pointer to receive device path for the file
1050 const char *path,
1061 if (path && !file)
1086 if (!path)
1089 *file = efi_dp_from_file(dp, path);
1097 * efi_dp_check_length() - check length of a device path
1099 * @dp: pointer to device path
1100 * @maxlen: maximum length of the device path
1102 * * length of the device path if it is less or equal @maxlen
1103 * * -1 if the device path is longer then @maxlen
1104 * * -1 if a device path node has a length of less than 4
1131 * multi-instance device path that matches
1136 * @lo: EFI_LOAD_OPTION containing a valid device path
1140 * device path including the VenMedia node or NULL.
1169 * search_gpt_dp_node() - search gpt device path node
1171 * @device_path: device path
1173 * Return: pointer to the gpt device path node