Lines Matching refs:attr
128 struct class_attribute *attr, char *buf) in ubi_version_show() argument
147 struct device_attribute *attr, char *buf);
373 struct device_attribute *attr, char *buf) in dev_attribute_show() argument
393 if (attr == &dev_eraseblock_size) in dev_attribute_show()
395 else if (attr == &dev_avail_eraseblocks) in dev_attribute_show()
397 else if (attr == &dev_total_eraseblocks) in dev_attribute_show()
399 else if (attr == &dev_volumes_count) in dev_attribute_show()
401 else if (attr == &dev_max_ec) in dev_attribute_show()
403 else if (attr == &dev_reserved_for_bad) in dev_attribute_show()
405 else if (attr == &dev_bad_peb_count) in dev_attribute_show()
407 else if (attr == &dev_max_vol_count) in dev_attribute_show()
409 else if (attr == &dev_min_io_size) in dev_attribute_show()
411 else if (attr == &dev_bgt_enabled) in dev_attribute_show()
413 else if (attr == &dev_mtd_num) in dev_attribute_show()
423 &dev_eraseblock_size.attr,
424 &dev_avail_eraseblocks.attr,
425 &dev_total_eraseblocks.attr,
426 &dev_volumes_count.attr,
427 &dev_max_ec.attr,
428 &dev_reserved_for_bad.attr,
429 &dev_bad_peb_count.attr,
430 &dev_max_vol_count.attr,
431 &dev_min_io_size.attr,
432 &dev_bgt_enabled.attr,
433 &dev_mtd_num.attr,