Home
last modified time | relevance | path

Searched refs:counter_attrs (Results 1 – 1 of 1) sorted by relevance

/drivers/acpi/
Dsysfs.c596 static struct kobj_attribute *counter_attrs; variable
605 if (counter_attrs) { in delete_gpe_attr_array()
609 kfree(counter_attrs[i].attr.name); in delete_gpe_attr_array()
611 kfree(counter_attrs); in delete_gpe_attr_array()
690 int index = attr - counter_attrs; in counter_show()
748 int index = attr - counter_attrs; in counter_set()
888 counter_attrs = kcalloc(num_counters, sizeof(struct kobj_attribute), in acpi_irq_stats_init()
890 if (counter_attrs == NULL) in acpi_irq_stats_init()
924 sysfs_attr_init(&counter_attrs[i].attr); in acpi_irq_stats_init()
925 counter_attrs[i].attr.name = name; in acpi_irq_stats_init()
[all …]