Searched refs:required_length (Results 1 – 4 of 4) sorted by relevance
276 acpi_size required_length) in acpi_ut_initialize_buffer() argument282 if (!buffer || !required_length) { in acpi_ut_initialize_buffer()291 buffer->length = required_length; in acpi_ut_initialize_buffer()312 buffer->pointer = acpi_os_allocate(required_length); in acpi_ut_initialize_buffer()319 buffer->pointer = ACPI_ALLOCATE(required_length); in acpi_ut_initialize_buffer()326 if (input_buffer_length < required_length) { in acpi_ut_initialize_buffer()340 memset(buffer->pointer, 0, required_length); in acpi_ut_initialize_buffer()
406 u32 required_length; in acpi_ns_externalize_name() local492 required_length = prefix_length + (4 * num_segments) + in acpi_ns_externalize_name()499 if (required_length > internal_name_length) { in acpi_ns_externalize_name()506 *converted_name = ACPI_ALLOCATE_ZEROED(required_length); in acpi_ns_externalize_name()535 *converted_name_length = (u32) required_length; in acpi_ns_externalize_name()
851 u32 required_length; in acpi_ex_insert_into_field() local859 required_length = in acpi_ex_insert_into_field()867 if (buffer_length < required_length) { in acpi_ex_insert_into_field()871 new_buffer = ACPI_ALLOCATE_ZEROED(required_length); in acpi_ex_insert_into_field()883 buffer_length = required_length; in acpi_ex_insert_into_field()
624 acpi_size required_length);