Lines Matching refs:attribute
630 static struct attribute *net_class_attrs[] __ro_after_init = {
724 static struct attribute *netstat_attrs[] __ro_after_init = {
758 static struct attribute *wireless_attrs[] = {
778 static ssize_t rx_queue_attr_show(struct kobject *kobj, struct attribute *attr, in rx_queue_attr_show()
781 const struct rx_queue_attribute *attribute = to_rx_queue_attr(attr); in rx_queue_attr_show() local
784 if (!attribute->show) in rx_queue_attr_show()
787 return attribute->show(queue, buf); in rx_queue_attr_show()
790 static ssize_t rx_queue_attr_store(struct kobject *kobj, struct attribute *attr, in rx_queue_attr_store()
793 const struct rx_queue_attribute *attribute = to_rx_queue_attr(attr); in rx_queue_attr_store() local
796 if (!attribute->store) in rx_queue_attr_store()
799 return attribute->store(queue, buf, count); in rx_queue_attr_store()
986 static struct attribute *rx_queue_default_attrs[] __ro_after_init = {
1161 struct attribute attr;
1172 struct attribute *attr, char *buf) in netdev_queue_attr_show()
1174 const struct netdev_queue_attribute *attribute in netdev_queue_attr_show() local
1178 if (!attribute->show) in netdev_queue_attr_show()
1181 return attribute->show(queue, buf); in netdev_queue_attr_show()
1185 struct attribute *attr, in netdev_queue_attr_store()
1188 const struct netdev_queue_attribute *attribute in netdev_queue_attr_store() local
1192 if (!attribute->store) in netdev_queue_attr_store()
1195 return attribute->store(queue, buf, count); in netdev_queue_attr_store()
1404 static struct attribute *dql_attrs[] __ro_after_init = {
1606 static struct attribute *netdev_queue_default_attrs[] __ro_after_init = {