Lines Matching refs:attr

126 	&driver_attr_new_id.attr,
127 &driver_attr_remove_id.attr,
214 struct device_attribute *attr, char *buf)
223 struct device_attribute *attr, char *buf)
234 struct device_attribute *attr, char *buf)
259 struct device_attribute *attr, char *buf)
273 struct device_attribute *attr, char *buf)
292 struct device_attribute *attr, char *buf)
309 static ssize_t create_store(struct device *dev, struct device_attribute *attr,
463 static ssize_t delete_store(struct device *dev, struct device_attribute *attr,
520 if (a == &dev_attr_available_size.attr
521 || a == &dev_attr_create.attr
522 || a == &dev_attr_seed.attr
523 || a == &dev_attr_delete.attr)
529 &dev_attr_available_size.attr,
530 &dev_attr_region_size.attr,
531 &dev_attr_region_align.attr,
532 &dev_attr_create.attr,
533 &dev_attr_seed.attr,
534 &dev_attr_delete.attr,
535 &dev_attr_id.attr,
662 struct device_attribute *attr, char *buf)
678 struct device_attribute *attr, char *buf)
694 struct device_attribute *attr, char *buf)
710 &dev_attr_start.attr,
711 &dev_attr_end.attr,
712 &dev_attr_page_offset.attr,
873 struct device_attribute *attr, char *buf)
1033 static ssize_t size_store(struct device *dev, struct device_attribute *attr,
1094 static ssize_t mapping_store(struct device *dev, struct device_attribute *attr,
1126 struct device_attribute *attr, char *buf)
1158 static ssize_t align_store(struct device *dev, struct device_attribute *attr,
1205 struct device_attribute *attr, char *buf)
1214 struct device_attribute *attr, char *buf)
1229 static ssize_t modalias_show(struct device *dev, struct device_attribute *attr,
1241 struct device_attribute *attr, char *buf)
1253 if (a == &dev_attr_target_node.attr && dev_dax_target_node(dev_dax) < 0)
1255 if (a == &dev_attr_numa_node.attr && !IS_ENABLED(CONFIG_NUMA))
1257 if (a == &dev_attr_mapping.attr && is_static(dax_region))
1259 if ((a == &dev_attr_align.attr ||
1260 a == &dev_attr_size.attr) && is_static(dax_region))
1266 &dev_attr_modalias.attr,
1267 &dev_attr_size.attr,
1268 &dev_attr_mapping.attr,
1269 &dev_attr_target_node.attr,
1270 &dev_attr_align.attr,
1271 &dev_attr_resource.attr,
1272 &dev_attr_numa_node.attr,