Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/mtd/ubi/
Dbuild.c541 int limit, device_pebs; in get_bad_peb_limit() local
566 device_pebs = mtd_div_by_eb(device_size, ubi->mtd); in get_bad_peb_limit()
567 limit = mult_frac(device_pebs, max_beb_per1024, 1024); in get_bad_peb_limit()
570 if (mult_frac(limit, 1024, max_beb_per1024) < device_pebs) in get_bad_peb_limit()