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

/linux-4.4.14/drivers/acpi/
H A Dsysfs.c483 static struct event_counter *all_counters; variable in typeref:struct:event_counter
497 struct event_counter *tmp = all_counters; delete_gpe_attr_array()
499 all_counters = NULL; delete_gpe_attr_array()
519 if (!all_counters) gpe_count()
523 all_counters[gpe_number].count++; gpe_count()
525 all_counters[num_gpes + ACPI_NUM_FIXED_EVENTS + gpe_count()
533 if (!all_counters) fixed_event_count()
537 all_counters[num_gpes + event_number].count++; fixed_event_count()
539 all_counters[num_gpes + ACPI_NUM_FIXED_EVENTS + fixed_event_count()
587 all_counters[num_gpes + ACPI_NUM_FIXED_EVENTS + COUNT_SCI].count = counter_show()
589 all_counters[num_gpes + ACPI_NUM_FIXED_EVENTS + COUNT_SCI_NOT].count = counter_show()
591 all_counters[num_gpes + ACPI_NUM_FIXED_EVENTS + COUNT_GPE].count = counter_show()
593 size = sprintf(buf, "%8u", all_counters[index].count); counter_show()
635 all_counters[i].count = 0; counter_set()
664 all_counters[index].count = tmp; counter_set()
679 all_counters[index].count = tmp; counter_set()
683 all_counters[index].count = strtoul(buf, NULL, 0); counter_set()
696 if (all_counters) acpi_irq_stats_init()
707 all_counters = kzalloc(sizeof(struct event_counter) * (num_counters), acpi_irq_stats_init()
709 if (all_counters == NULL) acpi_irq_stats_init()

Completed in 55 milliseconds