Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/mtd/ubi/
Dbuild.c60 int max_beb_per1024; member
538 static int get_bad_peb_limit(const struct ubi_device *ubi, int max_beb_per1024) in get_bad_peb_limit() argument
543 if (!max_beb_per1024) { in get_bad_peb_limit()
566 limit = mult_frac(device_pebs, max_beb_per1024, 1024); in get_bad_peb_limit()
569 if (mult_frac(limit, 1024, max_beb_per1024) < device_pebs) in get_bad_peb_limit()
591 static int io_init(struct ubi_device *ubi, int max_beb_per1024) in io_init() argument
624 ubi->bad_peb_limit = get_bad_peb_limit(ubi, max_beb_per1024); in io_init()
822 int vid_hdr_offset, int max_beb_per1024) in ubi_attach_mtd_dev() argument
827 if (max_beb_per1024 < 0 || max_beb_per1024 > MAX_MTD_UBI_BEB_LIMIT) in ubi_attach_mtd_dev()
830 if (!max_beb_per1024) in ubi_attach_mtd_dev()
[all …]
Dubi.h944 int vid_hdr_offset, int max_beb_per1024);
Dcdev.c1044 req.max_beb_per1024); in ctrl_cdev_ioctl()
/kernel/linux/linux-5.10/include/uapi/mtd/
Dubi-user.h289 __s16 max_beb_per1024; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/mtd/
Dubi-user.h44 __s16 max_beb_per1024; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/mtd/
Dubi-user.h58 __s16 max_beb_per1024; member
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0030_linux_drivers_pci_misc_nvmem_of_mtd_mmc.patch18994 @@ -593,7 +593,7 @@ static int io_init(struct ubi_device *ubi, int max_beb_per1024)