Lines Matching refs:attribute

389 static struct attribute *netstat_attrs[] = {
468 static struct attribute *wireless_attrs[] = {
494 struct attribute attr;
505 static ssize_t rx_queue_attr_show(struct kobject *kobj, struct attribute *attr, in rx_queue_attr_show()
508 struct rx_queue_attribute *attribute = to_rx_queue_attr(attr); in rx_queue_attr_show() local
511 if (!attribute->show) in rx_queue_attr_show()
514 return attribute->show(queue, attribute, buf); in rx_queue_attr_show()
517 static ssize_t rx_queue_attr_store(struct kobject *kobj, struct attribute *attr, in rx_queue_attr_store()
520 struct rx_queue_attribute *attribute = to_rx_queue_attr(attr); in rx_queue_attr_store() local
523 if (!attribute->store) in rx_queue_attr_store()
526 return attribute->store(queue, attribute, buf, count); in rx_queue_attr_store()
535 struct rx_queue_attribute *attribute, char *buf) in show_rps_map() argument
565 struct rx_queue_attribute *attribute, in store_rps_map() argument
720 static struct attribute *rx_queue_default_attrs[] = {
805 struct attribute attr;
817 struct attribute *attr, char *buf) in netdev_queue_attr_show()
819 struct netdev_queue_attribute *attribute = to_netdev_queue_attr(attr); in netdev_queue_attr_show() local
822 if (!attribute->show) in netdev_queue_attr_show()
825 return attribute->show(queue, attribute, buf); in netdev_queue_attr_show()
829 struct attribute *attr, in netdev_queue_attr_store()
832 struct netdev_queue_attribute *attribute = to_netdev_queue_attr(attr); in netdev_queue_attr_store() local
835 if (!attribute->store) in netdev_queue_attr_store()
838 return attribute->store(queue, attribute, buf, count); in netdev_queue_attr_store()
847 struct netdev_queue_attribute *attribute, in show_trans_timeout() argument
902 struct netdev_queue_attribute *attribute, in bql_set_hold_time() argument
957 static struct attribute *dql_attrs[] = {
989 struct netdev_queue_attribute *attribute, char *buf) in show_xps_map() argument
1084 struct netdev_queue_attribute *attribute, in store_xps_map() argument
1215 static struct attribute *netdev_queue_default_attrs[] = {