Searched refs:RequiredLength (Results 1 – 4 of 4) sorted by relevance
294 ACPI_SIZE RequiredLength) in AcpiUtInitializeBuffer() argument301 if (!Buffer || !RequiredLength) in AcpiUtInitializeBuffer()311 Buffer->Length = RequiredLength; in AcpiUtInitializeBuffer()333 Buffer->Pointer = AcpiOsAllocate (RequiredLength); in AcpiUtInitializeBuffer()340 Buffer->Pointer = ACPI_ALLOCATE (RequiredLength); in AcpiUtInitializeBuffer()347 if (InputBufferLength < RequiredLength) in AcpiUtInitializeBuffer()363 memset (Buffer->Pointer, 0, RequiredLength); in AcpiUtInitializeBuffer()
478 UINT32 RequiredLength; in AcpiNsExternalizeName() local577 RequiredLength = PrefixLength + (4 * NumSegments) + in AcpiNsExternalizeName()584 if (RequiredLength > InternalNameLength) in AcpiNsExternalizeName()592 *ConvertedName = ACPI_ALLOCATE_ZEROED (RequiredLength); in AcpiNsExternalizeName()627 *ConvertedNameLength = (UINT32) RequiredLength; in AcpiNsExternalizeName()
900 UINT32 RequiredLength; in AcpiExInsertIntoField() local910 RequiredLength = ACPI_ROUND_BITS_UP_TO_BYTES ( in AcpiExInsertIntoField()919 if (BufferLength < RequiredLength) in AcpiExInsertIntoField()923 NewBuffer = ACPI_ALLOCATE_ZEROED (RequiredLength); in AcpiExInsertIntoField()936 BufferLength = RequiredLength; in AcpiExInsertIntoField()
938 ACPI_SIZE RequiredLength);