Searched refs:reserved_pebs (Results 1 – 14 of 14) sorted by relevance
/u-boot/drivers/mtd/ubi/ |
A D | vmt.c | 295 vtbl_rec.reserved_pebs = cpu_to_be32(vol->reserved_pebs); in ubi_create_volume() 367 int i, err, vol_id = vol->vol_id, reserved_pebs = vol->reserved_pebs; in ubi_remove_volume() local 404 ubi->rsvd_pebs -= reserved_pebs; in ubi_remove_volume() 446 ubi->ubi_num, vol_id, vol->reserved_pebs, reserved_pebs); in ubi_resize_volume() 456 if (reserved_pebs == vol->reserved_pebs) in ubi_resize_volume() 475 pebs = reserved_pebs - vol->reserved_pebs; in ubi_resize_volume() 499 vtbl_rec.reserved_pebs = cpu_to_be32(reserved_pebs); in ubi_resize_volume() 521 vol->reserved_pebs = reserved_pebs; in ubi_resize_volume() 523 vol->used_ebs = reserved_pebs; in ubi_resize_volume() 664 reserved_pebs = be32_to_cpu(ubi->vtbl[vol_id].reserved_pebs); in self_check_volume() [all …]
|
A D | vtbl.c | 178 reserved_pebs = be32_to_cpu(vtbl[i].reserved_pebs); 194 if (reserved_pebs == 0) { 535 int i, reserved_pebs = 0; local 549 vol->reserved_pebs = be32_to_cpu(vtbl[i].reserved_pebs); 580 reserved_pebs += vol->reserved_pebs; 637 vol->used_ebs = vol->reserved_pebs; 646 reserved_pebs += vol->reserved_pebs; 652 reserved_pebs, ubi->avail_pebs); 657 ubi->rsvd_pebs += reserved_pebs; 658 ubi->avail_pebs -= reserved_pebs; [all …]
|
A D | kapi.c | 80 vi->size = vol->reserved_pebs; in ubi_do_get_volume_info() 536 if (lnum < 0 || lnum >= vol->reserved_pebs || offset < 0 || len < 0 || in ubi_leb_write() 581 if (lnum < 0 || lnum >= vol->reserved_pebs || len < 0 || in ubi_leb_change() 618 if (lnum < 0 || lnum >= vol->reserved_pebs) in ubi_leb_erase() 678 if (lnum < 0 || lnum >= vol->reserved_pebs) in ubi_leb_unmap() 714 if (lnum < 0 || lnum >= vol->reserved_pebs) in ubi_leb_map() 749 if (lnum < 0 || lnum >= vol->reserved_pebs) in ubi_is_mapped()
|
A D | ubi-media.h | 359 __be32 reserved_pebs; member 507 __be32 reserved_pebs; member
|
A D | eba.c | 1320 scan_eba[i] = kmalloc(vol->reserved_pebs * sizeof(**scan_eba), in self_check_eba() 1327 fm_eba[i] = kmalloc(vol->reserved_pebs * sizeof(**fm_eba), in self_check_eba() 1334 for (j = 0; j < vol->reserved_pebs; j++) in self_check_eba() 1351 for (j = 0; j < vol->reserved_pebs; j++) { in self_check_eba() 1411 vol->eba_tbl = kmalloc(vol->reserved_pebs * sizeof(int), in ubi_eba_init() 1418 for (j = 0; j < vol->reserved_pebs; j++) in ubi_eba_init() 1426 if (aeb->lnum >= vol->reserved_pebs) in ubi_eba_init()
|
A D | wl.c | 1531 int err, i, reserved_pebs, found_pebs = 0; local 1633 reserved_pebs = WL_RESERVED_PEBS; 1634 ubi_fastmap_init(ubi, &reserved_pebs); 1636 if (ubi->avail_pebs < reserved_pebs) { 1638 ubi->avail_pebs, reserved_pebs); 1644 ubi->avail_pebs -= reserved_pebs; 1645 ubi->rsvd_pebs += reserved_pebs;
|
A D | debug.c | 103 printf("\treserved_pebs %d\n", vol->reserved_pebs); in ubi_dump_vol_info() 136 pr_err("\treserved_pebs %d\n", be32_to_cpu(r->reserved_pebs)); in ubi_dump_vtbl_record()
|
A D | ubi.h | 325 int reserved_pebs; member 809 int ubi_resize_volume(struct ubi_volume_desc *desc, int reserved_pebs);
|
A D | fastmap.c | 777 fm_pos += (sizeof(__be32) * be32_to_cpu(fm_eba->reserved_pebs)); in ubi_attach_fastmap() 787 for (j = 0; j < be32_to_cpu(fm_eba->reserved_pebs); j++) { in ubi_attach_fastmap() 1286 fm_pos += sizeof(*feba) + (sizeof(__be32) * vol->reserved_pebs); in ubi_write_fastmap() 1289 for (j = 0; j < vol->reserved_pebs; j++) in ubi_write_fastmap() 1292 feba->reserved_pebs = cpu_to_be32(j); in ubi_write_fastmap()
|
A D | upd.c | 140 for (i = 0; i < vol->reserved_pebs; i++) { in ubi_start_update()
|
A D | build.c | 822 int err, old_reserved_pebs = vol->reserved_pebs; in autoresize() 861 vol_id, vol->name, old_reserved_pebs, vol->reserved_pebs); in autoresize()
|
/u-boot/cmd/ |
A D | ubi.c | 202 int err, reserved_pebs, i; in ubi_remove_vol() local 222 reserved_pebs = vol->reserved_pebs; in ubi_remove_vol() 223 for (i = 0; i < vol->reserved_pebs; i++) { in ubi_remove_vol() 233 ubi->rsvd_pebs -= reserved_pebs; in ubi_remove_vol() 234 ubi->avail_pebs += reserved_pebs; in ubi_remove_vol() 338 rsvd_bytes = vol->reserved_pebs * (ubi->leb_size - vol->data_pad); in ubi_volume_begin_write()
|
/u-boot/drivers/mtd/ubispl/ |
A D | ubispl.c | 64 ubi_dbg("\treserved_pebs %d", be32_to_cpu(r->reserved_pebs)); in ubi_dump_vtbl_record() 101 int i, n, reserved_pebs, alignment, data_pad, vol_type, name_len; in vtbl_check() local 107 reserved_pebs = be32_to_cpu(vtbl[i].reserved_pebs); in vtbl_check() 123 if (reserved_pebs == 0) { in vtbl_check() 132 if (reserved_pebs < 0 || alignment < 0 || data_pad < 0 || in vtbl_check() 608 fm_pos += (sizeof(__be32) * be32_to_cpu(fm_eba->reserved_pebs)); in ubi_attach_fastmap() 619 reserved = be32_to_cpu(fm_eba->reserved_pebs); in ubi_attach_fastmap()
|
/u-boot/doc/ |
A D | README.ubi | 93 UBI: reserved_pebs 4 108 UBI: reserved_pebs 2
|
Completed in 36 milliseconds