Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/mtd/ubi/
Dbuild.c61 int max_beb_per1024; member
539 static int get_bad_peb_limit(const struct ubi_device *ubi, int max_beb_per1024) in get_bad_peb_limit() argument
544 if (!max_beb_per1024) { 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()
592 static int io_init(struct ubi_device *ubi, int max_beb_per1024) in io_init() argument
625 ubi->bad_peb_limit = get_bad_peb_limit(ubi, max_beb_per1024); in io_init()
826 int vid_hdr_offset, int max_beb_per1024, bool disable_fm) in ubi_attach_mtd_dev() argument
831 if (max_beb_per1024 < 0 || max_beb_per1024 > MAX_MTD_UBI_BEB_LIMIT) in ubi_attach_mtd_dev()
834 if (!max_beb_per1024) in ubi_attach_mtd_dev()
[all …]
Dubi.h940 int vid_hdr_offset, int max_beb_per1024,
Dcdev.c1044 req.max_beb_per1024, !!req.disable_fm); in ctrl_cdev_ioctl()
/linux-6.1.9/include/uapi/mtd/
Dubi-user.h294 __s16 max_beb_per1024; member