Searched refs:max_ec (Results 1 - 6 of 6) sorted by relevance
/linux-4.4.14/drivers/mtd/ubi/ |
H A D | fastmap-wl.c | 39 int max_ec = UBI_MAX_ERASECOUNTER; find_anchor_wl_entry() local 42 if (e->pnum < UBI_FM_MAX_START && e->ec < max_ec) { ubi_rb_for_each_entry() 44 max_ec = e->ec; ubi_rb_for_each_entry()
|
H A D | attach.c | 1048 if (ec > ai->max_ec) scan_peb() 1049 ai->max_ec = ec; scan_peb() 1442 ubi->max_ec = ai->max_ec; ubi_attach() 1577 if (aeb->ec > ai->max_ec) { self_check_ai() 1578 ubi_err(ubi, "bad ai->max_ec (%d), %d found", self_check_ai() 1579 ai->max_ec, aeb->ec); self_check_ai()
|
H A D | ubi.h | 445 * @max_ec: current highest erase counter value 553 int max_ec; member in struct:ubi_device 713 * @max_ec: highest erase counter value 739 int max_ec; member in struct:ubi_attach_info
|
H A D | build.c | 139 __ATTR(max_ec, S_IRUGO, dev_attribute_show, NULL); 375 ret = sprintf(buf, "%d\n", ubi->max_ec); dev_attribute_show() 1020 ubi->max_ec, ubi->mean_ec, CONFIG_MTD_UBI_WL_THRESHOLD, ubi_attach_mtd_dev()
|
H A D | wl.c | 481 if (e->ec > ubi->max_ec) sync_erase() 482 ubi->max_ec = e->ec; sync_erase() 1508 ubi->max_ec = ai->max_ec; ubi_wl_init()
|
H A D | fastmap.c | 159 if (ai->max_ec < aeb->ec) add_aeb() 160 ai->max_ec = aeb->ec; add_aeb()
|
Completed in 153 milliseconds