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

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/mtd/ubi/
H A Dscan.h102 * @max_ec: highest erase counter value
124 int max_ec; member in struct:ubi_scan_info
H A Dbuild.c92 __ATTR(max_ec, S_IRUGO, dev_attribute_show, NULL);
120 return sprintf(buf, "%d\n", ubi->max_ec);
351 ubi->max_ec = si->max_ec;
619 ubi_msg("max/mean erase counter: %d/%d", ubi->max_ec, ubi->mean_ec);
H A Dscan.c866 if (ec > si->max_ec)
867 si->max_ec = ec;
1140 if (seb->ec > si->max_ec) {
1141 ubi_err("bad si->max_ec (%d), %d found",
1142 si->max_ec, seb->ec);
H A Dubi.h224 * @max_ec: current highest erase counter value
297 int max_ec; member in struct:ubi_device
H A Dwl.c624 if (e->ec > ubi->max_ec)
625 ubi->max_ec = e->ec;
1377 ubi->max_ec = si->max_ec;

Completed in 106 milliseconds