Searched refs:required_length (Results 1 – 5 of 5) sorted by relevance
214 u32 required_length; in acpi_ex_write_data_to_field() local317 required_length = ACPI_ROUND_BITS_UP_TO_BYTES (obj_desc->common_field.bit_length); in acpi_ex_write_data_to_field()319 if (length < required_length) { in acpi_ex_write_data_to_field()322 new_buffer = ACPI_MEM_CALLOCATE (required_length); in acpi_ex_write_data_to_field()334 length = required_length; in acpi_ex_write_data_to_field()
275 acpi_size required_length) in acpi_ut_initialize_buffer() argument293 buffer->pointer = acpi_os_allocate (required_length); in acpi_ut_initialize_buffer()300 ACPI_MEMSET (buffer->pointer, 0, required_length); in acpi_ut_initialize_buffer()308 buffer->pointer = ACPI_MEM_ALLOCATE (required_length); in acpi_ut_initialize_buffer()315 ACPI_MEMSET (buffer->pointer, 0, required_length); in acpi_ut_initialize_buffer()323 if (buffer->length < required_length) { in acpi_ut_initialize_buffer()329 buffer->length = required_length; in acpi_ut_initialize_buffer()
574 acpi_native_uint required_length; in acpi_ns_externalize_name() local662 required_length = prefix_length + (4 * num_segments) + in acpi_ns_externalize_name()669 if (required_length > internal_name_length) { in acpi_ns_externalize_name()677 *converted_name = ACPI_MEM_CALLOCATE (required_length); in acpi_ns_externalize_name()702 *converted_name_length = (u32) required_length; in acpi_ns_externalize_name()
774 acpi_size required_length);
105 __u16 required_length) in sctp_chunk_length_valid() argument109 if (unlikely(chunk_length < required_length)) in sctp_chunk_length_valid()