Searched refs:max_ec (Results 1 – 14 of 14) sorted by relevance
/openbmc/u-boot/drivers/mtd/ubi/ |
H A D | fastmap-wl.c | 37 int max_ec = UBI_MAX_ERASECOUNTER; in find_anchor_wl_entry() local 40 if (e->pnum < UBI_FM_MAX_START && e->ec < max_ec) { in find_anchor_wl_entry() 42 max_ec = e->ec; in find_anchor_wl_entry()
|
H A D | attach.c | 1043 if (ec > ai->max_ec) in scan_peb() 1044 ai->max_ec = ec; in scan_peb() 1438 ubi->max_ec = ai->max_ec; in ubi_attach() 1573 if (aeb->ec > ai->max_ec) { in self_check_ai() 1575 ai->max_ec, aeb->ec); in self_check_ai()
|
H A D | ubi.h | 552 int max_ec; member 739 int max_ec; member
|
H A D | wl.c | 473 if (e->ec > ubi->max_ec) in sync_erase() 474 ubi->max_ec = e->ec; in sync_erase() 1539 ubi->max_ec = ai->max_ec;
|
H A D | build.c | 157 __ATTR(max_ec, S_IRUGO, dev_attribute_show, NULL); 400 ret = sprintf(buf, "%d\n", ubi->max_ec); in dev_attribute_show() 1048 ubi->max_ec, ubi->mean_ec, CONFIG_MTD_UBI_WL_THRESHOLD, in ubi_attach_mtd_dev()
|
H A D | fastmap.c | 160 if (ai->max_ec < aeb->ec) in add_aeb() 161 ai->max_ec = aeb->ec; in add_aeb()
|
/openbmc/linux/drivers/mtd/ubi/ |
H A D | fastmap-wl.c | 30 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()
|
H A D | attach.c | 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()
|
H A D | ubi.h | 580 int max_ec; member 776 int max_ec; member
|
H A D | build.c | 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()
|
H A D | wl.c | 481 if (e->ec > ubi->max_ec) in sync_erase() 482 ubi->max_ec = e->ec; in sync_erase() 1799 ubi->max_ec = ai->max_ec;
|
H A D | fastmap.c | 152 if (ai->max_ec < aeb->ec) in add_aeb() 153 ai->max_ec = aeb->ec; in add_aeb()
|
/openbmc/u-boot/cmd/ |
H A D | ubi.c | 71 ubi_msg("max/mean erase counter: %d/%d", ubi->max_ec, ubi->mean_ec); in display_ubi_info()
|
/openbmc/linux/Documentation/ABI/stable/ |
H A D | sysfs-class-ubi | 74 What: /sys/class/ubi/ubiX/max_ec
|