Lines Matching refs:attribute
322 /* Show a given an attribute in the statistics group */
344 /* generate a read-only statistics attribute */
378 static struct attribute *netstat_attrs[] = {
457 static struct attribute *wireless_attrs[] = {
483 struct attribute attr;
494 static ssize_t rx_queue_attr_show(struct kobject *kobj, struct attribute *attr,
497 struct rx_queue_attribute *attribute = to_rx_queue_attr(attr);
500 if (!attribute->show)
503 return attribute->show(queue, attribute, buf);
506 static ssize_t rx_queue_attr_store(struct kobject *kobj, struct attribute *attr,
509 struct rx_queue_attribute *attribute = to_rx_queue_attr(attr);
512 if (!attribute->store)
515 return attribute->store(queue, attribute, buf, count);
524 struct rx_queue_attribute *attribute, char *buf)
561 struct rx_queue_attribute *attribute,
698 static struct attribute *rx_queue_default_attrs[] = {