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

/linux-master/drivers/mtd/ubi/
H A Dbuild.c56 * @max_beb_per1024: maximum expected number of bad PEBs per 1024 PEBs
64 int max_beb_per1024; member in struct:mtd_dev_param
547 static int get_bad_peb_limit(const struct ubi_device *ubi, int max_beb_per1024) argument
552 if (!max_beb_per1024) {
554 * Since max_beb_per1024 has not been set by the user in either
575 limit = mult_frac(device_pebs, max_beb_per1024, 1024);
578 if (mult_frac(limit, 1024, max_beb_per1024) < device_pebs)
587 * @max_beb_per1024: maximum expected number of bad PEB per 1024 PEBs
600 static int io_init(struct ubi_device *ubi, int max_beb_per1024) argument
633 ubi->bad_peb_limit = get_bad_peb_limit(ubi, max_beb_per1024);
849 ubi_attach_mtd_dev(struct mtd_info *mtd, int ubi_num, int vid_hdr_offset, int max_beb_per1024, bool disable_fm, bool need_resv_pool) argument
[all...]
H A Dubi.h941 int vid_hdr_offset, int max_beb_per1024,
H A Dcdev.c1044 req.max_beb_per1024, !!req.disable_fm,
/linux-master/include/uapi/mtd/
H A Dubi-user.h248 * @max_beb_per1024: maximum expected number of bad PEB per 1024 PEBs
275 * The @max_beb_per1024 is the maximum amount of bad PEBs UBI expects on the
295 __s16 max_beb_per1024; member in struct:ubi_attach_req

Completed in 128 milliseconds