Searched refs:max_beb_per1024 (Results 1 – 4 of 4) sorted by relevance
/linux-6.6.21/drivers/mtd/ubi/ |
D | build.c | 62 int max_beb_per1024; member 541 static int get_bad_peb_limit(const struct ubi_device *ubi, int max_beb_per1024) in get_bad_peb_limit() argument 546 if (!max_beb_per1024) { in get_bad_peb_limit() 569 limit = mult_frac(device_pebs, max_beb_per1024, 1024); in get_bad_peb_limit() 572 if (mult_frac(limit, 1024, max_beb_per1024) < device_pebs) in get_bad_peb_limit() 594 static int io_init(struct ubi_device *ubi, int max_beb_per1024) in io_init() argument 627 ubi->bad_peb_limit = get_bad_peb_limit(ubi, max_beb_per1024); in io_init() 843 int vid_hdr_offset, int max_beb_per1024, bool disable_fm) in ubi_attach_mtd_dev() argument 848 if (max_beb_per1024 < 0 || max_beb_per1024 > MAX_MTD_UBI_BEB_LIMIT) in ubi_attach_mtd_dev() 851 if (!max_beb_per1024) in ubi_attach_mtd_dev() [all …]
|
D | ubi.h | 940 int vid_hdr_offset, int max_beb_per1024,
|
D | cdev.c | 1044 req.max_beb_per1024, !!req.disable_fm); in ctrl_cdev_ioctl()
|
/linux-6.6.21/include/uapi/mtd/ |
D | ubi-user.h | 294 __s16 max_beb_per1024; member
|