Home
last modified time | relevance | path

Searched refs:ubi_msg (Results 1 – 25 of 25) sorted by relevance

/OK3568_Linux_fs/u-boot/cmd/
H A Dubi.c27 #undef ubi_msg
28 #define ubi_msg(fmt, ...) printf("UBI: " fmt "\n", ##__VA_ARGS__) macro
67 ubi_msg("MTD device name: \"%s\"", ubi->mtd->name); in display_ubi_info()
68 ubi_msg("MTD device size: %llu MiB", ubi->flash_size >> 20); in display_ubi_info()
69 ubi_msg("physical eraseblock size: %d bytes (%d KiB)", in display_ubi_info()
71 ubi_msg("logical eraseblock size: %d bytes", ubi->leb_size); in display_ubi_info()
72 ubi_msg("number of good PEBs: %d", ubi->good_peb_count); in display_ubi_info()
73 ubi_msg("number of bad PEBs: %d", ubi->bad_peb_count); in display_ubi_info()
74 ubi_msg("smallest flash I/O unit: %d", ubi->min_io_size); in display_ubi_info()
75 ubi_msg("VID header offset: %d (aligned %d)", in display_ubi_info()
[all …]
/OK3568_Linux_fs/u-boot/drivers/mtd/ubi/
H A Dbuild.c198 ubi_msg(ubi, "Unable to write a new fastmap: %i", ret); in ubi_volume_notify()
791 ubi_msg(ubi, "MTD device %d is write-protected, attach in read-only mode", in io_init()
859 ubi_msg(ubi, "volume %d (\"%s\") re-sized from %d to %d LEBs", in autoresize()
976 ubi_msg(ubi, "default fastmap pool size: %d", ubi->fm_pool.max_size); in ubi_attach_mtd_dev()
977 ubi_msg(ubi, "default fastmap WL pool size: %d", in ubi_attach_mtd_dev()
989 ubi_msg(ubi, "attaching mtd%d", mtd->index); in ubi_attach_mtd_dev()
1035 ubi_msg(ubi, "attached mtd%d (name \"%s\", size %llu MiB)", in ubi_attach_mtd_dev()
1037 ubi_msg(ubi, "PEB size: %d bytes (%d KiB), LEB size: %d bytes", in ubi_attach_mtd_dev()
1039 ubi_msg(ubi, "min./max. I/O unit sizes: %d/%d, sub-page size %d", in ubi_attach_mtd_dev()
1041 ubi_msg(ubi, "VID header offset: %d (aligned %d), data offset: %d", in ubi_attach_mtd_dev()
[all …]
H A Dio.c173 ubi_msg(ubi, "fixable bit-flip detected at PEB %d", in ubi_io_read()
409 ubi_msg(ubi, "run torture test for PEB %d", pnum); in torture_peb()
454 ubi_msg(ubi, "PEB %d passed torture test, do not mark it as bad", pnum); in torture_peb()
1354 ubi_msg(ubi, "data differ at position %d", i); in self_check_write()
1355 ubi_msg(ubi, "hex dump of the original buffer from %d to %d", in self_check_write()
1359 ubi_msg(ubi, "hex dump of the read buffer from %d to %d", in self_check_write()
1422 ubi_msg(ubi, "hex dump of the %d-%d region", offset, offset + len); in ubi_self_check_all_ff()
H A Deba.c446 ubi_msg(ubi, "force data checking"); in ubi_eba_read_leb()
569 ubi_msg(ubi, "recover PEB %d, move data to PEB %d", in recover_peb()
616 ubi_msg(ubi, "data was successfully recovered"); in recover_peb()
637 ubi_msg(ubi, "try again"); in recover_peb()
762 ubi_msg(ubi, "try another PEB"); in ubi_eba_write_leb()
884 ubi_msg(ubi, "try another PEB"); in ubi_eba_write_leb_st()
1009 ubi_msg(ubi, "try another PEB"); in ubi_eba_atomic_leb_change()
H A Dmisc.c105 ubi_msg(ubi, "reserved more %d PEBs for bad PEB handling", need); in ubi_update_reserved()
H A Dwl.c871 ubi_msg(ubi, "scrubbed PEB %d (LEB %d:%d), data moved to PEB %d",
1145 ubi_msg(ubi, "mark PEB %d as bad", pnum);
1168 ubi_msg(ubi, "%d PEBs left in the reserve",
1295 ubi_msg(ubi, "schedule PEB %d for scrubbing", pnum);
1448 ubi_msg(ubi, "background thread \"%s\" started, PID %d",
1480 ubi_msg(ubi, "%s: %d consecutive failures",
H A Dvtbl.c449 ubi_msg(ubi, "volume table was restored");
472 ubi_msg(ubi, "volume table was restored");
753 ubi_msg(ubi, "finish volume %d removal", av->vol_id);
H A Dattach.c1002 ubi_msg(ubi, "\"delete\" compatible internal volume %d:%d found, will remove it", in scan_peb()
1012 ubi_msg(ubi, "read-only compatible internal volume %d:%d found, switch to read-only mode", in scan_peb()
1018 ubi_msg(ubi, "\"preserve\" compatible internal volume %d:%d found", in scan_peb()
1113 ubi_msg(ubi, "empty MTD device detected"); in late_analysis()
1250 ubi_msg(ubi, "scanning is finished"); in scan_all()
H A Ddebug.c42 ubi_msg(ubi, "dumping %d bytes of data from PEB %d, offset %d", in ubi_dump_flash()
534 ubi_msg(ubi, "XXXXXXXXXXXXXXX emulating a power cut XXXXXXXXXXXXXXXX"); in ubi_dbg_power_cut()
H A Dubi.h46 #define ubi_msg(ubi, fmt, ...) macro
48 #define ubi_msg(ubi, fmt, ...) printk(UBI_NAME_STR "%d: " fmt "\n", \ macro
H A Dfastmap-wl.c222 ubi_msg(ubi, "Unable to write a new fastmap: %i", ret); in ubi_wl_get_peb()
H A Dfastmap.c1072 ubi_msg(ubi, "attached by fastmap"); in ubi_scan_fastmap()
1073 ubi_msg(ubi, "fastmap pool size: %d", ubi->fm_pool.max_size); in ubi_scan_fastmap()
1074 ubi_msg(ubi, "fastmap WL pool size: %d", in ubi_scan_fastmap()
/OK3568_Linux_fs/kernel/drivers/mtd/ubi/
H A Dbuild.c169 ubi_msg(ubi, "Unable to write a new fastmap: %i", ret); in ubi_volume_notify()
732 ubi_msg(ubi, "MTD device %d is write-protected, attach in read-only mode", in io_init()
800 ubi_msg(ubi, "volume %d (\"%s\") re-sized from %d to %d LEBs", in autoresize()
936 ubi_msg(ubi, "default fastmap pool size: %d", ubi->fm_pool.max_size); in ubi_attach_mtd_dev()
937 ubi_msg(ubi, "default fastmap WL pool size: %d", in ubi_attach_mtd_dev()
949 ubi_msg(ubi, "attaching mtd%d", mtd->index); in ubi_attach_mtd_dev()
995 ubi_msg(ubi, "attached mtd%d (name \"%s\", size %llu MiB)", in ubi_attach_mtd_dev()
997 ubi_msg(ubi, "PEB size: %d bytes (%d KiB), LEB size: %d bytes", in ubi_attach_mtd_dev()
999 ubi_msg(ubi, "min./max. I/O unit sizes: %d/%d, sub-page size %d", in ubi_attach_mtd_dev()
1001 ubi_msg(ubi, "VID header offset: %d (aligned %d), data offset: %d", in ubi_attach_mtd_dev()
[all …]
H A Dmisc.c103 ubi_msg(ubi, "reserved more %d PEBs for bad PEB handling", need); in ubi_update_reserved()
145 void ubi_msg(const struct ubi_device *ubi, const char *fmt, ...) in ubi_msg() function
H A Dio.c167 ubi_msg(ubi, "fixable bit-flip detected at PEB %d", in ubi_io_read()
367 ubi_msg(ubi, "run torture test for PEB %d", pnum); in torture_peb()
412 ubi_msg(ubi, "PEB %d passed torture test, do not mark it as bad", pnum); in torture_peb()
1320 ubi_msg(ubi, "data differ at position %d", i); in self_check_write()
1322 ubi_msg(ubi, "hex dump of the original buffer from %d to %d", in self_check_write()
1326 ubi_msg(ubi, "hex dump of the read buffer from %d to %d", in self_check_write()
1389 ubi_msg(ubi, "hex dump of the %d-%d region", offset, offset + len); in ubi_self_check_all_ff()
H A Deba.c703 ubi_msg(ubi, "force data checking"); in ubi_eba_read_leb()
824 ubi_msg(ubi, "recover PEB %d, move data to PEB %d", in try_recover_peb()
874 ubi_msg(ubi, "data was successfully recovered"); in try_recover_peb()
922 ubi_msg(ubi, "try again"); in recover_peb()
1075 ubi_msg(ubi, "try another PEB"); in ubi_eba_write_leb()
1158 ubi_msg(ubi, "try another PEB"); in ubi_eba_write_leb_st()
1242 ubi_msg(ubi, "try another PEB"); in ubi_eba_atomic_leb_change()
H A Dvtbl.c441 ubi_msg(ubi, "volume table was restored"); in process_lvol()
464 ubi_msg(ubi, "volume table was restored"); in process_lvol()
762 ubi_msg(ubi, "finish volume %d removal", av->vol_id); in check_attaching_info()
H A Dwl.c873 ubi_msg(ubi, "scrubbed PEB %d (LEB %d:%d), data moved to PEB %d",
1159 ubi_msg(ubi, "mark PEB %d as bad", pnum);
1182 ubi_msg(ubi, "%d PEBs left in the reserve",
1328 ubi_msg(ubi, "schedule PEB %d for scrubbing", pnum);
1625 ubi_msg(ubi, "background thread \"%s\" started, PID %d",
1670 ubi_msg(ubi, "%s: %d consecutive failures",
H A Dattach.c1140 ubi_msg(ubi, "\"delete\" compatible internal volume %d:%d found, will remove it", in scan_peb()
1150 ubi_msg(ubi, "read-only compatible internal volume %d:%d found, switch to read-only mode", in scan_peb()
1156 ubi_msg(ubi, "\"preserve\" compatible internal volume %d:%d found", in scan_peb()
1256 ubi_msg(ubi, "empty MTD device detected"); in late_analysis()
1401 ubi_msg(ubi, "scanning is finished"); in scan_all()
H A Ddebug.c39 ubi_msg(ubi, "dumping %d bytes of data from PEB %d, offset %d", in ubi_dump_flash()
602 ubi_msg(ubi, "XXXXXXXXXXXXXXX emulating a power cut XXXXXXXXXXXXXXXX"); in ubi_dbg_power_cut()
H A Dfastmap-wl.c245 ubi_msg(ubi, "Unable to write a new fastmap: %i", ret); in ubi_wl_get_peb()
H A Dfastmap.c1080 ubi_msg(ubi, "attached by fastmap"); in ubi_scan_fastmap()
1081 ubi_msg(ubi, "fastmap pool size: %d", ubi->fm_pool.max_size); in ubi_scan_fastmap()
1082 ubi_msg(ubi, "fastmap WL pool size: %d", in ubi_scan_fastmap()
H A Dubi.h43 void ubi_msg(const struct ubi_device *ubi, const char *fmt, ...);
/OK3568_Linux_fs/u-boot/drivers/mtd/ubispl/
H A Dubispl.h127 #define ubi_msg(fmt, ...) macro
129 #define ubi_msg(fmt, ...) printf("UBI: " fmt "\n", ##__VA_ARGS__) macro
H A Dubispl.c82 ubi_msg("Bad magic in block 0%d %08x", pnum, magic); in ubi_io_read_vid_hdr()
89 ubi_msg("Bad CRC in block 0%d", pnum); in ubi_io_read_vid_hdr()
649 ubi_msg("attached by fastmap %uMB %u blocks", in ubi_scan_fastmap()
914 ubi_msg("Loading VolId #%d", lv->vol_id); in ubispl_load_volumes()