Home
last modified time | relevance | path

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

/openbmc/u-boot/cmd/
H A Dubi.c28 #undef ubi_msg
29 #define ubi_msg(fmt, ...) printf("UBI: " fmt "\n", ##__VA_ARGS__) macro
51 ubi_msg("MTD device name: \"%s\"", ubi->mtd->name); in display_ubi_info()
52 ubi_msg("MTD device size: %llu MiB", ubi->flash_size >> 20); in display_ubi_info()
53 ubi_msg("physical eraseblock size: %d bytes (%d KiB)", in display_ubi_info()
55 ubi_msg("logical eraseblock size: %d bytes", ubi->leb_size); in display_ubi_info()
56 ubi_msg("number of good PEBs: %d", ubi->good_peb_count); in display_ubi_info()
57 ubi_msg("number of bad PEBs: %d", ubi->bad_peb_count); in display_ubi_info()
58 ubi_msg("smallest flash I/O unit: %d", ubi->min_io_size); in display_ubi_info()
59 ubi_msg("VID header offset: %d (aligned %d)", in display_ubi_info()
[all …]
/openbmc/u-boot/drivers/mtd/ubi/
H A Dbuild.c197 ubi_msg(ubi, "Unable to write a new fastmap: %i", ret); in ubi_volume_notify()
790 ubi_msg(ubi, "MTD device %d is write-protected, attach in read-only mode", in io_init()
858 ubi_msg(ubi, "volume %d (\"%s\") re-sized from %d to %d LEBs", in autoresize()
975 ubi_msg(ubi, "default fastmap pool size: %d", ubi->fm_pool.max_size); in ubi_attach_mtd_dev()
976 ubi_msg(ubi, "default fastmap WL pool size: %d", in ubi_attach_mtd_dev()
988 ubi_msg(ubi, "attaching mtd%d", mtd->index); in ubi_attach_mtd_dev()
1034 ubi_msg(ubi, "attached mtd%d (name \"%s\", size %llu MiB)", in ubi_attach_mtd_dev()
1036 ubi_msg(ubi, "PEB size: %d bytes (%d KiB), LEB size: %d bytes", in ubi_attach_mtd_dev()
1038 ubi_msg(ubi, "min./max. I/O unit sizes: %d/%d, sub-page size %d", in ubi_attach_mtd_dev()
1040 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.c445 ubi_msg(ubi, "force data checking"); in ubi_eba_read_leb()
568 ubi_msg(ubi, "recover PEB %d, move data to PEB %d", in recover_peb()
615 ubi_msg(ubi, "data was successfully recovered"); in recover_peb()
636 ubi_msg(ubi, "try again"); in recover_peb()
761 ubi_msg(ubi, "try another PEB"); in ubi_eba_write_leb()
883 ubi_msg(ubi, "try another PEB"); in ubi_eba_write_leb_st()
1008 ubi_msg(ubi, "try another PEB"); in ubi_eba_atomic_leb_change()
H A Dmisc.c104 ubi_msg(ubi, "reserved more %d PEBs for bad PEB handling", need); in ubi_update_reserved()
H A Dwl.c870 ubi_msg(ubi, "scrubbed PEB %d (LEB %d:%d), data moved to PEB %d",
1144 ubi_msg(ubi, "mark PEB %d as bad", pnum);
1167 ubi_msg(ubi, "%d PEBs left in the reserve",
1294 ubi_msg(ubi, "schedule PEB %d for scrubbing", pnum);
1447 ubi_msg(ubi, "background thread \"%s\" started, PID %d",
1479 ubi_msg(ubi, "%s: %d consecutive failures",
H A Dvtbl.c448 ubi_msg(ubi, "volume table was restored");
471 ubi_msg(ubi, "volume table was restored");
752 ubi_msg(ubi, "finish volume %d removal", av->vol_id);
H A Dattach.c1001 ubi_msg(ubi, "\"delete\" compatible internal volume %d:%d found, will remove it", in scan_peb()
1011 ubi_msg(ubi, "read-only compatible internal volume %d:%d found, switch to read-only mode", in scan_peb()
1017 ubi_msg(ubi, "\"preserve\" compatible internal volume %d:%d found", in scan_peb()
1112 ubi_msg(ubi, "empty MTD device detected"); in late_analysis()
1249 ubi_msg(ubi, "scanning is finished"); in scan_all()
H A Ddebug.c41 ubi_msg(ubi, "dumping %d bytes of data from PEB %d, offset %d", in ubi_dump_flash()
533 ubi_msg(ubi, "XXXXXXXXXXXXXXX emulating a power cut XXXXXXXXXXXXXXXX"); in ubi_dbg_power_cut()
H A Dubi.h45 #define ubi_msg(ubi, fmt, ...) macro
47 #define ubi_msg(ubi, fmt, ...) printk(UBI_NAME_STR "%d: " fmt "\n", \ macro
H A Dfastmap-wl.c221 ubi_msg(ubi, "Unable to write a new fastmap: %i", ret); in ubi_wl_get_peb()
H A Dfastmap.c1071 ubi_msg(ubi, "attached by fastmap"); in ubi_scan_fastmap()
1072 ubi_msg(ubi, "fastmap pool size: %d", ubi->fm_pool.max_size); in ubi_scan_fastmap()
1073 ubi_msg(ubi, "fastmap WL pool size: %d", in ubi_scan_fastmap()
/openbmc/linux/drivers/mtd/ubi/
H A Dbuild.c171 ubi_msg(ubi, "Unable to write a new fastmap: %i", ret); in ubi_volume_notify()
748 ubi_msg(ubi, "MTD device %d is write-protected, attach in read-only mode", in io_init()
816 ubi_msg(ubi, "volume %d (\"%s\") re-sized from %d to %d LEBs", in autoresize()
965 ubi_msg(ubi, "default fastmap pool size: %d", ubi->fm_pool.max_size); in ubi_attach_mtd_dev()
966 ubi_msg(ubi, "default fastmap WL pool size: %d", in ubi_attach_mtd_dev()
978 ubi_msg(ubi, "attaching mtd%d", mtd->index); in ubi_attach_mtd_dev()
1024 ubi_msg(ubi, "attached mtd%d (name \"%s\", size %llu MiB)", in ubi_attach_mtd_dev()
1026 ubi_msg(ubi, "PEB size: %d bytes (%d KiB), LEB size: %d bytes", in ubi_attach_mtd_dev()
1028 ubi_msg(ubi, "min./max. I/O unit sizes: %d/%d, sub-page size %d", in ubi_attach_mtd_dev()
1030 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()
1322 ubi_msg(ubi, "data differ at position %d", i); in self_check_write()
1324 ubi_msg(ubi, "hex dump of the original buffer from %d to %d", in self_check_write()
1328 ubi_msg(ubi, "hex dump of the read buffer from %d to %d", in self_check_write()
1391 ubi_msg(ubi, "hex dump of the %d-%d region", offset, offset + len); in ubi_self_check_all_ff()
H A Deba.c702 ubi_msg(ubi, "force data checking"); in ubi_eba_read_leb()
823 ubi_msg(ubi, "recover PEB %d, move data to PEB %d", in try_recover_peb()
873 ubi_msg(ubi, "data was successfully recovered"); in try_recover_peb()
921 ubi_msg(ubi, "try again"); in recover_peb()
1083 ubi_msg(ubi, "try another PEB"); in ubi_eba_write_leb()
1166 ubi_msg(ubi, "try another PEB"); in ubi_eba_write_leb_st()
1250 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.c885 ubi_msg(ubi, "scrubbed PEB %d (LEB %d:%d), data moved to PEB %d",
1182 ubi_msg(ubi, "mark PEB %d as bad", pnum);
1205 ubi_msg(ubi, "%d PEBs left in the reserve",
1363 ubi_msg(ubi, "schedule PEB %d for scrubbing", pnum);
1660 ubi_msg(ubi, "background thread \"%s\" started, PID %d",
1705 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()
603 ubi_msg(ubi, "XXXXXXXXXXXXXXX emulating a power cut XXXXXXXXXXXXXXXX"); in ubi_dbg_power_cut()
H A Dfastmap-wl.c247 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, ...);
/openbmc/u-boot/drivers/mtd/ubispl/
H A Dubispl.h126 #define ubi_msg(fmt, ...) macro
128 #define ubi_msg(fmt, ...) printf("UBI: " fmt "\n", ##__VA_ARGS__) macro
H A Dubispl.c81 ubi_msg("Bad magic in block 0%d %08x", pnum, magic); in ubi_io_read_vid_hdr()
88 ubi_msg("Bad CRC in block 0%d", pnum); in ubi_io_read_vid_hdr()
648 ubi_msg("attached by fastmap %uMB %u blocks", in ubi_scan_fastmap()
913 ubi_msg("Loading VolId #%d", lv->vol_id); in ubispl_load_volumes()