Home
last modified time | relevance | path

Searched refs:wl_threshold (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/mtd/ubi/
H A Dbuild.c68 int wl_threshold; member
855 bool need_resv_pool, int wl_threshold) in ubi_attach_mtd_dev() argument
866 if (!wl_threshold) in ubi_attach_mtd_dev()
867 wl_threshold = CONFIG_MTD_UBI_WL_THRESHOLD; in ubi_attach_mtd_dev()
869 if (wl_threshold < 2 || wl_threshold > 65536) { in ubi_attach_mtd_dev()
871 wl_threshold); in ubi_attach_mtd_dev()
960 ubi->wl_threshold = wl_threshold; in ubi_attach_mtd_dev()
961 ubi->wl_free_max_diff = wl_threshold * 2; in ubi_attach_mtd_dev()
1062 ubi->max_ec, ubi->mean_ec, ubi->wl_threshold, in ubi_attach_mtd_dev()
1309 p->wl_threshold); in ubi_init_attach()
[all …]
H A Dubi.h642 int wl_threshold; member
960 int wl_threshold);
H A Dwl.c690 (ubi->fm_anchor->ec - e1->ec >= ubi->wl_threshold)) {
727 if (!(e2->ec - e1->ec >= ubi->wl_threshold)) {
1045 if (!(e2->ec - e1->ec >= ubi->wl_threshold))
H A Dfastmap-wl.c406 return ec - e->ec >= ubi->wl_threshold; in need_wear_leveling()
H A Dcdev.c1115 !!req.need_resv_pool, req.wl_threshold); in ctrl_cdev_ioctl()
/linux/include/uapi/mtd/
H A Dubi-user.h307 __s32 wl_threshold; member