Home
last modified time | relevance | path

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

/external/u-boot/drivers/mtd/ubi/
Dbuild.c607 int limit, device_pebs; in get_bad_peb_limit() local
623 device_pebs = mtd_div_by_eb(device_size, ubi->mtd); in get_bad_peb_limit()
624 limit = mult_frac(device_pebs, max_beb_per1024, 1024); in get_bad_peb_limit()
627 if (mult_frac(limit, 1024, max_beb_per1024) < device_pebs) in get_bad_peb_limit()