Searched refs:required_length (Results 1 – 5 of 5) sorted by relevance
242 acpi_size required_length) in acpi_ut_initialize_buffer() argument248 if (!buffer || !required_length) { in acpi_ut_initialize_buffer()257 buffer->length = required_length; in acpi_ut_initialize_buffer()274 buffer->pointer = acpi_os_allocate(required_length); in acpi_ut_initialize_buffer()281 buffer->pointer = ACPI_ALLOCATE(required_length); in acpi_ut_initialize_buffer()288 if (input_buffer_length < required_length) { in acpi_ut_initialize_buffer()302 ACPI_MEMSET(buffer->pointer, 0, required_length); in acpi_ut_initialize_buffer()
446 u32 required_length; in acpi_ns_externalize_name() local529 required_length = prefix_length + (4 * num_segments) + in acpi_ns_externalize_name()536 if (required_length > internal_name_length) { in acpi_ns_externalize_name()543 *converted_name = ACPI_ALLOCATE_ZEROED(required_length); in acpi_ns_externalize_name()568 *converted_name_length = (u32) required_length; in acpi_ns_externalize_name()
831 u32 required_length; in acpi_ex_insert_into_field() local839 required_length = in acpi_ex_insert_into_field()847 if (buffer_length < required_length) { in acpi_ex_insert_into_field()851 new_buffer = ACPI_ALLOCATE_ZEROED(required_length); in acpi_ex_insert_into_field()863 buffer_length = required_length; in acpi_ex_insert_into_field()
549 acpi_size required_length);
162 __u16 required_length) in sctp_chunk_length_valid() argument166 if (unlikely(chunk_length < required_length)) in sctp_chunk_length_valid()