Home
last modified time | relevance | path

Searched refs:ubi_err (Results 1 – 14 of 14) sorted by relevance

/linux-5.19.10/drivers/mtd/ubi/
Dio.c180 ubi_err(ubi, "error %d%s while reading %d bytes from PEB %d:%d, read %zd bytes", in ubi_io_read()
237 ubi_err(ubi, "read-only mode"); in ubi_io_write()
264 ubi_err(ubi, "cannot write %d bytes to PEB %d:%d (emulated)", in ubi_io_write()
273 ubi_err(ubi, "error %d while writing %d bytes to PEB %d:%d, written %zd bytes", in ubi_io_write()
316 ubi_err(ubi, "read-only mode"); in do_sync_erase()
334 ubi_err(ubi, "cannot erase PEB %d, error %d", pnum, err); in do_sync_erase()
344 ubi_err(ubi, "cannot erase PEB %d (emulated)", pnum); in do_sync_erase()
384 ubi_err(ubi, "erased PEB %d, but a non-0xFF byte found", in torture_peb()
404 ubi_err(ubi, "pattern %x checking failed for PEB %d", in torture_peb()
422 ubi_err(ubi, "read problems on freshly erased PEB %d, must be bad", in torture_peb()
[all …]
Dvmt.c172 ubi_err(ubi, "out of volume IDs"); in ubi_create_volume()
186 ubi_err(ubi, "volume %d already exists", vol_id); in ubi_create_volume()
195 ubi_err(ubi, "volume \"%s\" exists (ID %d)", in ubi_create_volume()
207 ubi_err(ubi, "not enough PEBs, only %d available", in ubi_create_volume()
210 ubi_err(ubi, "%d PEBs are corrupted and not used", in ubi_create_volume()
272 ubi_err(ubi, "cannot add device"); in ubi_create_volume()
319 ubi_err(ubi, "cannot create volume %d, error %d", vol_id, err); in ubi_create_volume()
387 ubi_err(ubi, "cannot remove volume %d, error %d", vol_id, err); in ubi_remove_volume()
421 ubi_err(ubi, "too small size %d, %d LEBs contain data", in ubi_resize_volume()
447 ubi_err(ubi, "not enough PEBs: requested %d, available %d", in ubi_resize_volume()
[all …]
Dattach.c349 ubi_err(ubi, "inconsistent vol_id"); in validate_vid_hdr()
359 ubi_err(ubi, "inconsistent vol_type"); in validate_vid_hdr()
364 ubi_err(ubi, "inconsistent used_ebs"); in validate_vid_hdr()
369 ubi_err(ubi, "inconsistent data_pad"); in validate_vid_hdr()
377 ubi_err(ubi, "inconsistent VID header at PEB %d", pnum); in validate_vid_hdr()
455 ubi_err(ubi, "unsupported on-flash UBI format"); in ubi_compare_lebs()
496 ubi_err(ubi, "VID of PEB %d header is bad, but it was OK earlier, err %d", in ubi_compare_lebs()
626 ubi_err(ubi, "two LEBs with same sequence number %llu", in ubi_add_to_av()
782 ubi_err(ubi, "erase counter overflow at PEB %d, EC %d", in early_erase_peb()
851 ubi_err(ubi, "no free eraseblocks"); in ubi_early_get_peb()
[all …]
Dfastmap.c68 ubi_err(ubi, "self-check failed for PEB %d, fastmap didn't see it", pnum); in self_check_seen()
352 ubi_err(ubi, "orphaned volume in fastmap pool!"); in process_pool_aeb()
435 ubi_err(ubi, "bad PEB in fastmap pool!"); in scan_pool()
442 ubi_err(ubi, "unable to read EC header! PEB:%i err:%i", in scan_pool()
456 ubi_err(ubi, "bad image seq: 0x%x, expected: 0x%x", in scan_pool()
502 ubi_err(ubi, "fastmap pool PEBs contains damaged PEBs!"); in scan_pool()
582 ubi_err(ubi, "bad fastmap header magic: 0x%x, expected: 0x%x", in ubi_attach_fastmap()
592 ubi_err(ubi, "bad fastmap pool magic: 0x%x, expected: 0x%x", in ubi_attach_fastmap()
602 ubi_err(ubi, "bad fastmap WL pool magic: 0x%x, expected: 0x%x", in ubi_attach_fastmap()
613 ubi_err(ubi, "bad pool size: %i", pool_size); in ubi_attach_fastmap()
[all …]
Dvtbl.c178 ubi_err(ubi, "bad CRC at record %u: %#08x, not %#08x", in vtbl_check()
212 ubi_err(ubi, "bad data_pad, has to be %d", n); in vtbl_check()
228 ubi_err(ubi, "too large reserved_pebs %d, good PEBs %d", in vtbl_check()
258 ubi_err(ubi, "volumes %d and %d have the same name \"%s\"", in vtbl_check()
270 ubi_err(ubi, "volume table check failed: record %d, error %d", i, err); in vtbl_check()
456 ubi_err(ubi, "both volume tables are corrupted"); in process_lvol()
556 ubi_err(ubi, "more than one auto-resize volume (%d and %d)", in init_volumes()
653 ubi_err(ubi, "not enough PEBs, required %d, available %d", in init_volumes()
656 ubi_err(ubi, "%d PEBs are corrupted and not used", in init_volumes()
702 ubi_err(vol->ubi, "bad attaching information, error %d", err); in check_av()
[all …]
Dwl.c222 ubi_err(ubi, "work failed with error code %d", err); in do_work()
388 ubi_err(ubi, "no free eraseblocks"); in wl_get_wle()
465 ubi_err(ubi, "erase counter overflow at PEB %d, EC %llu", in sync_erase()
814 ubi_err(ubi, "error %d while reading VID header from PEB %d",
861 ubi_err(ubi, "too many erroneous eraseblocks (%d)",
968 ubi_err(ubi, "error %d while moving PEB %d to PEB %d",
971 ubi_err(ubi, "error %d while moving PEB %d (LEB %d:%d) to PEB %d",
1124 ubi_err(ubi, "failed to erase PEB %d, error %d", pnum, err);
1152 ubi_err(ubi, "bad physical eraseblock %d detected", pnum);
1160 ubi_err(ubi, "no reserved/available physical eraseblocks");
[all …]
Dbuild.c450 ubi_err(ubi, "cannot register UBI character devices"); in uif_init()
470 ubi_err(ubi, "cannot add volume %d", i); in uif_init()
482 ubi_err(ubi, "cannot initialize UBI %s, error %d", in uif_init()
607 ubi_err(ubi, "multiple regions, not implemented"); in io_init()
640 ubi_err(ubi, "min. I/O unit (%d) is not power of 2", in io_init()
657 ubi_err(ubi, "bad write buffer size %d for %d min. I/O unit", in io_init()
694 ubi_err(ubi, "unaligned VID header shift %d", in io_init()
704 ubi_err(ubi, "bad VID header (%d) or data offsets (%d)", in io_init()
785 ubi_err(ubi, "cannot clean auto-resize flag for volume %d", in autoresize()
792 ubi_err(ubi, "cannot auto-resize volume %d", in autoresize()
[all …]
Dcdev.c53 ubi_err(vol->ubi, "%d users for volume %d", users, vol->vol_id); in get_exclusive()
150 ubi_err(vol->ubi, "updating"); in vol_cdev_llseek()
185 ubi_err(vol->ubi, "updating"); in vol_cdev_read()
189 ubi_err(vol->ubi, "damaged volume, update marker is set"); in vol_cdev_read()
269 ubi_err(ubi, "unaligned position"); in vol_cdev_direct_write()
278 ubi_err(ubi, "unaligned write length"); in vol_cdev_direct_write()
340 ubi_err(ubi, "cannot accept more %zd bytes of data, error %d", in vol_cdev_write()
645 ubi_err(ubi, "bad volume creation request"); in verify_mkvol_req()
711 ubi_err(ubi, "duplicated volume id %d", in rename_volumes()
716 ubi_err(ubi, "duplicated volume name \"%s\"", in rename_volumes()
[all …]
Dmisc.c178 void ubi_err(const struct ubi_device *ubi, const char *fmt, ...) in ubi_err() function
Deba.c538 ubi_err(ubi, "unable to read VID header back from PEB %i: %i", in check_mapping()
552 ubi_err(ubi, "EBA mismatch! PEB %i is LEB %i:%i instead of LEB %i:%i", in check_mapping()
1580 ubi_err(ubi, "LEB:%i:%i is PEB:%i instead of %i!", in self_check_eba()
1665 ubi_err(ubi, "no enough physical eraseblocks (%d, need %d)", in ubi_eba_init()
1668 ubi_err(ubi, "%d PEBs are corrupted and not used", in ubi_eba_init()
Dfastmap-wl.c257 ubi_err(ubi, "Unable to get a free PEB from user WL pool"); in ubi_wl_get_peb()
Ddebug.c34 ubi_err(ubi, "err %d while reading %d bytes from PEB %d:%d, read %zd bytes", in ubi_dump_flash()
Dkapi.c217 ubi_err(ubi, "cannot open device %d, volume %d, error %d", in ubi_open_volume()
Dubi.h51 void ubi_err(const struct ubi_device *ubi, const char *fmt, ...);