Searched refs:required_length (Results 1 – 5 of 5) sorted by relevance
291 acpi_ut_initialize_buffer(struct acpi_buffer *buffer, acpi_size required_length) in acpi_ut_initialize_buffer() argument297 if (!buffer || !required_length) { in acpi_ut_initialize_buffer()306 buffer->length = required_length; in acpi_ut_initialize_buffer()327 buffer->pointer = acpi_os_allocate(required_length); in acpi_ut_initialize_buffer()334 buffer->pointer = ACPI_ALLOCATE(required_length); in acpi_ut_initialize_buffer()341 if (input_buffer_length < required_length) { in acpi_ut_initialize_buffer()355 memset(buffer->pointer, 0, required_length); in acpi_ut_initialize_buffer()
373 u32 required_length; in acpi_ns_externalize_name() local459 required_length = prefix_length + (4 * num_segments) + in acpi_ns_externalize_name()466 if (required_length > internal_name_length) { in acpi_ns_externalize_name()473 *converted_name = ACPI_ALLOCATE_ZEROED(required_length); in acpi_ns_externalize_name()502 *converted_name_length = (u32) required_length; in acpi_ns_externalize_name()
821 u32 required_length; in acpi_ex_insert_into_field() local829 required_length = in acpi_ex_insert_into_field()838 if (buffer_length < required_length) { in acpi_ex_insert_into_field()842 new_buffer = ACPI_ALLOCATE_ZEROED(required_length); in acpi_ex_insert_into_field()854 buffer_length = required_length; in acpi_ex_insert_into_field()
645 acpi_size required_length);
160 __u16 required_length) in sctp_chunk_length_valid() argument167 if (unlikely(chunk_length < required_length)) in sctp_chunk_length_valid()