Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/mtd/ubi/
Dfastmap-wl.c39 int max_ec = UBI_MAX_ERASECOUNTER; in find_anchor_wl_entry() local
42 if (e->pnum < UBI_FM_MAX_START && e->ec < max_ec) { in find_anchor_wl_entry()
44 max_ec = e->ec; in find_anchor_wl_entry()
Dattach.c1199 if (ec > ai->max_ec) in scan_peb()
1200 ai->max_ec = ec; in scan_peb()
1609 ubi->max_ec = ai->max_ec; in ubi_attach()
1746 if (aeb->ec > ai->max_ec) { in self_check_ai()
1748 ai->max_ec, aeb->ec); in self_check_ai()
Dubi.h593 int max_ec; member
787 int max_ec; member
Dwl.c481 if (e->ec > ubi->max_ec) in sync_erase()
482 ubi->max_ec = e->ec; in sync_erase()
1589 ubi->max_ec = ai->max_ec;
Dbuild.c141 __ATTR(max_ec, S_IRUGO, dev_attribute_show, NULL);
379 ret = sprintf(buf, "%d\n", ubi->max_ec); in dev_attribute_show()
1005 ubi->max_ec, ubi->mean_ec, CONFIG_MTD_UBI_WL_THRESHOLD, in ubi_attach_mtd_dev()
Dfastmap.c161 if (ai->max_ec < aeb->ec) in add_aeb()
162 ai->max_ec = aeb->ec; in add_aeb()
/Linux-v4.19/Documentation/ABI/stable/
Dsysfs-class-ubi74 What: /sys/class/ubi/ubiX/max_ec