Searched refs:max_ec (Results 1 – 7 of 7) sorted by relevance
30 int max_ec = UBI_MAX_ERASECOUNTER; in find_anchor_wl_entry() local33 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()
1187 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()
580 int max_ec; member776 int max_ec; member
130 __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()
481 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;
151 if (ai->max_ec < aeb->ec) in add_aeb()152 ai->max_ec = aeb->ec; in add_aeb()
74 What: /sys/class/ubi/ubiX/max_ec