Home | History | Annotate | Download | only in acpidump

Lines Matching defs:Buffer

341  * RETURN:      Buffer containing the ACPI table. NULL on error.
343 * DESCRIPTION: Open a file and read it entirely into a new buffer
352 ACPI_TABLE_HEADER *Buffer = NULL;
367 /* Need file size to allocate a buffer */
377 /* Allocate a buffer for the entire file */
379 Buffer = ACPI_ALLOCATE_ZEROED (FileSize);
380 if (!Buffer)
383 "Could not allocate file buffer of size: %u\n", FileSize);
389 Actual = fread (Buffer, 1, FileSize, File);
393 ACPI_FREE (Buffer);
394 Buffer = NULL;
402 return (Buffer);