Searched refs:new_object (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/acpi/acpica/
H A Dnsconvert.c71 union acpi_operand_object *new_object; acpi_ns_convert_to_integer() local
110 new_object = acpi_ut_create_integer_object(value); acpi_ns_convert_to_integer()
111 if (!new_object) { acpi_ns_convert_to_integer()
115 *return_object = new_object; acpi_ns_convert_to_integer()
136 union acpi_operand_object *new_object; acpi_ns_convert_to_string() local
151 new_object = acpi_ut_create_string_object(0); acpi_ns_convert_to_string()
152 if (!new_object) { acpi_ns_convert_to_string()
158 &new_object, acpi_ns_convert_to_string()
181 new_object = acpi_ut_create_string_object(length); acpi_ns_convert_to_string()
182 if (!new_object) { acpi_ns_convert_to_string()
190 ACPI_MEMCPY(new_object->string.pointer, acpi_ns_convert_to_string()
199 *return_object = new_object; acpi_ns_convert_to_string()
220 union acpi_operand_object *new_object; acpi_ns_convert_to_buffer() local
237 acpi_ex_convert_to_buffer(original_object, &new_object); acpi_ns_convert_to_buffer()
247 new_object = acpi_ns_convert_to_buffer()
250 if (!new_object) { acpi_ns_convert_to_buffer()
254 ACPI_MEMCPY(new_object->buffer.pointer, acpi_ns_convert_to_buffer()
281 new_object = acpi_ut_create_buffer_object(ACPI_MUL_4(count)); acpi_ns_convert_to_buffer()
282 if (!new_object) { acpi_ns_convert_to_buffer()
289 dword_buffer = ACPI_CAST_PTR(u32, new_object->buffer.pointer); acpi_ns_convert_to_buffer()
303 *return_object = new_object; acpi_ns_convert_to_buffer()
324 union acpi_operand_object *new_object; acpi_ns_convert_to_unicode() local
354 new_object = acpi_ut_create_buffer_object(unicode_length); acpi_ns_convert_to_unicode()
355 if (!new_object) { acpi_ns_convert_to_unicode()
359 unicode_buffer = ACPI_CAST_PTR(u16, new_object->buffer.pointer); acpi_ns_convert_to_unicode()
367 *return_object = new_object; acpi_ns_convert_to_unicode()
389 union acpi_operand_object *new_object; acpi_ns_convert_to_resource() local
432 new_object = acpi_ut_create_buffer_object(2); acpi_ns_convert_to_resource()
433 if (!new_object) { acpi_ns_convert_to_resource()
437 buffer = ACPI_CAST_PTR(u8, new_object->buffer.pointer); acpi_ns_convert_to_resource()
444 *return_object = new_object; acpi_ns_convert_to_resource()
H A Dnsrepair.c155 union acpi_operand_object *new_object = NULL; acpi_ns_simple_repair() local
176 predefined->object_converter(return_object, &new_object); acpi_ns_simple_repair()
185 if (new_object) { acpi_ns_simple_repair()
240 status = acpi_ns_convert_to_integer(return_object, &new_object); acpi_ns_simple_repair()
246 status = acpi_ns_convert_to_string(return_object, &new_object); acpi_ns_simple_repair()
252 status = acpi_ns_convert_to_buffer(return_object, &new_object); acpi_ns_simple_repair()
267 acpi_ns_wrap_with_package(info, return_object, &new_object); acpi_ns_simple_repair()
273 *return_object_ptr = new_object; /* New Package object */ acpi_ns_simple_repair()
298 new_object->common.reference_count = acpi_ns_simple_repair()
310 acpi_ut_get_object_type_name(new_object), acpi_ns_simple_repair()
317 acpi_ut_get_object_type_name(new_object))); acpi_ns_simple_repair()
323 *return_object_ptr = new_object; acpi_ns_simple_repair()
400 union acpi_operand_object *new_object; acpi_ns_repair_null_element() local
420 new_object = acpi_ut_create_integer_object((u64)0); acpi_ns_repair_null_element()
425 new_object = acpi_ut_create_string_object(0); acpi_ns_repair_null_element()
430 new_object = acpi_ut_create_buffer_object(0); acpi_ns_repair_null_element()
437 if (!new_object) { acpi_ns_repair_null_element()
443 new_object->common.reference_count = acpi_ns_repair_null_element()
449 acpi_ut_get_object_type_name(new_object), acpi_ns_repair_null_element()
452 *return_object_ptr = new_object; acpi_ns_repair_null_element()

Completed in 117 milliseconds