max_beb_per1024 60 drivers/mtd/ubi/build.c int max_beb_per1024; max_beb_per1024 521 drivers/mtd/ubi/build.c static int get_bad_peb_limit(const struct ubi_device *ubi, int max_beb_per1024) max_beb_per1024 526 drivers/mtd/ubi/build.c if (!max_beb_per1024) { max_beb_per1024 549 drivers/mtd/ubi/build.c limit = mult_frac(device_pebs, max_beb_per1024, 1024); max_beb_per1024 552 drivers/mtd/ubi/build.c if (mult_frac(limit, 1024, max_beb_per1024) < device_pebs) max_beb_per1024 574 drivers/mtd/ubi/build.c static int io_init(struct ubi_device *ubi, int max_beb_per1024) max_beb_per1024 607 drivers/mtd/ubi/build.c ubi->bad_peb_limit = get_bad_peb_limit(ubi, max_beb_per1024); max_beb_per1024 805 drivers/mtd/ubi/build.c int vid_hdr_offset, int max_beb_per1024) max_beb_per1024 810 drivers/mtd/ubi/build.c if (max_beb_per1024 < 0 || max_beb_per1024 > MAX_MTD_UBI_BEB_LIMIT) max_beb_per1024 813 drivers/mtd/ubi/build.c if (!max_beb_per1024) max_beb_per1024 814 drivers/mtd/ubi/build.c max_beb_per1024 = CONFIG_MTD_UBI_BEB_LIMIT; max_beb_per1024 931 drivers/mtd/ubi/build.c err = io_init(ubi, max_beb_per1024); max_beb_per1024 1229 drivers/mtd/ubi/build.c p->vid_hdr_offs, p->max_beb_per1024); max_beb_per1024 1406 drivers/mtd/ubi/build.c int err = kstrtoint(token, 10, &p->max_beb_per1024); max_beb_per1024 1044 drivers/mtd/ubi/cdev.c req.max_beb_per1024); max_beb_per1024 940 drivers/mtd/ubi/ubi.h int vid_hdr_offset, int max_beb_per1024); max_beb_per1024 289 include/uapi/mtd/ubi-user.h __s16 max_beb_per1024;