Lines Matching refs:attribute

473 static struct attribute *net_class_attrs[] = {
560 static struct attribute *netstat_attrs[] = {
594 static struct attribute *wireless_attrs[] = {
614 static ssize_t rx_queue_attr_show(struct kobject *kobj, struct attribute *attr, in rx_queue_attr_show()
617 struct rx_queue_attribute *attribute = to_rx_queue_attr(attr); in rx_queue_attr_show() local
620 if (!attribute->show) in rx_queue_attr_show()
623 return attribute->show(queue, attribute, buf); in rx_queue_attr_show()
626 static ssize_t rx_queue_attr_store(struct kobject *kobj, struct attribute *attr, in rx_queue_attr_store()
629 struct rx_queue_attribute *attribute = to_rx_queue_attr(attr); in rx_queue_attr_store() local
632 if (!attribute->store) in rx_queue_attr_store()
635 return attribute->store(queue, attribute, buf, count); in rx_queue_attr_store()
645 struct rx_queue_attribute *attribute, char *buf) in show_rps_map() argument
668 struct rx_queue_attribute *attribute, in store_rps_map() argument
814 static struct attribute *rx_queue_default_attrs[] = {
931 struct attribute attr;
943 struct attribute *attr, char *buf) in netdev_queue_attr_show()
945 struct netdev_queue_attribute *attribute = to_netdev_queue_attr(attr); in netdev_queue_attr_show() local
948 if (!attribute->show) in netdev_queue_attr_show()
951 return attribute->show(queue, attribute, buf); in netdev_queue_attr_show()
955 struct attribute *attr, in netdev_queue_attr_store()
958 struct netdev_queue_attribute *attribute = to_netdev_queue_attr(attr); in netdev_queue_attr_store() local
961 if (!attribute->store) in netdev_queue_attr_store()
964 return attribute->store(queue, attribute, buf, count); in netdev_queue_attr_store()
973 struct netdev_queue_attribute *attribute, in show_trans_timeout() argument
1001 struct netdev_queue_attribute *attribute, in show_tx_maxrate() argument
1008 struct netdev_queue_attribute *attribute, in set_tx_maxrate() argument
1082 struct netdev_queue_attribute *attribute, in bql_set_hold_time() argument
1137 static struct attribute *dql_attrs[] = {
1154 struct netdev_queue_attribute *attribute, char *buf) in show_xps_map() argument
1192 struct netdev_queue_attribute *attribute, in store_xps_map() argument
1225 static struct attribute *netdev_queue_default_attrs[] = {