Searched refs:RequiredLength (Results 1 – 4 of 4) sorted by relevance
446 ACPI_SIZE RequiredLength) in AcpiUtInitializeBuffer() argument453 if (!Buffer || !RequiredLength) in AcpiUtInitializeBuffer()463 Buffer->Length = RequiredLength; in AcpiUtInitializeBuffer()485 Buffer->Pointer = AcpiOsAllocate (RequiredLength); in AcpiUtInitializeBuffer()492 Buffer->Pointer = ACPI_ALLOCATE (RequiredLength); in AcpiUtInitializeBuffer()499 if (InputBufferLength < RequiredLength) in AcpiUtInitializeBuffer()515 memset (Buffer->Pointer, 0, RequiredLength); in AcpiUtInitializeBuffer()
586 UINT32 RequiredLength; in AcpiNsExternalizeName() local685 RequiredLength = PrefixLength + (4 * NumSegments) + in AcpiNsExternalizeName()692 if (RequiredLength > InternalNameLength) in AcpiNsExternalizeName()700 *ConvertedName = ACPI_ALLOCATE_ZEROED (RequiredLength); in AcpiNsExternalizeName()735 *ConvertedNameLength = (UINT32) RequiredLength; in AcpiNsExternalizeName()
1008 UINT32 RequiredLength; in AcpiExInsertIntoField() local1018 RequiredLength = ACPI_ROUND_BITS_UP_TO_BYTES ( in AcpiExInsertIntoField()1027 if (BufferLength < RequiredLength) in AcpiExInsertIntoField()1031 NewBuffer = ACPI_ALLOCATE_ZEROED (RequiredLength); in AcpiExInsertIntoField()1044 BufferLength = RequiredLength; in AcpiExInsertIntoField()
1121 ACPI_SIZE RequiredLength);