Lines Matching +full:3 +full:- +full:d

1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0
4 * Module Name: dbstats - Generation and display of ACPI table statistics
47 #define CMD_STAT_MISC 3
57 * PARAMETERS: list - Memory list/cache to be displayed
71 acpi_os_printf("\n%s\n", list->list_name); in acpi_db_list_info()
75 if (list->max_depth > 0) { in acpi_db_list_info()
78 "%8.2X %8.2X %8.2X %8.2X\n", list->current_depth, in acpi_db_list_info()
79 list->max_depth, list->max_depth - list->current_depth, in acpi_db_list_info()
80 (list->current_depth * list->object_size)); in acpi_db_list_info()
83 if (list->max_depth > 0) { in acpi_db_list_info()
86 "%8.2X %8.2X %8.2X %8.2X\n", list->requests, list->hits, in acpi_db_list_info()
87 list->requests - list->hits, list->object_size); in acpi_db_list_info()
92 if (list->object_size) { in acpi_db_list_info()
95 "%8.2X %8.2X %8.2X %8.2X %8.2X\n", list->total_allocated, in acpi_db_list_info()
96 list->total_freed, list->max_occupied, in acpi_db_list_info()
97 outstanding * list->object_size, outstanding); in acpi_db_list_info()
102 list->total_allocated, list->total_freed, in acpi_db_list_info()
103 list->max_occupied, list->current_total_size, outstanding, in acpi_db_list_info()
104 list->total_size); in acpi_db_list_info()
114 * PARAMETERS: obj_desc - Object to be counted
136 if (obj_desc->common.type > ACPI_TYPE_NS_NODE_MAX) { in acpi_db_enumerate_object()
139 acpi_gbl_obj_type_count[obj_desc->common.type]++; in acpi_db_enumerate_object()
142 /* Count the sub-objects */ in acpi_db_enumerate_object()
144 switch (obj_desc->common.type) { in acpi_db_enumerate_object()
147 for (i = 0; i < obj_desc->package.count; i++) { in acpi_db_enumerate_object()
148 acpi_db_enumerate_object(obj_desc->package.elements[i]); in acpi_db_enumerate_object()
154 acpi_db_enumerate_object(obj_desc->device.notify_list[0]); in acpi_db_enumerate_object()
155 acpi_db_enumerate_object(obj_desc->device.notify_list[1]); in acpi_db_enumerate_object()
156 acpi_db_enumerate_object(obj_desc->device.handler); in acpi_db_enumerate_object()
169 acpi_db_enumerate_object(obj_desc->region.handler); in acpi_db_enumerate_object()
174 acpi_db_enumerate_object(obj_desc->power_resource. in acpi_db_enumerate_object()
176 acpi_db_enumerate_object(obj_desc->power_resource. in acpi_db_enumerate_object()
182 acpi_db_enumerate_object(obj_desc->processor.notify_list[0]); in acpi_db_enumerate_object()
183 acpi_db_enumerate_object(obj_desc->processor.notify_list[1]); in acpi_db_enumerate_object()
184 acpi_db_enumerate_object(obj_desc->processor.handler); in acpi_db_enumerate_object()
189 acpi_db_enumerate_object(obj_desc->thermal_zone.notify_list[0]); in acpi_db_enumerate_object()
190 acpi_db_enumerate_object(obj_desc->thermal_zone.notify_list[1]); in acpi_db_enumerate_object()
191 acpi_db_enumerate_object(obj_desc->thermal_zone.handler); in acpi_db_enumerate_object()
229 type = node->type; in acpi_db_classify_one_object()
242 if (acpi_ps_is_named_op(op->opcode)) { in acpi_db_classify_one_object()
253 size_of_parse_tree = (num_grammar_elements - num_method_elements) * in acpi_db_classify_one_object()
285 for (i = 0; i < (ACPI_TYPE_NS_NODE_MAX - 1); i++) { in acpi_db_count_namespace_objects()
300 * PARAMETERS: type_arg - Subcommand
362 ("\n----Object Statistics (all in hex)---------\n"); in acpi_db_display_statistics()
370 ("\n----Cache Statistics (all in hex)---------\n"); in acpi_db_display_statistics()
382 acpi_os_printf("%-28s: %7u\n", "Calls to AcpiPsFind", in acpi_db_display_statistics()
384 acpi_os_printf("%-28s: %7u\n", "Calls to AcpiNsLookup", in acpi_db_display_statistics()
389 acpi_os_printf("%-28s: %7u\n", in acpi_db_display_statistics()
399 acpi_os_printf("Common %3d\n", in acpi_db_display_statistics()
401 acpi_os_printf("Number %3d\n", in acpi_db_display_statistics()
403 acpi_os_printf("String %3d\n", in acpi_db_display_statistics()
405 acpi_os_printf("Buffer %3d\n", in acpi_db_display_statistics()
407 acpi_os_printf("Package %3d\n", in acpi_db_display_statistics()
409 acpi_os_printf("BufferField %3d\n", in acpi_db_display_statistics()
411 acpi_os_printf("Device %3d\n", in acpi_db_display_statistics()
413 acpi_os_printf("Event %3d\n", in acpi_db_display_statistics()
415 acpi_os_printf("Method %3d\n", in acpi_db_display_statistics()
417 acpi_os_printf("Mutex %3d\n", in acpi_db_display_statistics()
419 acpi_os_printf("Region %3d\n", in acpi_db_display_statistics()
421 acpi_os_printf("PowerResource %3d\n", in acpi_db_display_statistics()
423 acpi_os_printf("Processor %3d\n", in acpi_db_display_statistics()
425 acpi_os_printf("ThermalZone %3d\n", in acpi_db_display_statistics()
427 acpi_os_printf("RegionField %3d\n", in acpi_db_display_statistics()
429 acpi_os_printf("BankField %3d\n", in acpi_db_display_statistics()
431 acpi_os_printf("IndexField %3d\n", in acpi_db_display_statistics()
433 acpi_os_printf("Reference %3d\n", in acpi_db_display_statistics()
435 acpi_os_printf("Notify %3d\n", in acpi_db_display_statistics()
437 acpi_os_printf("AddressSpace %3d\n", in acpi_db_display_statistics()
439 acpi_os_printf("Extra %3d\n", in acpi_db_display_statistics()
441 acpi_os_printf("Data %3d\n", in acpi_db_display_statistics()
446 acpi_os_printf("ParseObject %3d\n", in acpi_db_display_statistics()
448 acpi_os_printf("ParseObjectNamed %3d\n", in acpi_db_display_statistics()
450 acpi_os_printf("ParseObjectAsl %3d\n", in acpi_db_display_statistics()
452 acpi_os_printf("OperandObject %3d\n", in acpi_db_display_statistics()
454 acpi_os_printf("NamespaceNode %3d\n", in acpi_db_display_statistics()
456 acpi_os_printf("AcpiObject %3d\n", in acpi_db_display_statistics()
461 acpi_os_printf("Generic State %3d\n", in acpi_db_display_statistics()
463 acpi_os_printf("Common State %3d\n", in acpi_db_display_statistics()
465 acpi_os_printf("Control State %3d\n", in acpi_db_display_statistics()
467 acpi_os_printf("Update State %3d\n", in acpi_db_display_statistics()
469 acpi_os_printf("Scope State %3d\n", in acpi_db_display_statistics()
471 acpi_os_printf("Parse Scope %3d\n", in acpi_db_display_statistics()
473 acpi_os_printf("Package State %3d\n", in acpi_db_display_statistics()
475 acpi_os_printf("Thread State %3d\n", in acpi_db_display_statistics()
477 acpi_os_printf("Result Values %3d\n", in acpi_db_display_statistics()
479 acpi_os_printf("Notify Info %3d\n", in acpi_db_display_statistics()