Lines Matching defs:length

73  * Resource types, used to validate the resource length field.
74 * The length of fixed-length types must match exactly, variable
75 * lengths must meet the minimum required length, etc.
149 u32 length;
165 /* Walk the byte list, abort on any invalid descriptor type or length */
176 * length may be bogus also.
181 /* Get the length of this descriptor */
183 length = acpi_ut_get_descriptor_length(aml);
189 user_function(aml, length, offset, resource_index,
226 aml += length;
227 offset += length;
317 * Validate the resource_length field. This ensures that the length
323 /* Validate based upon the type of resource - fixed length or variable */
328 /* Fixed length resource, length must match exactly */
337 /* Variable length resource, length must be at least the minimum */
346 /* Small variable length resource, length can be (Min) or (Min-1) */
404 "Invalid resource descriptor length: Type "
456 * header or the length field itself.
472 /* Large Resource type -- bytes 1-2 contain the 16-bit length */
477 /* Small Resource type -- bits 2:0 of byte 0 contain the length */
494 * DESCRIPTION: Get the length of the header for this resource.
517 * RETURN: Byte length
519 * DESCRIPTION: Get the total byte length of a raw AML descriptor, including the
520 * length of the descriptor header and the length field itself.
530 * Get the Resource Length (does not include header length) and add
531 * the header length (depends on if this is a small or large resource)
547 * Note: allows a buffer length of zero.
558 /* Allow a buffer length of zero */
560 if (!obj_desc->buffer.length) {
568 obj_desc->buffer.length, NULL,