Home
last modified time | relevance | path

Searched refs:ubi_warn (Results 1 – 24 of 24) sorted by relevance

/OK3568_Linux_fs/u-boot/drivers/mtd/ubi/
H A Deba.c418 ubi_warn(ubi, "corrupted VID header at PEB %d, LEB %d:%d", in ubi_eba_read_leb()
457 ubi_warn(ubi, "CRC error: calculated %#08x, must be %#08x", in ubi_eba_read_leb()
631 ubi_warn(ubi, "failed to write to PEB %d", new_pnum); in recover_peb()
675 ubi_warn(ubi, "failed to write data to PEB %d", pnum); in ubi_eba_write_leb()
717 ubi_warn(ubi, "failed to write VID header to LEB %d:%d, PEB %d", in ubi_eba_write_leb()
726 ubi_warn(ubi, "failed to write %d bytes at offset %d of LEB %d:%d, PEB %d", in ubi_eba_write_leb()
840 ubi_warn(ubi, "failed to write VID header to LEB %d:%d, PEB %d", in ubi_eba_write_leb_st()
848 ubi_warn(ubi, "failed to write %d bytes of data to PEB %d", in ubi_eba_write_leb_st()
960 ubi_warn(ubi, "failed to write VID header to LEB %d:%d, PEB %d", in ubi_eba_atomic_leb_change()
968 ubi_warn(ubi, "failed to write %d bytes of data to PEB %d", in ubi_eba_atomic_leb_change()
[all …]
H A Dio.c180 ubi_warn(ubi, "error %d%s while reading %d bytes from PEB %d:%d, read only %zd bytes, retry", in ubi_io_read()
352 ubi_warn(ubi, "error %d while erasing PEB %d, retry", in do_sync_erase()
371 ubi_warn(ubi, "error while erasing PEB %d, retry", in do_sync_erase()
763 ubi_warn(ubi, "no EC header found at PEB %d, only 0xFF bytes", in ubi_io_read_ec_hdr()
778 ubi_warn(ubi, "bad magic number at PEB %d: %08x instead of %08x", in ubi_io_read_ec_hdr()
792 ubi_warn(ubi, "bad EC header CRC at PEB %d, calculated %#08x, read %#08x", in ubi_io_read_ec_hdr()
1021 ubi_warn(ubi, "no VID header found at PEB %d, only 0xFF bytes", in ubi_io_read_vid_hdr()
1032 ubi_warn(ubi, "bad magic number at PEB %d: %08x instead of %08x", in ubi_io_read_vid_hdr()
1046 ubi_warn(ubi, "bad CRC at PEB %d, calculated %#08x, read %#08x", in ubi_io_read_vid_hdr()
H A Dmisc.c122ubi_warn(ubi, "number of bad PEBs (%d) is above the expected limit (%d), not reserving any PEBs fo… in ubi_calculate_reserved()
H A Dkapi.c209 ubi_warn(ubi, "volume %d on UBI device %d is corrupted", in ubi_open_volume()
447 ubi_warn(ubi, "mark volume %d as corrupted", vol_id); in ubi_leb_read()
487 ubi_warn(ubi, "mark volume %d as corrupted", vol_id); in ubi_leb_read_sg()
H A Dvtbl.c445 ubi_warn(ubi, "volume table copy #2 is corrupted");
468 ubi_warn(ubi, "volume table copy #1 is corrupted");
607 ubi_warn(ubi, "static volume %d misses %d LEBs - corrupted",
H A Dubi.h53 #define ubi_warn(ubi, fmt, ...) pr_warn(UBI_NAME_STR "%d warning: %s: " fmt "\n", \ macro
1090 ubi_warn(ubi, "switch to read-only mode"); in ubi_ro_mode()
H A Dbuild.c784 ubi_warn(ubi, "EC and VID headers are in the same minimal I/O unit, switch to read-only mode"); in io_init()
824 ubi_warn(ubi, "skip auto-resize because of R/O mode"); in autoresize()
H A Dwl.c1166 ubi_warn(ubi, "no PEBs in the reserved pool, used an available PEB");
1171 ubi_warn(ubi, "last PEB from the reserve was used");
H A Dattach.c1034 ubi_warn(ubi, "valid VID header but corrupted EC header at PEB %d", in scan_peb()
H A Dfastmap.c1640 ubi_warn(ubi, "Unable to write new fastmap, err=%i", ret); in ubi_update_fastmap()
/OK3568_Linux_fs/u-boot/drivers/mtd/ubispl/
H A Dubispl.c135 ubi_warn("Vol: %u LEB %d > %d", vol_id, lnum, UBI_MAX_VOL_LEBS); in ubi_add_peb_to_vol()
731 ubi_warn("LEB %d of %d is missing", lnum, last); in ubi_load_block()
740 ubi_warn("Corrupted mapping block %d PB %d\n", lnum, pnum); in ubi_load_block()
753 ubi_warn("Vol: %u LEB %u PEB %u not yet scanned", vol_id, in ubi_load_block()
786 ubi_warn("Vol: %u LEB %u PEB %u data CRC failure", vol_id, in ubi_load_block()
812 ubi_warn("Vol: %u LEB %u PEB %u not yet scanned", in ubi_load_block()
863 ubi_warn("Failed to load volume %u", vol_id); in ipl_load()
921 ubi_warn("Failed"); in ubispl_load_volumes()
H A Dubispl.h132 #define ubi_warn(fmt, ...) printf("UBI warning: " fmt "\n", ##__VA_ARGS__) macro
/OK3568_Linux_fs/kernel/drivers/mtd/ubi/
H A Dio.c174 ubi_warn(ubi, "error %d%s while reading %d bytes from PEB %d:%d, read only %zd bytes, retry", in ubi_io_read()
329 ubi_warn(ubi, "error %d while erasing PEB %d, retry", in do_sync_erase()
725 ubi_warn(ubi, "no EC header found at PEB %d, only 0xFF bytes", in ubi_io_read_ec_hdr()
740 ubi_warn(ubi, "bad magic number at PEB %d: %08x instead of %08x", in ubi_io_read_ec_hdr()
754 ubi_warn(ubi, "bad EC header CRC at PEB %d, calculated %#08x, read %#08x", in ubi_io_read_ec_hdr()
987 ubi_warn(ubi, "no VID header found at PEB %d, only 0xFF bytes", in ubi_io_read_vid_hdr()
998 ubi_warn(ubi, "bad magic number at PEB %d: %08x instead of %08x", in ubi_io_read_vid_hdr()
1012 ubi_warn(ubi, "bad CRC at PEB %d, calculated %#08x, read %#08x", in ubi_io_read_vid_hdr()
H A Deba.c658 ubi_warn(ubi, "corrupted VID header at PEB %d, LEB %d:%d", in ubi_eba_read_leb()
714 ubi_warn(ubi, "CRC error: calculated %#08x, must be %#08x", in ubi_eba_read_leb()
881 ubi_warn(ubi, "failed to write to PEB %d", new_pnum); in try_recover_peb()
965 ubi_warn(ubi, "failed to write VID header to LEB %d:%d, PEB %d", in try_write_vid_and_data()
973 ubi_warn(ubi, in try_write_vid_and_data()
1035 ubi_warn(ubi, "failed to write data to PEB %d", pnum); in ubi_eba_write_leb()
1383 ubi_warn(ubi, "error %d while reading data from PEB %d", in ubi_eba_copy_leb()
1433 ubi_warn(ubi, "error %d while reading VID header back from PEB %d", in ubi_eba_copy_leb()
1497 ubi_warn(ubi, "cannot reserve enough PEBs for bad PEB handling, reserved %d, need %d", in print_rsvd_warning()
1500 ubi_warn(ubi, "%d PEBs are corrupted and not used", in print_rsvd_warning()
H A Dmisc.c120ubi_warn(ubi, "number of bad PEBs (%d) is above the expected limit (%d), not reserving any PEBs fo… in ubi_calculate_reserved()
161 void ubi_warn(const struct ubi_device *ubi, const char *fmt, ...) in ubi_warn() function
H A Dkapi.c201 ubi_warn(ubi, "volume %d on UBI device %d is corrupted", in ubi_open_volume()
440 ubi_warn(ubi, "mark volume %d as corrupted", vol_id); in ubi_leb_read()
480 ubi_warn(ubi, "mark volume %d as corrupted", vol_id); in ubi_leb_read_sg()
H A Dvtbl.c437 ubi_warn(ubi, "volume table copy #2 is corrupted"); in process_lvol()
460 ubi_warn(ubi, "volume table copy #1 is corrupted"); in process_lvol()
612 ubi_warn(ubi, "static volume %d misses %d LEBs - corrupted", in init_volumes()
H A Dubi.h47 void ubi_warn(const struct ubi_device *ubi, const char *fmt, ...);
1160 ubi_warn(ubi, "switch to read-only mode"); in ubi_ro_mode()
H A Dcdev.c126 ubi_warn(vol->ubi, "update of volume %d not finished, volume is damaged", in vol_cdev_release()
366 ubi_warn(ubi, "volume %d on UBI device %d is corrupted", in vol_cdev_write()
H A Dbuild.c725 ubi_warn(ubi, "EC and VID headers are in the same minimal I/O unit, switch to read-only mode"); in io_init()
765 ubi_warn(ubi, "skip auto-resize because of R/O mode"); in autoresize()
H A Dwl.c1180 ubi_warn(ubi, "no PEBs in the reserved pool, used an available PEB");
1185 ubi_warn(ubi, "last PEB from the reserve was used");
H A Dattach.c1172 ubi_warn(ubi, "valid VID header but corrupted EC header at PEB %d", in scan_peb()
H A Dfastmap.c1685 ubi_warn(ubi, "Unable to write new fastmap, err=%i", ret); in ubi_update_fastmap()
/OK3568_Linux_fs/u-boot/cmd/
H A Dubi.c287 ubi_warn(ubi, "volume %d on UBI device %d is corrupt", in ubi_volume_continue_write()