HomeSort by relevance Sort by last modified time
    Searched refs:avail_pebs (Results 1 - 8 of 8) sorted by null

  /external/u-boot/drivers/mtd/ubi/
misc.c 97 if (need <= 0 || ubi->avail_pebs == 0)
100 need = min_t(int, need, ubi->avail_pebs);
101 ubi->avail_pebs -= need;
vmt.c 210 if (vol->reserved_pebs > ubi->avail_pebs) {
212 ubi->avail_pebs);
219 ubi->avail_pebs -= vol->reserved_pebs;
333 ubi->avail_pebs += vol->reserved_pebs;
396 ubi->avail_pebs += reserved_pebs;
469 if (pebs > ubi->avail_pebs) {
471 pebs, ubi->avail_pebs);
479 ubi->avail_pebs -= pebs;
503 ubi->avail_pebs -= pebs;
528 ubi->avail_pebs += pebs
    [all...]
vtbl.c 643 if (reserved_pebs > ubi->avail_pebs) {
645 reserved_pebs, ubi->avail_pebs);
651 ubi->avail_pebs -= reserved_pebs;
822 ubi->avail_pebs = ubi->good_peb_count - ubi->corr_peb_count;
wl.c 1134 if (ubi->avail_pebs == 0) {
1139 ubi->avail_pebs -= 1;
    [all...]
eba.c     [all...]
build.c 394 ret = sprintf(buf, "%d\n", ubi->avail_pebs);
834 if (ubi->avail_pebs == 0) {
849 old_reserved_pebs + ubi->avail_pebs);
1051 ubi->avail_pebs, ubi->rsvd_pebs, ubi->beb_rsvd_pebs);
    [all...]
ubi.h 422 * @volumes_lock: protects @volumes, @rsvd_pebs, @avail_pebs, beb_rsvd_pebs,
431 * @avail_pebs: count of available physical eraseblocks
541 int avail_pebs; member in struct:ubi_device
    [all...]
  /external/u-boot/cmd/
ubi.c 83 ubi_msg("available PEBs: %d", ubi->avail_pebs);
244 ubi->avail_pebs += reserved_pebs;
247 i = ubi->avail_pebs >= i ? i : ubi->avail_pebs;
248 ubi->avail_pebs -= i;
614 size = (int64_t)ubi->avail_pebs * ubi->leb_size;

Completed in 195 milliseconds