Home
last modified time | relevance | path

Searched refs:required_length (Results 1 – 4 of 4) sorted by relevance

/drivers/acpi/acpica/
Dutalloc.c275 acpi_ut_initialize_buffer(struct acpi_buffer *buffer, acpi_size required_length) in acpi_ut_initialize_buffer() argument
281 if (!buffer || !required_length) { in acpi_ut_initialize_buffer()
290 buffer->length = required_length; in acpi_ut_initialize_buffer()
311 buffer->pointer = acpi_os_allocate(required_length); in acpi_ut_initialize_buffer()
318 buffer->pointer = ACPI_ALLOCATE(required_length); in acpi_ut_initialize_buffer()
325 if (input_buffer_length < required_length) { in acpi_ut_initialize_buffer()
339 memset(buffer->pointer, 0, required_length); in acpi_ut_initialize_buffer()
Dnsutils.c407 u32 required_length; in acpi_ns_externalize_name() local
493 required_length = prefix_length + (4 * num_segments) + in acpi_ns_externalize_name()
500 if (required_length > internal_name_length) { in acpi_ns_externalize_name()
507 *converted_name = ACPI_ALLOCATE_ZEROED(required_length); in acpi_ns_externalize_name()
536 *converted_name_length = (u32) required_length; in acpi_ns_externalize_name()
Dexfldio.c855 u32 required_length; in acpi_ex_insert_into_field() local
863 required_length = in acpi_ex_insert_into_field()
872 if (buffer_length < required_length) { in acpi_ex_insert_into_field()
876 new_buffer = ACPI_ALLOCATE_ZEROED(required_length); in acpi_ex_insert_into_field()
888 buffer_length = required_length; in acpi_ex_insert_into_field()
Dacutils.h646 acpi_size required_length);