Lines Matching +full:data +full:- +full:path
7 Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
8 SPDX-License-Identifier: BSD-2-Clause-Patent
18 Determine whether a given device path is valid.
20 @param DevicePath A pointer to a device path data structure.
21 @param MaxSize The maximum size of the device path data structure.
41 Returns the Type field of a device path node.
43 Returns the Type field of the device path node specified by Node.
47 @param Node A pointer to a device path node data structure.
49 @return The Type field of the device path node specified by Node.
59 Returns the SubType field of a device path node.
61 Returns the SubType field of the device path node specified by Node.
65 @param Node A pointer to a device path node data structure.
67 @return The SubType field of the device path node specified by Node.
77 Returns the 16-bit Length field of a device path node.
79 Returns the 16-bit Length field of the device path node specified by Node.
80 Node is not required to be aligned on a 16-bit boundary, so it is recommended
86 @param Node A pointer to a device path node data structure.
88 @return The 16-bit Length field of the device path node specified by Node.
98 Returns a pointer to the next node in a device path.
100 Returns a pointer to the device path node that follows the device path node specified by Node.
104 @param Node A pointer to a device path node data structure.
106 @return a pointer to the device path node that follows the device path node specified by Node.
116 Determines if a device path node is an end node of a device path.
117 This includes nodes that are the end of a device path instance and nodes that
118 are the end of an entire device path.
120 Determines if the device path node specified by Node is an end node of a device path.
121 This includes nodes that are the end of a device path instance and nodes that are the
122 end of an entire device path. If Node represents an end node of a device path,
127 @param Node A pointer to a device path node data structure.
129 @retval TRUE The device path node specified by Node is an end node of a device path.
130 @retval FALSE The device path node specified by Node is not an end node of a device path.
140 Determines if a device path node is an end node of an entire device path.
142 Determines if a device path node specified by Node is an end node of an entire device path.
143 If Node represents the end of an entire device path, then TRUE is returned.
148 @param Node A pointer to a device path node data structure.
150 @retval TRUE The device path node specified by Node is the end of an entire device path.
151 @retval FALSE The device path node specified by Node is not the end of an entire device path.
161 Determines if a device path node is an end node of a device path instance.
163 Determines if a device path node specified by Node is an end node of a device path instance.
164 If Node represents the end of a device path instance, then TRUE is returned.
169 @param Node A pointer to a device path node data structure.
171 @retval TRUE The device path node specified by Node is the end of a device path instance.
172 @retval FALSE The device path node specified by Node is not the end of a device path instance.
182 Sets the length, in bytes, of a device path node.
184 Sets the length of the device path node specified by Node to the value specified
186 a 16-bit boundary, so it is recommended that a function such as WriteUnaligned16()
193 @param Node A pointer to a device path node data structure.
194 @param Length The length, in bytes, of the device path node.
207 Fills in all the fields of a device path node that is the end of an entire device path.
209 Fills in all the fields of a device path node specified by Node so Node represents
210 the end of an entire device path. The Type field of Node is set to
213 END_DEVICE_PATH_LENGTH. Node is not required to be aligned on a 16-bit boundary,
219 @param Node A pointer to a device path node data structure.
229 Returns the size of a device path in bytes.
231 This function returns the size, in bytes, of the device path data structure
232 specified by DevicePath including the end of device path node.
235 @param DevicePath A pointer to a device path data structure.
238 @retval Others The size of a device path in bytes.
248 Creates a new copy of an existing device path.
250 This function allocates space for a new copy of the device path specified by DevicePath. If
254 The memory for the new device path is allocated from EFI boot services memory.
257 @param DevicePath A pointer to a device path data structure.
260 @retval Others A pointer to the duplicated device path.
270 Creates a new device path by appending a second device path to a first device path.
272 This function creates a new device path by appending a copy of SecondDevicePath to a copy of
273 FirstDevicePath in a newly allocated buffer. Only the end-of-device-path device node from
274 SecondDevicePath is retained. The newly created device path is returned.
277 If both FirstDevicePath and SecondDevicePath are NULL, then a copy of an end-of-device-path is
280 The memory for the new device path is allocated from EFI boot services memory. It is the
283 @param FirstDevicePath A pointer to a device path data structure.
284 @param SecondDevicePath A pointer to a device path data structure.
288 @retval Others A pointer to the new device path if success.
289 … Or a copy an end-of-device-path if both FirstDevicePath and SecondDevicePath are NULL.
300 Creates a new path by appending the device node to the device path.
302 This function creates a new device path by appending a copy of the device node specified by
303 DevicePathNode to a copy of the device path specified by DevicePath in an allocated buffer.
304 The end-of-device-path device node is moved after the end of the appended device node.
306 If DevicePath is NULL then a copy of DevicePathNode, followed by an end-of-device path device
308 If both DevicePathNode and DevicePath are NULL then a copy of an end-of-device-path device node
310 If there is not enough memory to allocate space for the new device path, then NULL is returned.
314 @param DevicePath A pointer to a device path data structure.
315 @param DevicePathNode A pointer to a single device path node.
317 @retval NULL There is not enough memory for the new device path.
318 @retval Others A pointer to the new device path if success.
319 A copy of DevicePathNode followed by an end-of-device-path node
321 … A copy of an end-of-device-path node if both FirstDevicePath and SecondDevicePath are NULL.
332 Creates a new device path by appending the specified device path instance to the specified device
333 path.
335 This function creates a new device path by appending a copy of the device path instance specified
336 by DevicePathInstance to a copy of the device path secified by DevicePath in a allocated buffer.
337 The end-of-device-path device node is moved after the end of the appended device path instance
338 and a new end-of-device-path-instance node is inserted between.
342 If there is not enough memory to allocate space for the new device path, then NULL is returned.
346 @param DevicePath A pointer to a device path data structure.
347 @param DevicePathInstance A pointer to a device path instance.
349 @return A pointer to the new device path.
360 Creates a copy of the current device path instance and returns a pointer to the next device path
363 This function creates a copy of the current device path instance. It also updates DevicePath to
364 point to the next device path instance in the device path (or NULL if no more) and updates Size
365 to hold the size of the device path instance copy.
367 If DevicePath points to a invalid device path, then NULL is returned.
368 If there is not enough memory to allocate space for the new device path, then NULL is returned.
373 @param DevicePath On input, this holds the pointer to the current device path
375 path instance or NULL if there are no more device path
376 instances in the device path pointer to a device path data
378 @param Size On output, this holds the size of the device path instance, in
381 @return A pointer to the current device path instance.
395 initializes the device path node header with NodeType and NodeSubType. The new device path node
397 If NodeLength is smaller than a device path header, then NULL is returned.
398 If there is not enough memory to allocate space for the new device path, then NULL is returned.
403 @param NodeSubType The device node sub-type for the new device node.
406 @return The new device path.
418 Determines if a device path is single or multi-instance.
420 This function returns TRUE if the device path specified by DevicePath is multi-instance.
424 @param DevicePath A pointer to a device path data structure.
426 @retval TRUE DevicePath is multi-instance.
427 …@retval FALSE DevicePath is not multi-instance, or DevicePath is NULL or inva…
437 Retrieves the device path protocol from a handle.
439 This function returns the device path protocol from the handle specified by Handle. If Handle is
440 NULL or Handle does not contain a device path protocol, then NULL is returned.
442 @param Handle The handle from which to retrieve the device path protocol.
444 @return The device path protocol from the handle specified by Handle.
454 Allocates a device path for a file and appends it to an existing device path.
456 If Device is a valid device handle that contains a device path protocol, then a device path for
457 the file specified by FileName is allocated and appended to the device path associated with the
458 handle Device. The allocated device path is returned. If Device is NULL or Device is a handle
459 that does not support the device path protocol, then a device path containing a single device
460 path node for the file specified by FileName is allocated and returned.
461 …The memory for the new device path is allocated from EFI boot services memory. It is the responsib…
465 If FileName is not aligned on a 16-bit boundary, then ASSERT().
469 @param FileName A pointer to a Null-terminated Unicode string.
471 @return The allocated device path.
482 Converts a device path to its text representation.
492 @return A pointer to the allocated text representation of the device path or
532 until the first non-device node character.
545 Convert text to the binary representation of a device path.
548 path. Conversion starts with the first character and continues
549 until the first non-device node character.
551 @return A pointer to the allocated device path or NULL if TextDeviceNode is NULL or