50 #define _COMPONENT ACPI_UTILITIES
74 void *obj_pointer =
NULL;
90 switch (object->common.type) {
94 "**** String %p, ptr %p\n",
object,
95 object->string.pointer));
103 obj_pointer =
object->string.pointer;
110 "**** Buffer %p, ptr %p\n",
object,
111 object->buffer.pointer));
119 obj_pointer =
object->buffer.pointer;
126 " **** Package of count %X\n",
127 object->package.count));
136 obj_pointer =
object->package.elements;
145 if (object->device.gpe_block) {
158 while (handler_desc) {
168 "***** Mutex %p, OS Mutex %p\n",
169 object, object->mutex.os_mutex));
191 "***** Event %p, OS Semaphore %p\n",
192 object, object->event.os_semaphore));
195 object->event.os_semaphore =
NULL;
201 "***** Method %p\n",
object));
205 if (object->method.mutex) {
209 object->method.mutex =
NULL;
216 "***** Region %p\n",
object));
224 object->region.node);
234 handler_desc =
object->
region.handler;
244 if (next_desc ==
object) {
252 last_obj_ptr = &next_desc->
region.next;
253 next_desc = next_desc->
region.next;
286 "***** Buffer Field %p\n",
object));
297 "***** Bank Field %p\n",
object));
313 "Deleting Object Subptr %p\n", obj_pointer));
347 for (internal_obj = obj_list; *internal_obj; internal_obj++) {
382 count =
object->common.reference_count;
392 object->common.reference_count = new_count;
395 "Obj %p Refs=%X, [Incremented]\n",
403 "Obj %p Refs=%X, can't decrement! (Set to 0)\n",
411 "Obj %p Refs=%X, [Decremented]\n",
417 "Method Obj %p Refs=%X, [Decremented]\n",
421 object->common.reference_count = new_count;
422 if (new_count == 0) {
423 acpi_ut_delete_internal_obj(
object);
430 "Obj %p Refs=%X, Force delete! (Set to 0)\n",
434 object->common.reference_count = new_count;
435 acpi_ut_delete_internal_obj(
object);
450 "Large Reference Count (0x%X) in object %p",
495 "Object %p is NS handle\n",
object));
503 switch (object->
common.type) {
516 while (prev_object) {
519 acpi_ut_update_ref_count(prev_object,
521 prev_object = next_object;
531 for (i = 0; i <
object->package.count; i++) {
539 (object->
package.elements[i], action,
554 next_object =
object->
field.region_obj;
607 acpi_ut_update_ref_count(
object, action);
613 object = next_object;
615 }
else if (state_list) {
617 object = state->
update.object;
627 "Could not update object reference count"));
664 "Obj %p Current Refs=%X [To Be Incremented]\n",
665 object, object->
common.reference_count));
707 "Obj %p Current Refs=%X [To Be Decremented]\n",
708 object, object->
common.reference_count));