AcpiOsAllocate
if ((buf.Pointer = AcpiOsAllocate(buf.Length)) == NULL) {
if ((buf->Pointer = AcpiOsAllocate(buf->Length)) == NULL)
if ((newp = AcpiOsAllocate(buf->Length * 2)) == NULL)
dest = AcpiOsAllocate(sizeof(ACPI_OBJECT_LIST) + sizeof(ACPI_OBJECT) * src->Count);
void *v = AcpiOsAllocate(dest->Pointer[i].String.Length);
void *v = AcpiOsAllocate(dest->Pointer[i].Buffer.Length);
if ((cp = AcpiOsAllocate(sizeof(*cp))) != NULL) {
levels = AcpiOsAllocate(num * sizeof(*levels));