Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/mtd/ubi/
Dfastmap-wl.c79 if (!ubi->free.rb_node || (ubi->free_count - ubi->beb_rsvd_pebs < 1)) in ubi_wl_get_fm_peb()
115 int beb_rsvd_pebs; in has_enough_free_count() local
120 beb_rsvd_pebs = is_wl_pool ? ubi->beb_rsvd_pebs : 0; in has_enough_free_count()
124 return ubi->free_count - beb_rsvd_pebs > fm_used; in has_enough_free_count()
Dmisc.c94 int need = ubi->beb_rsvd_level - ubi->beb_rsvd_pebs; in ubi_update_reserved()
102 ubi->beb_rsvd_pebs += need; in ubi_update_reserved()
Deba.c1493 if (ubi->beb_rsvd_pebs > min) in print_rsvd_warning()
1498 ubi->beb_rsvd_pebs, ubi->beb_rsvd_level); in print_rsvd_warning()
1681 ubi->beb_rsvd_pebs = ubi->avail_pebs; in ubi_eba_init()
1684 ubi->beb_rsvd_pebs = ubi->beb_rsvd_level; in ubi_eba_init()
1686 ubi->avail_pebs -= ubi->beb_rsvd_pebs; in ubi_eba_init()
1687 ubi->rsvd_pebs += ubi->beb_rsvd_pebs; in ubi_eba_init()
Dwl.c1157 if (ubi->beb_rsvd_pebs == 0) {
1174 if (ubi->beb_rsvd_pebs > 0) {
1183 ubi->beb_rsvd_pebs -= 1;
1190 else if (ubi->beb_rsvd_pebs)
1192 ubi->beb_rsvd_pebs);
Dbuild.c366 ret = sprintf(buf, "%d\n", ubi->beb_rsvd_pebs); in dev_attribute_show()
1016 ubi->avail_pebs, ubi->rsvd_pebs, ubi->beb_rsvd_pebs); in ubi_attach_mtd_dev()
Dubi.h570 int beb_rsvd_pebs; member