Home
last modified time | relevance | path

Searched refs:ubifs_err (Results 1 – 18 of 18) sorted by relevance

/openbmc/u-boot/fs/ubifs/
H A Dscan.c95 ubifs_err(c, "bad pad node at LEB %d:%d", in ubifs_scan_a_node()
105 ubifs_err(c, "bad padding length %d - %d", in ubifs_scan_a_node()
147 ubifs_err(c, "cannot read %d bytes from LEB %d:%d, error %d", in ubifs_start_scan()
235 ubifs_err(c, "corruption at LEB %d:%d", lnum, offs); in ubifs_scanned_corruption()
239 ubifs_err(c, "first %d bytes from LEB %d:%d", len, lnum, offs); in ubifs_scanned_corruption()
294 ubifs_err(c, "garbage"); in ubifs_scan()
300 ubifs_err(c, "bad node"); in ubifs_scan()
303 ubifs_err(c, "unknown"); in ubifs_scan()
320 ubifs_err(c, "empty space starts at non-aligned offset %d", in ubifs_scan()
333 ubifs_err(c, "corrupt empty space at LEB %d:%d", in ubifs_scan()
[all …]
H A Dtnc_misc.c287 ubifs_err(c, "current fanout %d, branch count %d", in read_znode()
289 ubifs_err(c, "max levels %d, znode level %d", in read_znode()
310 ubifs_err(c, "bad branch %d", i); in read_znode()
322 ubifs_err(c, "bad key type at slot %d: %d", in read_znode()
334 ubifs_err(c, "bad target node (type %d) length (%d)", in read_znode()
336 ubifs_err(c, "have to be %d", c->ranges[type].len); in read_znode()
342 ubifs_err(c, "bad target node (type %d) length (%d)", in read_znode()
344 ubifs_err(c, "have to be in range of %d-%d", in read_znode()
364 ubifs_err(c, "bad key order (keys %d and %d)", i, i + 1); in read_znode()
369 ubifs_err(c, "keys %d and %d are not hashed but equivalent", in read_znode()
[all …]
H A Dlprops.c676 ubifs_err(c, "cannot change properties of LEB %d, error %d", in ubifs_change_one_lp()
715 ubifs_err(c, "cannot update properties of LEB %d, error %d", in ubifs_update_one_lp()
740 ubifs_err(c, "cannot read properties of LEB %d, error %d", in ubifs_read_one_lp()
867 ubifs_err(c, "non-empty LEB %d on empty list (free %d dirty %d flags %d)", in dbg_check_cats()
873 ubifs_err(c, "taken LEB %d on empty list (free %d dirty %d flags %d)", in dbg_check_cats()
883 ubifs_err(c, "non-freeable LEB %d on freeable list (free %d dirty %d flags %d)", in dbg_check_cats()
889 ubifs_err(c, "taken LEB %d on freeable list (free %d dirty %d flags %d)", in dbg_check_cats()
897 ubifs_err(c, "freeable list count %d expected %d", i, in dbg_check_cats()
906 ubifs_err(c, "idx_gc list count %d expected %d", i, in dbg_check_cats()
913 ubifs_err(c, "non-freeable LEB %d on frdi_idx list (free %d dirty %d flags %d)", in dbg_check_cats()
[all …]
H A Ddebug.c756 ubifs_err(c, "cannot read lprops for LEB %d", lnum); in ubifs_dump_lprops()
829 ubifs_err(c, "cannot allocate memory for dumping LEB %d", lnum); in ubifs_dump_leb()
835 ubifs_err(c, "scan error %d", (int)PTR_ERR(sleb)); in ubifs_dump_leb()
1043 ubifs_err(c, "free space changed from %lld to %lld", in dbg_check_space_info()
1088 ubifs_err(c, "ui_size is %lld, synced_i_size is %lld, but inode is clean", in dbg_check_synced_i_size()
1090 ubifs_err(c, "i_ino %lu, i_mode %#x, i_size %lld", inode->i_ino, in dbg_check_synced_i_size()
1151 ubifs_err(c, "directory inode %lu has size %llu, but calculated size is %llu", in dbg_check_dir()
1159 ubifs_err(c, "directory inode %lu has nlink %u, but calculated nlink is %u", in dbg_check_dir()
1218 ubifs_err(c, "1st entry at %d:%d has key %s", zbr1->lnum, in dbg_check_key_order()
1221 ubifs_err(c, "but it should have key %s according to tnc", in dbg_check_key_order()
[all …]
H A Dreplay.c454 ubifs_err(c, "bad %s node", key_type == UBIFS_DENT_KEY ? in ubifs_validate_entry()
460 ubifs_err(c, "bad key type %d", key_type); in ubifs_validate_entry()
585 ubifs_err(c, "file system's life ended"); in replay_bud()
643 ubifs_err(c, "bad truncation node"); in replay_bud()
658 ubifs_err(c, "unexpected node type %d in bud LEB %d:%d", in replay_bud()
681 ubifs_err(c, "bad node is at LEB %d:%d", lnum, snod->offs); in replay_bud()
801 ubifs_err(c, "bud at LEB %d:%d was already referred", lnum, offs); in validate_ref()
857 ubifs_err(c, "first log node at LEB %d:%d is not CS node", in replay_log_leb()
862 ubifs_err(c, "first CS node at LEB %d:%d has wrong commit number %llu expected %llu", in replay_log_leb()
887 ubifs_err(c, "first node is not at zero offset"); in replay_log_leb()
[all …]
H A Dio.c103 ubifs_err(c, "reading %d bytes from LEB %d:%d failed, error %d", in ubifs_leb_read()
125 ubifs_err(c, "writing %d bytes to LEB %d:%d failed, error %d", in ubifs_leb_write()
147 ubifs_err(c, "changing %d bytes in LEB %d failed, error %d", in ubifs_leb_change()
169 ubifs_err(c, "unmap LEB %d failed, error %d", lnum, err); in ubifs_leb_unmap()
190 ubifs_err(c, "mapping LEB %d failed, error %d", lnum, err); in ubifs_leb_map()
203 ubifs_err(c, "ubi_is_mapped failed for LEB %d, error %d", in ubifs_is_mapped()
251 ubifs_err(c, "bad magic %#08x, expected %#08x", in ubifs_check_node()
260 ubifs_err(c, "bad node type %d", type); in ubifs_check_node()
283 ubifs_err(c, "bad CRC: calculated %#08x, read %#08x", in ubifs_check_node()
293 ubifs_err(c, "bad node length %d", node_len); in ubifs_check_node()
[all …]
H A Dorphan.c80 ubifs_err(c, "orphaned twice"); in ubifs_add_orphan()
147 ubifs_err(c, "missing orphan ino %lu", (unsigned long)inum); in ubifs_delete_orphan()
279 ubifs_err(c, "out of space in orphan area"); in write_orph_node()
389 ubifs_err(c, "out of space in orphan area"); in consolidate()
561 ubifs_err(c, "invalid node type %d in orphan area at %d:%d", in do_kill_orphans()
588 ubifs_err(c, "out of order commit number %llu in orphan node at %d:%d", in do_kill_orphans()
823 ubifs_err(c, "found orphan node ino %lu, type %d", in dbg_orphan_check()
829 ubifs_err(c, "node read failed, error %d", err); in dbg_orphan_check()
836 ubifs_err(c, "missing orphan, ino %lu", in dbg_orphan_check()
879 ubifs_err(c, "cannot allocate memory to check orphans"); in dbg_scan_orphans()
[all …]
H A Dsb.c366 ubifs_err(c, "min. I/O unit mismatch: %d in superblock, %d real", in validate_sb()
372 ubifs_err(c, "LEB size mismatch: %d in superblock, %d real", in validate_sb()
394 ubifs_err(c, "bad LEB count: %d in superblock, %d on UBI volume, %d minimum required", in validate_sb()
400 ubifs_err(c, "max. LEB count %d less than LEB count %d", in validate_sb()
406 ubifs_err(c, "too few main LEBs count %d, must be at least %d", in validate_sb()
413 ubifs_err(c, "too small journal (%lld bytes), must be at least %lld bytes", in validate_sb()
420 ubifs_err(c, "too large journal size (%lld bytes), only %lld bytes available in the main area", in validate_sb()
469 ubifs_err(c, "bad superblock, error %d", err); in validate_sb()
555ubifs_err(c, "on-flash format version is w%d/r%d, but software only supports up to version w%d/r%d… in ubifs_read_superblock()
576 ubifs_err(c, "on-flash format version %d is not supported", in ubifs_read_superblock()
[all …]
H A Drecovery.c357 ubifs_err(c, "failed to recover master node"); in ubifs_recover_master_node()
359 ubifs_err(c, "dumping first master node"); in ubifs_recover_master_node()
363 ubifs_err(c, "dumping second master node"); in ubifs_recover_master_node()
681 ubifs_err(c, "unexpected return value %d", ret); in ubifs_recover_leb()
701 ubifs_err(c, "corrupt empty space LEB %d:%d, corruption starts at %d", in ubifs_recover_leb()
787 ubifs_err(c, "corruption %d", ret); in ubifs_recover_leb()
793 ubifs_err(c, "LEB %d scanning failed", lnum); in ubifs_recover_leb()
825 ubifs_err(c, "Not a valid node"); in get_cs_sqnum()
829 ubifs_err(c, "Node a CS node, type is %d", cs_node->ch.node_type); in get_cs_sqnum()
833 ubifs_err(c, "CS node cmt_no %llu != current cmt_no %llu", in get_cs_sqnum()
[all …]
H A Dsuper.c210 ubifs_err(c, "inode is too large (%lld)", in validate_inode()
216 ubifs_err(c, "unknown compression type %d", ui->compr_type); in validate_inode()
427 ubifs_err(c, "inode %lu validation failed, error %d", inode->i_ino, err); in ubifs_iget()
434 ubifs_err(c, "failed to read inode %lu, error %d", inode->i_ino, err); in ubifs_iget()
505 ubifs_err(c, "can't write inode %lu, error %d", in ubifs_write_inode()
549 ubifs_err(c, "can't delete inode %lu, error %d", in ubifs_evict_inode()
705 ubifs_err(c, "too small LEBs (%d bytes), min. is %d bytes", in init_constants_early()
711 ubifs_err(c, "too few LEBs (%d), min. is %d", in init_constants_early()
717 ubifs_err(c, "bad min. I/O size %d", c->min_io_size); in init_constants_early()
728 ubifs_err(c, "bad write buffer size %d for %d min. I/O unit", in init_constants_early()
[all …]
H A Dlpt_commit.c318 ubifs_err(c, "LPT out of space at LEB %d:%d needing %d, done_ltab %d, done_lsave %d", in layout_cnodes()
543 ubifs_err(c, "LPT out of space mismatch at LEB %d:%d needing %d, done_ltab %d, done_lsave %d", in write_cnodes()
1644 ubifs_err(c, "cannot allocate memory for ltab checking"); in dbg_check_ltab_lnum()
1666 ubifs_err(c, "invalid empty space in LEB %d at %d", in dbg_check_ltab_lnum()
1672 ubifs_err(c, "invalid free space in LEB %d (free %d, expected %d)", in dbg_check_ltab_lnum()
1677 ubifs_err(c, "invalid dirty space in LEB %d (dirty %d, expected %d)", in dbg_check_ltab_lnum()
1731 ubifs_err(c, "failed at LEB %d", lnum); in dbg_check_ltab()
1763 ubifs_err(c, "LPT space error: free %lld lpt_sz %lld", in dbg_chk_lpt_free_spc()
1803 ubifs_err(c, "dirty pnodes %d exceed max %d", in dbg_chk_lpt_sz()
1808 ubifs_err(c, "dirty nnodes %d exceed max %d", in dbg_chk_lpt_sz()
[all …]
H A Dubifs.c138 ubifs_err(c, "cannot decompress %d bytes, compressor %s, " in crypto_comp_decompress()
173 ubifs_err(c, "invalid compression type %d", compr_type); in ubifs_decompress()
180 ubifs_err(c, "%s compression is not compiled in", compr->name); in ubifs_decompress()
197 ubifs_err(c, "cannot decompress %d bytes, compressor %s," in ubifs_decompress()
381 ubifs_err(c, "cannot find next direntry, error %d", err); in ubifs_printdir()
726 ubifs_err(c, "bad data node (block %u, inode %lu)", in read_block()
828 ubifs_err(c, "cannot read page %lu of inode %lu, error %d", in do_readpage()
H A Dlpt.c143 ubifs_err(c, "too few LPT LEBs"); in ubifs_calc_lpt_geom()
149 ubifs_err(c, "LPT ltab too big"); in ubifs_calc_lpt_geom()
211 ubifs_err(c, "LPT ltab too big"); in calc_dflt_lpt_geom()
919 ubifs_err(c, "invalid crc in LPT node: crc %hx calc %hx", in check_lpt_crc()
943 ubifs_err(c, "invalid type (%d) in LPT node type %d", in check_lpt_type()
1244 ubifs_err(c, "error %d reading nnode at %d:%d", err, lnum, offs); in ubifs_read_nnode()
1309 ubifs_err(c, "error %d reading pnode at %d:%d", err, lnum, offs); in read_pnode()
1312 ubifs_err(c, "calc num: %d", calc_pnode_num_from_parent(c, parent, iip)); in read_pnode()
2104 ubifs_err(c, "pnode num %d expected %d parent num %d iip %d", in dbg_chk_pnode()
2119 ubifs_err(c, "bad LEB number %d expected %d", in dbg_chk_pnode()
[all …]
H A Dmaster.c78 ubifs_err(c, "unexpected node type %d master LEB %d:%d", in scan_for_master()
236 ubifs_err(c, "bad master node at offset %d error %d", c->mst_offs, err); in validate_master()
312 ubifs_err(c, "bad leb_cnt on master node"); in ubifs_read_master()
H A Dtnc.c95 ubifs_err(c, "old idx added twice!"); in insert_old_idx()
444 ubifs_err(c, "cannot read node type %d from LEB %d:%d, error %d", in try_read_node()
1685 ubifs_err(c, "bad node type (%d but expected %d)", in validate_data_node()
1692 ubifs_err(c, "expected node type %d", UBIFS_DATA_NODE); in validate_data_node()
1698 ubifs_err(c, "bad node length %d, expected %d", len, zbr->len); in validate_data_node()
1705 ubifs_err(c, "bad key in node at LEB %d:%d", in validate_data_node()
1717 ubifs_err(c, "bad node at LEB %d:%d", zbr->lnum, zbr->offs); in validate_data_node()
1742 ubifs_err(c, "buffer too small %d vs %d", bu->buf_len, len); in ubifs_tnc_bulk_read()
1758 ubifs_err(c, "failed to read from LEB %d:%d, error %d", in ubifs_tnc_bulk_read()
3314 ubifs_err(c, "inode %lu has size %lld, but there are data at offset %lld", in dbg_check_inode_size()
H A Dlog.c690 ubifs_err(c, "log is too full"); in ubifs_consolidate_log()
737 ubifs_err(c, "bad bud_bytes %lld, calculated %lld", in dbg_check_bud_bytes()
H A Dubifs.h629 #define ubifs_err(c, fmt, ...) \ macro
639 #define ubifs_err(c, fmt, ...) \ macro
658 ubifs_err(c, fmt, ##__VA_ARGS__); \
H A Dbudget.c507 ubifs_err(c, "cannot budget space, error %d", err); in ubifs_budget_space()