Home
last modified time | relevance | path

Searched refs:max_ec (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/mtd/ubi/ !
H A Dattach.c1187 if (ec > ai->max_ec) in scan_peb()
1188 ai->max_ec = ec; in scan_peb()
1597 ubi->max_ec = ai->max_ec; in ubi_attach()
1734 if (aeb->ec > ai->max_ec) { in self_check_ai()
1735 ubi_err(ubi, "bad ai->max_ec (%d), %d found", in self_check_ai()
1736 ai->max_ec, aeb->ec); in self_check_ai()
H A Dubi.h468 * @max_ec: current highest erase counter value
579 int max_ec; member
746 * @max_ec: highest erase counter value
776 int max_ec; member
H A Dwl.c493 if (e->ec > ubi->max_ec) in ubi_sync_erase()
494 ubi->max_ec = e->ec; in ubi_sync_erase()
1811 ubi->max_ec = ai->max_ec;
H A Dbuild.c133 __ATTR(max_ec, S_IRUGO, dev_attribute_show, NULL);
371 ret = sprintf(buf, "%d\n", ubi->max_ec); in dev_attribute_show()
1047 ubi->max_ec, ubi->mean_ec, CONFIG_MTD_UBI_WL_THRESHOLD, in ubi_attach_mtd_dev()
H A Dfastmap.c152 if (ai->max_ec < aeb->ec) in add_aeb()
153 ai->max_ec = aeb->ec; in add_aeb()
/linux/Documentation/ABI/stable/ !
H A Dsysfs-class-ubi74 What: /sys/class/ubi/ubiX/max_ec