Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/mtd/ubi/
Dfastmap-wl.c30 int max_ec = UBI_MAX_ERASECOUNTER; in find_anchor_wl_entry() local
33 if (e->pnum < UBI_FM_MAX_START && e->ec < max_ec) { in find_anchor_wl_entry()
35 max_ec = e->ec; in find_anchor_wl_entry()
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()
1736 ai->max_ec, aeb->ec); in self_check_ai()
Dubi.h580 int max_ec; member
776 int max_ec; member
Dbuild.c130 __ATTR(max_ec, S_IRUGO, dev_attribute_show, NULL);
365 ret = sprintf(buf, "%d\n", ubi->max_ec); in dev_attribute_show()
1038 ubi->max_ec, ubi->mean_ec, CONFIG_MTD_UBI_WL_THRESHOLD, in ubi_attach_mtd_dev()
Dwl.c481 if (e->ec > ubi->max_ec) in sync_erase()
482 ubi->max_ec = e->ec; in sync_erase()
1792 ubi->max_ec = ai->max_ec;
Dfastmap.c151 if (ai->max_ec < aeb->ec) in add_aeb()
152 ai->max_ec = aeb->ec; in add_aeb()
/Linux-v6.6/Documentation/ABI/stable/
Dsysfs-class-ubi74 What: /sys/class/ubi/ubiX/max_ec