avail_pebs 360 drivers/mtd/ubi/build.c ret = sprintf(buf, "%d\n", ubi->avail_pebs); avail_pebs 759 drivers/mtd/ubi/build.c if (ubi->avail_pebs == 0) { avail_pebs 774 drivers/mtd/ubi/build.c old_reserved_pebs + ubi->avail_pebs); avail_pebs 995 drivers/mtd/ubi/build.c ubi->avail_pebs, ubi->rsvd_pebs, ubi->beb_rsvd_pebs); avail_pebs 1664 drivers/mtd/ubi/eba.c if (ubi->avail_pebs < EBA_RESERVED_PEBS) { avail_pebs 1666 drivers/mtd/ubi/eba.c ubi->avail_pebs, EBA_RESERVED_PEBS); avail_pebs 1673 drivers/mtd/ubi/eba.c ubi->avail_pebs -= EBA_RESERVED_PEBS; avail_pebs 1679 drivers/mtd/ubi/eba.c if (ubi->avail_pebs < ubi->beb_rsvd_level) { avail_pebs 1681 drivers/mtd/ubi/eba.c ubi->beb_rsvd_pebs = ubi->avail_pebs; avail_pebs 1686 drivers/mtd/ubi/eba.c ubi->avail_pebs -= ubi->beb_rsvd_pebs; avail_pebs 96 drivers/mtd/ubi/misc.c if (need <= 0 || ubi->avail_pebs == 0) avail_pebs 99 drivers/mtd/ubi/misc.c need = min_t(int, need, ubi->avail_pebs); avail_pebs 100 drivers/mtd/ubi/misc.c ubi->avail_pebs -= need; avail_pebs 569 drivers/mtd/ubi/ubi.h int avail_pebs; avail_pebs 212 drivers/mtd/ubi/vmt.c if (vol->reserved_pebs > ubi->avail_pebs) { avail_pebs 214 drivers/mtd/ubi/vmt.c ubi->avail_pebs); avail_pebs 221 drivers/mtd/ubi/vmt.c ubi->avail_pebs -= vol->reserved_pebs; avail_pebs 322 drivers/mtd/ubi/vmt.c ubi->avail_pebs += vol->reserved_pebs; avail_pebs 382 drivers/mtd/ubi/vmt.c ubi->avail_pebs += reserved_pebs; avail_pebs 453 drivers/mtd/ubi/vmt.c if (pebs > ubi->avail_pebs) { avail_pebs 455 drivers/mtd/ubi/vmt.c pebs, ubi->avail_pebs); avail_pebs 463 drivers/mtd/ubi/vmt.c ubi->avail_pebs -= pebs; avail_pebs 478 drivers/mtd/ubi/vmt.c ubi->avail_pebs -= pebs; avail_pebs 519 drivers/mtd/ubi/vmt.c ubi->avail_pebs += pebs; avail_pebs 652 drivers/mtd/ubi/vtbl.c if (reserved_pebs > ubi->avail_pebs) { avail_pebs 654 drivers/mtd/ubi/vtbl.c reserved_pebs, ubi->avail_pebs); avail_pebs 661 drivers/mtd/ubi/vtbl.c ubi->avail_pebs -= reserved_pebs; avail_pebs 832 drivers/mtd/ubi/vtbl.c ubi->avail_pebs = ubi->good_peb_count - ubi->corr_peb_count; avail_pebs 1145 drivers/mtd/ubi/wl.c if (ubi->avail_pebs == 0) { avail_pebs 1150 drivers/mtd/ubi/wl.c ubi->avail_pebs -= 1; avail_pebs 1167 drivers/mtd/ubi/wl.c ubi->avail_pebs += 1; avail_pebs 1189 drivers/mtd/ubi/wl.c ubi->avail_pebs += 1; avail_pebs 1868 drivers/mtd/ubi/wl.c if (ubi->avail_pebs < reserved_pebs) { avail_pebs 1870 drivers/mtd/ubi/wl.c ubi->avail_pebs, reserved_pebs); avail_pebs 1877 drivers/mtd/ubi/wl.c ubi->avail_pebs -= reserved_pebs;