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

/linux-master/drivers/mtd/ubi/
H A Dfastmap-wl.c30 int max_ec = UBI_MAX_ERASECOUNTER; local
33 if (e->pnum < UBI_FM_MAX_START && e->ec < max_ec) {
35 max_ec = e->ec;
H A Dattach.c1187 if (ec > ai->max_ec)
1188 ai->max_ec = ec;
1597 ubi->max_ec = ai->max_ec;
1734 if (aeb->ec > ai->max_ec) {
1735 ubi_err(ubi, "bad ai->max_ec (%d), %d found",
1736 ai->max_ec, aeb->ec);
H A Dubi.h468 * @max_ec: current highest erase counter value
579 int max_ec; member in struct:ubi_device
746 * @max_ec: highest erase counter value
776 int max_ec; member in struct:ubi_attach_info
H A Dbuild.c133 __ATTR(max_ec, S_IRUGO, dev_attribute_show, NULL);
371 ret = sprintf(buf, "%d\n", ubi->max_ec);
1047 ubi->max_ec, ubi->mean_ec, CONFIG_MTD_UBI_WL_THRESHOLD,
H A Dwl.c493 if (e->ec > ubi->max_ec)
494 ubi->max_ec = e->ec;
1804 ubi->max_ec = ai->max_ec;
H A Dfastmap.c152 if (ai->max_ec < aeb->ec)
153 ai->max_ec = aeb->ec;

Completed in 118 milliseconds