Lines Matching refs:ubi_msg
27 #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()
77 ubi_msg("data offset: %d", ubi->leb_start); in display_ubi_info()
78 ubi_msg("max. allowed volumes: %d", ubi->vtbl_slots); in display_ubi_info()
79 ubi_msg("wear-leveling threshold: %d", CONFIG_MTD_UBI_WL_THRESHOLD); in display_ubi_info()
80 ubi_msg("number of internal volumes: %d", UBI_INT_VOL_COUNT); in display_ubi_info()
81 ubi_msg("number of user volumes: %d", in display_ubi_info()
83 ubi_msg("available PEBs: %d", ubi->avail_pebs); in display_ubi_info()
84 ubi_msg("total number of reserved PEBs: %d", ubi->rsvd_pebs); in display_ubi_info()
85 ubi_msg("number of PEBs reserved for bad PEB handling: %d", in display_ubi_info()
87 ubi_msg("max/mean erase counter: %d/%d", ubi->max_ec, ubi->mean_ec); in display_ubi_info()
252 ubi_msg("reserve more %d PEBs", i); in ubi_remove_vol()