Home
last modified time | relevance | path

Searched refs:beb_rsvd_level (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/mtd/ubi/
Dmisc.c94 int need = ubi->beb_rsvd_level - ubi->beb_rsvd_pebs; in ubi_update_reserved()
117 ubi->beb_rsvd_level = ubi->bad_peb_limit - ubi->bad_peb_count; in ubi_calculate_reserved()
118 if (ubi->beb_rsvd_level < 0) { in ubi_calculate_reserved()
119 ubi->beb_rsvd_level = 0; in ubi_calculate_reserved()
Deba.c1489 int min = ubi->beb_rsvd_level / 10; in print_rsvd_warning()
1498 ubi->beb_rsvd_pebs, ubi->beb_rsvd_level); in print_rsvd_warning()
1679 if (ubi->avail_pebs < ubi->beb_rsvd_level) { in ubi_eba_init()
1684 ubi->beb_rsvd_pebs = ubi->beb_rsvd_level; in ubi_eba_init()
Dubi.h573 int beb_rsvd_level; member