Lines Matching refs:object
60 union acpi_operand_object *object; in acpi_ut_create_internal_object_dbg() local
68 object = in acpi_ut_create_internal_object_dbg()
71 if (!object) { in acpi_ut_create_internal_object_dbg()
74 kmemleak_not_leak(object); in acpi_ut_create_internal_object_dbg()
87 acpi_ut_delete_object_desc(object); in acpi_ut_create_internal_object_dbg()
96 object->common.next_object = second_object; in acpi_ut_create_internal_object_dbg()
107 object->common.type = (u8) type; in acpi_ut_create_internal_object_dbg()
111 object->common.reference_count = 1; in acpi_ut_create_internal_object_dbg()
115 return_PTR(object); in acpi_ut_create_internal_object_dbg()
305 u8 acpi_ut_valid_internal_object(void *object) in acpi_ut_valid_internal_object() argument
312 if (!object) { in acpi_ut_valid_internal_object()
319 switch (ACPI_GET_DESCRIPTOR_TYPE(object)) { in acpi_ut_valid_internal_object()
330 object, acpi_ut_get_descriptor_name(object))); in acpi_ut_valid_internal_object()
355 union acpi_operand_object *object; in acpi_ut_allocate_object_desc_dbg() local
359 object = acpi_os_acquire_object(acpi_gbl_operand_cache); in acpi_ut_allocate_object_desc_dbg()
360 if (!object) { in acpi_ut_allocate_object_desc_dbg()
369 ACPI_SET_DESCRIPTOR_TYPE(object, ACPI_DESC_TYPE_OPERAND); in acpi_ut_allocate_object_desc_dbg()
372 object, (u32) sizeof(union acpi_operand_object))); in acpi_ut_allocate_object_desc_dbg()
374 return_PTR(object); in acpi_ut_allocate_object_desc_dbg()
389 void acpi_ut_delete_object_desc(union acpi_operand_object *object) in acpi_ut_delete_object_desc() argument
391 ACPI_FUNCTION_TRACE_PTR(ut_delete_object_desc, object); in acpi_ut_delete_object_desc()
395 if (ACPI_GET_DESCRIPTOR_TYPE(object) != ACPI_DESC_TYPE_OPERAND) { in acpi_ut_delete_object_desc()
397 "%p is not an ACPI Operand object [%s]", object, in acpi_ut_delete_object_desc()
398 acpi_ut_get_descriptor_name(object))); in acpi_ut_delete_object_desc()
402 (void)acpi_os_release_object(acpi_gbl_operand_cache, object); in acpi_ut_delete_object_desc()