Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/acpi/acpica/
Dutalloc.c291 acpi_ut_initialize_buffer(struct acpi_buffer *buffer, acpi_size required_length) in acpi_ut_initialize_buffer() argument
297 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()
Dnsutils.c373 u32 required_length; in acpi_ns_externalize_name() local
459 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()
Dexfldio.c821 u32 required_length; in acpi_ex_insert_into_field() local
829 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()
Dacutils.h644 acpi_size required_length);
/Linux-v5.4/net/sctp/
Dsm_statefuns.c160 __u16 required_length) in sctp_chunk_length_valid() argument
167 if (unlikely(chunk_length < required_length)) in sctp_chunk_length_valid()