[go: nahoru, domu]

Searched refs:avail_pebs (Results 1 - 7 of 7) sorted by relevance

/drivers/mtd/ubi/
H A Dmisc.c107 if (need <= 0 || ubi->avail_pebs == 0)
110 need = min_t(int, need, ubi->avail_pebs);
111 ubi->avail_pebs -= need;
H A Dvmt.c259 if (vol->reserved_pebs > ubi->avail_pebs) {
260 ubi_err("not enough PEBs, only %d available", ubi->avail_pebs);
267 ubi->avail_pebs -= vol->reserved_pebs;
382 ubi->avail_pebs += vol->reserved_pebs;
445 ubi->avail_pebs += reserved_pebs;
518 if (pebs > ubi->avail_pebs) {
520 pebs, ubi->avail_pebs);
528 ubi->avail_pebs -= pebs;
552 ubi->avail_pebs -= pebs;
577 ubi->avail_pebs
[all...]
H A Dvtbl.c648 if (reserved_pebs > ubi->avail_pebs) {
650 reserved_pebs, ubi->avail_pebs);
656 ubi->avail_pebs -= reserved_pebs;
826 ubi->avail_pebs = ubi->good_peb_count - ubi->corr_peb_count;
H A Deba.c1368 if (ubi->avail_pebs < EBA_RESERVED_PEBS) {
1370 ubi->avail_pebs, EBA_RESERVED_PEBS);
1377 ubi->avail_pebs -= EBA_RESERVED_PEBS;
1383 if (ubi->avail_pebs < ubi->beb_rsvd_level) {
1385 ubi->beb_rsvd_pebs = ubi->avail_pebs;
1390 ubi->avail_pebs -= ubi->beb_rsvd_pebs;
H A Dbuild.c362 ret = sprintf(buf, "%d\n", ubi->avail_pebs);
823 if (ubi->avail_pebs == 0) {
838 old_reserved_pebs + ubi->avail_pebs);
1035 ubi->avail_pebs, ubi->rsvd_pebs, ubi->beb_rsvd_pebs);
H A Dwl.c1495 if (ubi->avail_pebs == 0) {
1500 ubi->avail_pebs -= 1;
1517 ubi->avail_pebs += 1;
1538 ubi->avail_pebs += 1;
1983 if (ubi->avail_pebs < reserved_pebs) {
1985 ubi->avail_pebs, reserved_pebs);
1991 ubi->avail_pebs -= reserved_pebs;
H A Dubi.h389 * @volumes_lock: protects @volumes, @rsvd_pebs, @avail_pebs, beb_rsvd_pebs,
397 * @avail_pebs: count of available physical eraseblocks
504 int avail_pebs; member in struct:ubi_device

Completed in 155 milliseconds