Lines Matching refs:attribute
489 static struct attribute *net_class_attrs[] = {
577 static struct attribute *netstat_attrs[] = {
611 static struct attribute *wireless_attrs[] = {
631 static ssize_t rx_queue_attr_show(struct kobject *kobj, struct attribute *attr, in rx_queue_attr_show()
634 struct rx_queue_attribute *attribute = to_rx_queue_attr(attr); in rx_queue_attr_show() local
637 if (!attribute->show) in rx_queue_attr_show()
640 return attribute->show(queue, attribute, buf); in rx_queue_attr_show()
643 static ssize_t rx_queue_attr_store(struct kobject *kobj, struct attribute *attr, in rx_queue_attr_store()
646 struct rx_queue_attribute *attribute = to_rx_queue_attr(attr); in rx_queue_attr_store() local
649 if (!attribute->store) in rx_queue_attr_store()
652 return attribute->store(queue, attribute, buf, count); in rx_queue_attr_store()
662 struct rx_queue_attribute *attribute, char *buf) in show_rps_map() argument
685 struct rx_queue_attribute *attribute, in store_rps_map() argument
834 static struct attribute *rx_queue_default_attrs[] = {
951 struct attribute attr;
963 struct attribute *attr, char *buf) in netdev_queue_attr_show()
965 struct netdev_queue_attribute *attribute = to_netdev_queue_attr(attr); in netdev_queue_attr_show() local
968 if (!attribute->show) in netdev_queue_attr_show()
971 return attribute->show(queue, attribute, buf); in netdev_queue_attr_show()
975 struct attribute *attr, in netdev_queue_attr_store()
978 struct netdev_queue_attribute *attribute = to_netdev_queue_attr(attr); in netdev_queue_attr_store() local
981 if (!attribute->store) in netdev_queue_attr_store()
984 return attribute->store(queue, attribute, buf, count); in netdev_queue_attr_store()
993 struct netdev_queue_attribute *attribute, in show_trans_timeout() argument
1018 struct netdev_queue_attribute *attribute, in show_tx_maxrate() argument
1025 struct netdev_queue_attribute *attribute, in set_tx_maxrate() argument
1099 struct netdev_queue_attribute *attribute, in bql_set_hold_time() argument
1154 static struct attribute *dql_attrs[] = {
1171 struct netdev_queue_attribute *attribute, char *buf) in show_xps_map() argument
1209 struct netdev_queue_attribute *attribute, in store_xps_map() argument
1242 static struct attribute *netdev_queue_default_attrs[] = {