Searched defs:pebs (Results 1 - 5 of 5) sorted by relevance

/drivers/mtd/ubi/
H A Dcdev.c909 int pebs; local
929 pebs = div_u64(req.bytes + desc->vol->usable_leb_size - 1,
933 err = ubi_resize_volume(desc, pebs);
H A Dvmt.c476 int i, err, pebs, *new_mapping; local
515 pebs = reserved_pebs - vol->reserved_pebs;
516 if (pebs > 0) {
518 if (pebs > ubi->avail_pebs) {
520 pebs, ubi->avail_pebs);
528 ubi->avail_pebs -= pebs;
529 ubi->rsvd_pebs += pebs;
544 if (pebs < 0) {
545 for (i = 0; i < -pebs; i++) {
551 ubi->rsvd_pebs += pebs;
[all...]
H A Dfastmap.c376 * @pebs: an array of all PEB numbers in the to be scanned pool
377 * @pool_size: size of the pool (number of entries in @pebs)
386 int *pebs, int pool_size, unsigned long long *max_sqnum,
414 pnum = be32_to_cpu(pebs[i]);
815 ret = scan_pool(ubi, ai, fmpl1->pebs, pool_size, &max_sqnum,
820 ret = scan_pool(ubi, ai, fmpl2->pebs, wl_pool_size, &max_sqnum,
1164 fmpl1->pebs[i] = cpu_to_be32(ubi->fm_pool.pebs[i]);
1173 fmpl2->pebs[i] = cpu_to_be32(ubi->fm_wl_pool.pebs[
385 scan_pool(struct ubi_device *ubi, struct ubi_attach_info *ai, int *pebs, int pool_size, unsigned long long *max_sqnum, struct list_head *eba_orphans, struct list_head *free) argument
[all...]
H A Dubi-media.h459 * @pebs: an array containing the location of all PEBs in this pool
465 __be32 pebs[UBI_FM_MAX_POOL_SIZE]; member in struct:ubi_fm_scan_pool
H A Dubi.h236 * @pebs: PEBs in this pool
247 int pebs[UBI_FM_MAX_POOL_SIZE]; member in struct:ubi_fm_pool

Completed in 76 milliseconds