Lines Matching full:path
49 Device Path services. The thing to remember is device paths are built out of
50 nodes. The device path is terminated by an end node that is length
70 // Template for an end-of-device path node.
83 Returns the size of a device path in bytes.
85 This function returns the size, in bytes, of the device path data structure
86 specified by DevicePath including the end of device path node.
89 @param DevicePath A pointer to a device path data structure.
92 @retval Others The size of a device path in bytes.
112 // Search for the end of the device path structure in GetDevicePathSize()
120 // Compute the size and add back in the size of the end device path structure in GetDevicePathSize()
126 Determine whether a given device path is valid.
129 @param DevicePath A pointer to a device path data structure.
130 @param MaxSize The maximum size of the device path data structure.
191 // Only return TRUE when the End Device Path node is valid. in IsDevicePathValid()
197 Returns the Type field of a device path node.
199 Returns the Type field of the device path node specified by Node.
203 @param Node A pointer to a device path node data structure.
205 @return The Type field of the device path node specified by Node.
220 Returns the SubType field of a device path node.
222 Returns the SubType field of the device path node specified by Node.
226 @param Node A pointer to a device path node data structure.
228 @return The SubType field of the device path node specified by Node.
242 Returns the 16-bit Length field of a device path node.
244 Returns the 16-bit Length field of the device path node specified by Node.
251 @param Node A pointer to a device path node data structure.
253 @return The 16-bit Length field of the device path node specified by Node.
268 Returns a pointer to the next node in a device path.
270 Returns a pointer to the device path node that follows the device path node
275 @param Node A pointer to a device path node data structure.
277 @return a pointer to the device path node that follows the device path node
292 Determines if a device path node is an end node of a device path.
293 This includes nodes that are the end of a device path instance and nodes that
294 are the end of an entire device path.
296 Determines if the device path node specified by Node is an end node of a device path.
297 This includes nodes that are the end of a device path instance and nodes that are the
298 end of an entire device path. If Node represents an end node of a device path,
303 @param Node A pointer to a device path node data structure.
305 @retval TRUE The device path node specified by Node is an end node of a
306 device path.
307 @retval FALSE The device path node specified by Node is not an end node of
308 a device path.
322 Determines if a device path node is an end node of an entire device path.
324 Determines if a device path node specified by Node is an end node of an entire
325 device path. If Node represents the end of an entire device path, then TRUE is
330 @param Node A pointer to a device path node data structure.
332 @retval TRUE The device path node specified by Node is the end of an entire
333 device path.
334 @retval FALSE The device path node specified by Node is not the end of an
335 entire device path.
349 Fills in all the fields of a device path node that is the end of an entire device path.
351 Fills in all the fields of a device path node specified by Node so Node represents
352 the end of an entire device path. The Type field of Node is set to
361 @param Node A pointer to a device path node data structure.
375 Sets the length, in bytes, of a device path node.
377 Sets the length of the device path node specified by Node to the value specified
386 @param Node A pointer to a device path node data structure.
387 @param Length The length, in bytes, of the device path node.
410 NodeLength and initializes the device path node header with NodeType and NodeSubType.
411 The new device path node is returned.
412 If NodeLength is smaller than a device path header, then NULL is returned.
413 If there is not enough memory to allocate space for the new device path, then
422 @return The new device path.
453 Creates a new copy of an existing device path.
455 This function allocates space for a new copy of the device path specified by DevicePath.
459 The memory for the new device path is allocated from EFI boot services memory.
462 @param DevicePath A pointer to a device path data structure.
465 @retval Others A pointer to the duplicated device path.
485 // Allocate space for duplicate device path in DuplicateDevicePath()
492 Creates a new device path by appending a second device path to a first device path.
494 This function creates a new device path by appending a copy of SecondDevicePath
495 to a copy of FirstDevicePath in a newly allocated buffer. Only the end-of-device-path
496 device node from SecondDevicePath is retained. The newly created device path is
500 SecondDevicePath are NULL, then a copy of an end-of-device-path is returned.
503 The memory for the new device path is allocated from EFI boot services memory.
506 @param FirstDevicePath A pointer to a device path data structure.
507 @param SecondDevicePath A pointer to a device path data structure.
511 @retval Others A pointer to the new device path if success.
512 … Or a copy an end-of-device-path if both FirstDevicePath and SecondDevicePath are NULL.
529 // If there's only 1 path, just duplicate it. in AppendDevicePath()
544 // Allocate space for the combined device path. It only has one end node of in AppendDevicePath()
567 Creates a new path by appending the device node to the device path.
569 This function creates a new device path by appending a copy of the device node
570 specified by DevicePathNode to a copy of the device path specified by DevicePath
571 in an allocated buffer. The end-of-device-path device node is moved after the
575 path device node is returned.
576 If both DevicePathNode and DevicePath are NULL then a copy of an end-of-device-path
578 If there is not enough memory to allocate space for the new device path, then
583 @param DevicePath A pointer to a device path data structure.
584 @param DevicePathNode A pointer to a single device path node.
586 @retval NULL If there is not enough memory for the new device path.
587 @retval Others A pointer to the new device path if success.
588 A copy of DevicePathNode followed by an end-of-device-path node
590 A copy of an end-of-device-path node if both FirstDevicePath
620 // Add and end device path node to convert Node to device path in AppendDevicePathNode()