Home
last modified time | relevance | path

Searched refs:beb_rsvd_pebs (Results 1 – 5 of 5) sorted by relevance

/drivers/mtd/ubi/
Dmisc.c105 int need = ubi->beb_rsvd_level - ubi->beb_rsvd_pebs; in ubi_update_reserved()
113 ubi->beb_rsvd_pebs += need; in ubi_update_reserved()
Deba.c1205 if (ubi->beb_rsvd_pebs > min) in print_rsvd_warning()
1210 ubi->beb_rsvd_pebs, ubi->beb_rsvd_level); in print_rsvd_warning()
1386 ubi->beb_rsvd_pebs = ubi->avail_pebs; in ubi_eba_init()
1389 ubi->beb_rsvd_pebs = ubi->beb_rsvd_level; in ubi_eba_init()
1391 ubi->avail_pebs -= ubi->beb_rsvd_pebs; in ubi_eba_init()
1392 ubi->rsvd_pebs += ubi->beb_rsvd_pebs; in ubi_eba_init()
Dwl.c473 if (!ubi->free.rb_node || (ubi->free_count - ubi->beb_rsvd_pebs < 1)) in ubi_wl_get_fm_peb()
578 (ubi->free_count - ubi->beb_rsvd_pebs < 5)) in refill_wl_pool()
603 (ubi->free_count - ubi->beb_rsvd_pebs < 1)) in refill_wl_user_pool()
1487 if (ubi->beb_rsvd_pebs == 0) {
1504 if (ubi->beb_rsvd_pebs > 0) {
1513 ubi->beb_rsvd_pebs -= 1;
1520 else if (ubi->beb_rsvd_pebs)
1521 ubi_msg("%d PEBs left in the reserve", ubi->beb_rsvd_pebs);
Dbuild.c368 ret = sprintf(buf, "%d\n", ubi->beb_rsvd_pebs); in dev_attribute_show()
1033 ubi->avail_pebs, ubi->rsvd_pebs, ubi->beb_rsvd_pebs); in ubi_attach_mtd_dev()
Dubi.h505 int beb_rsvd_pebs; member