Searched refs:beb_rsvd_pebs (Results 1 – 6 of 6) sorted by relevance
94 int need = ubi->beb_rsvd_level - ubi->beb_rsvd_pebs; in ubi_update_reserved()102 ubi->beb_rsvd_pebs += need; in ubi_update_reserved()
1506 if (ubi->beb_rsvd_pebs > min) in print_rsvd_warning()1511 ubi->beb_rsvd_pebs, ubi->beb_rsvd_level); in print_rsvd_warning()1695 ubi->beb_rsvd_pebs = ubi->avail_pebs; in ubi_eba_init()1698 ubi->beb_rsvd_pebs = ubi->beb_rsvd_level; in ubi_eba_init()1700 ubi->avail_pebs -= ubi->beb_rsvd_pebs; in ubi_eba_init()1701 ubi->rsvd_pebs += ubi->beb_rsvd_pebs; in ubi_eba_init()
1176 if (ubi->beb_rsvd_pebs == 0) {1193 if (ubi->beb_rsvd_pebs > 0) {1202 ubi->beb_rsvd_pebs -= 1;1209 else if (ubi->beb_rsvd_pebs)1211 ubi->beb_rsvd_pebs);
127 expect_free = reserved + ubi->beb_rsvd_pebs; in wait_free_pebs_for_pool()
373 ret = sprintf(buf, "%d\n", ubi->beb_rsvd_pebs); in dev_attribute_show()1050 ubi->avail_pebs, ubi->rsvd_pebs, ubi->beb_rsvd_pebs); in ubi_attach_mtd_dev()
569 int beb_rsvd_pebs; member