Lines Matching full:path
50 Device Path services. The thing to remember is device paths are built out of
51 nodes. The device path is terminated by an end node that is length
71 // Template for an end-of-device path node.
84 Returns the size of a device path in bytes.
86 This function returns the size, in bytes, of the device path data structure
87 specified by DevicePath including the end of device path node.
90 @param DevicePath A pointer to a device path data structure.
93 @retval Others The size of a device path in bytes.
113 // Search for the end of the device path structure in GetDevicePathSize()
121 // Compute the size and add back in the size of the end device path structure in GetDevicePathSize()
127 Determine whether a given device path is valid.
130 @param DevicePath A pointer to a device path data structure.
131 @param MaxSize The maximum size of the device path data structure.
192 // Only return TRUE when the End Device Path node is valid. in IsDevicePathValid()
198 Returns the Type field of a device path node.
200 Returns the Type field of the device path node specified by Node.
204 @param Node A pointer to a device path node data structure.
206 @return The Type field of the device path node specified by Node.
221 Returns the SubType field of a device path node.
223 Returns the SubType field of the device path node specified by Node.
227 @param Node A pointer to a device path node data structure.
229 @return The SubType field of the device path node specified by Node.
243 Returns the 16-bit Length field of a device path node.
245 Returns the 16-bit Length field of the device path node specified by Node.
252 @param Node A pointer to a device path node data structure.
254 @return The 16-bit Length field of the device path node specified by Node.
269 Returns a pointer to the next node in a device path.
271 Returns a pointer to the device path node that follows the device path node
276 @param Node A pointer to a device path node data structure.
278 @return a pointer to the device path node that follows the device path node
293 Determines if a device path node is an end node of a device path.
294 This includes nodes that are the end of a device path instance and nodes that
295 are the end of an entire device path.
297 Determines if the device path node specified by Node is an end node of a device path.
298 This includes nodes that are the end of a device path instance and nodes that are the
299 end of an entire device path. If Node represents an end node of a device path,
304 @param Node A pointer to a device path node data structure.
306 @retval TRUE The device path node specified by Node is an end node of a
307 device path.
308 @retval FALSE The device path node specified by Node is not an end node of
309 a device path.
323 Determines if a device path node is an end node of an entire device path.
325 Determines if a device path node specified by Node is an end node of an entire
326 device path. If Node represents the end of an entire device path, then TRUE is
331 @param Node A pointer to a device path node data structure.
333 @retval TRUE The device path node specified by Node is the end of an entire
334 device path.
335 @retval FALSE The device path node specified by Node is not the end of an
336 entire device path.
350 Fills in all the fields of a device path node that is the end of an entire device path.
352 Fills in all the fields of a device path node specified by Node so Node represents
353 the end of an entire device path. The Type field of Node is set to
362 @param Node A pointer to a device path node data structure.
376 Sets the length, in bytes, of a device path node.
378 Sets the length of the device path node specified by Node to the value specified
387 @param Node A pointer to a device path node data structure.
388 @param Length The length, in bytes, of the device path node.
411 NodeLength and initializes the device path node header with NodeType and NodeSubType.
412 The new device path node is returned.
413 If NodeLength is smaller than a device path header, then NULL is returned.
414 If there is not enough memory to allocate space for the new device path, then
423 @return The new device path.
454 Creates a new copy of an existing device path.
456 This function allocates space for a new copy of the device path specified by DevicePath.
460 The memory for the new device path is allocated from EFI boot services memory.
463 @param DevicePath A pointer to a device path data structure.
466 @retval Others A pointer to the duplicated device path.
486 // Allocate space for duplicate device path in DuplicateDevicePath()
493 Creates a new device path by appending a second device path to a first device path.
495 This function creates a new device path by appending a copy of SecondDevicePath
496 to a copy of FirstDevicePath in a newly allocated buffer. Only the end-of-device-path
497 device node from SecondDevicePath is retained. The newly created device path is
501 SecondDevicePath are NULL, then a copy of an end-of-device-path is returned.
504 The memory for the new device path is allocated from EFI boot services memory.
507 @param FirstDevicePath A pointer to a device path data structure.
508 @param SecondDevicePath A pointer to a device path data structure.
512 @retval Others A pointer to the new device path if success.
513 … Or a copy an end-of-device-path if both FirstDevicePath and SecondDevicePath are NULL.
530 // If there's only 1 path, just duplicate it. in AppendDevicePath()
545 // Allocate space for the combined device path. It only has one end node of in AppendDevicePath()
568 Creates a new path by appending the device node to the device path.
570 This function creates a new device path by appending a copy of the device node
571 specified by DevicePathNode to a copy of the device path specified by DevicePath
572 in an allocated buffer. The end-of-device-path device node is moved after the
576 path device node is returned.
577 If both DevicePathNode and DevicePath are NULL then a copy of an end-of-device-path
579 If there is not enough memory to allocate space for the new device path, then
584 @param DevicePath A pointer to a device path data structure.
585 @param DevicePathNode A pointer to a single device path node.
587 @retval NULL If there is not enough memory for the new device path.
588 @retval Others A pointer to the new device path if success.
589 A copy of DevicePathNode followed by an end-of-device-path node
591 A copy of an end-of-device-path node if both FirstDevicePath
621 // Add and end device path node to convert Node to device path in AppendDevicePathNode()