Searched refs:max_beb_per1024 (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/mtd/ubi/ |
H A D | build.c | 64 int max_beb_per1024; member 547 static int get_bad_peb_limit(const struct ubi_device *ubi, int max_beb_per1024) in get_bad_peb_limit() argument 552 if (!max_beb_per1024) { in get_bad_peb_limit() 575 limit = mult_frac(device_pebs, max_beb_per1024, 1024); in get_bad_peb_limit() 578 if (mult_frac(limit, 1024, max_beb_per1024) < device_pebs) in get_bad_peb_limit() 600 static int io_init(struct ubi_device *ubi, int max_beb_per1024) in io_init() argument 633 ubi->bad_peb_limit = get_bad_peb_limit(ubi, max_beb_per1024); in io_init() 850 int vid_hdr_offset, int max_beb_per1024, bool disable_fm, in ubi_attach_mtd_dev() argument 856 if (max_beb_per1024 < 0 || max_beb_per1024 > MAX_MTD_UBI_BEB_LIMIT) in ubi_attach_mtd_dev() 859 if (!max_beb_per1024) in ubi_attach_mtd_dev() [all …]
|
H A D | ubi.h | 941 int vid_hdr_offset, int max_beb_per1024,
|
/linux/include/uapi/mtd/ |
H A D | ubi-user.h | 295 __s16 max_beb_per1024; member
|