Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/fs/ubifs/
H A Dscan.c96 ubifs_err(c, "bad pad node at LEB %d:%d", in ubifs_scan_a_node()
106 ubifs_err(c, "bad padding length %d - %d", in ubifs_scan_a_node()
148 ubifs_err(c, "cannot read %d bytes from LEB %d:%d, error %d", in ubifs_start_scan()
236 ubifs_err(c, "corruption at LEB %d:%d", lnum, offs); in ubifs_scanned_corruption()
240 ubifs_err(c, "first %d bytes from LEB %d:%d", len, lnum, offs); in ubifs_scanned_corruption()
295 ubifs_err(c, "garbage"); in ubifs_scan()
301 ubifs_err(c, "bad node"); in ubifs_scan()
304 ubifs_err(c, "unknown"); in ubifs_scan()
321 ubifs_err(c, "empty space starts at non-aligned offset %d", in ubifs_scan()
334 ubifs_err(c, "corrupt empty space at LEB %d:%d", in ubifs_scan()
[all …]
H A Dtnc_misc.c288 ubifs_err(c, "current fanout %d, branch count %d", in read_znode()
290 ubifs_err(c, "max levels %d, znode level %d", in read_znode()
311 ubifs_err(c, "bad branch %d", i); in read_znode()
323 ubifs_err(c, "bad key type at slot %d: %d", in read_znode()
335 ubifs_err(c, "bad target node (type %d) length (%d)", in read_znode()
337 ubifs_err(c, "have to be %d", c->ranges[type].len); in read_znode()
343 ubifs_err(c, "bad target node (type %d) length (%d)", in read_znode()
345 ubifs_err(c, "have to be in range of %d-%d", in read_znode()
365 ubifs_err(c, "bad key order (keys %d and %d)", i, i + 1); in read_znode()
370 ubifs_err(c, "keys %d and %d are not hashed but equivalent", in read_znode()
[all …]
H A Dlprops.c677 ubifs_err(c, "cannot change properties of LEB %d, error %d", in ubifs_change_one_lp()
716 ubifs_err(c, "cannot update properties of LEB %d, error %d", in ubifs_update_one_lp()
741 ubifs_err(c, "cannot read properties of LEB %d, error %d", in ubifs_read_one_lp()
868 ubifs_err(c, "non-empty LEB %d on empty list (free %d dirty %d flags %d)", in dbg_check_cats()
874 ubifs_err(c, "taken LEB %d on empty list (free %d dirty %d flags %d)", in dbg_check_cats()
884 ubifs_err(c, "non-freeable LEB %d on freeable list (free %d dirty %d flags %d)", in dbg_check_cats()
890 ubifs_err(c, "taken LEB %d on freeable list (free %d dirty %d flags %d)", in dbg_check_cats()
898 ubifs_err(c, "freeable list count %d expected %d", i, in dbg_check_cats()
907 ubifs_err(c, "idx_gc list count %d expected %d", i, in dbg_check_cats()
914 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.c757 ubifs_err(c, "cannot read lprops for LEB %d", lnum); in ubifs_dump_lprops()
830 ubifs_err(c, "cannot allocate memory for dumping LEB %d", lnum); in ubifs_dump_leb()
836 ubifs_err(c, "scan error %d", (int)PTR_ERR(sleb)); in ubifs_dump_leb()
1044 ubifs_err(c, "free space changed from %lld to %lld", in dbg_check_space_info()
1089 ubifs_err(c, "ui_size is %lld, synced_i_size is %lld, but inode is clean", in dbg_check_synced_i_size()
1091 ubifs_err(c, "i_ino %lu, i_mode %#x, i_size %lld", inode->i_ino, in dbg_check_synced_i_size()
1152 ubifs_err(c, "directory inode %lu has size %llu, but calculated size is %llu", in dbg_check_dir()
1160 ubifs_err(c, "directory inode %lu has nlink %u, but calculated nlink is %u", in dbg_check_dir()
1219 ubifs_err(c, "1st entry at %d:%d has key %s", zbr1->lnum, in dbg_check_key_order()
1222 ubifs_err(c, "but it should have key %s according to tnc", in dbg_check_key_order()
[all …]
H A Dreplay.c455 ubifs_err(c, "bad %s node", key_type == UBIFS_DENT_KEY ? in ubifs_validate_entry()
461 ubifs_err(c, "bad key type %d", key_type); in ubifs_validate_entry()
586 ubifs_err(c, "file system's life ended"); in replay_bud()
644 ubifs_err(c, "bad truncation node"); in replay_bud()
659 ubifs_err(c, "unexpected node type %d in bud LEB %d:%d", in replay_bud()
682 ubifs_err(c, "bad node is at LEB %d:%d", lnum, snod->offs); in replay_bud()
802 ubifs_err(c, "bud at LEB %d:%d was already referred", lnum, offs); in validate_ref()
858 ubifs_err(c, "first log node at LEB %d:%d is not CS node", in replay_log_leb()
863 ubifs_err(c, "first CS node at LEB %d:%d has wrong commit number %llu expected %llu", in replay_log_leb()
888 ubifs_err(c, "first node is not at zero offset"); in replay_log_leb()
[all …]
H A Dio.c104 ubifs_err(c, "reading %d bytes from LEB %d:%d failed, error %d", in ubifs_leb_read()
126 ubifs_err(c, "writing %d bytes to LEB %d:%d failed, error %d", in ubifs_leb_write()
148 ubifs_err(c, "changing %d bytes in LEB %d failed, error %d", in ubifs_leb_change()
170 ubifs_err(c, "unmap LEB %d failed, error %d", lnum, err); in ubifs_leb_unmap()
191 ubifs_err(c, "mapping LEB %d failed, error %d", lnum, err); in ubifs_leb_map()
204 ubifs_err(c, "ubi_is_mapped failed for LEB %d, error %d", in ubifs_is_mapped()
252 ubifs_err(c, "bad magic %#08x, expected %#08x", in ubifs_check_node()
261 ubifs_err(c, "bad node type %d", type); in ubifs_check_node()
284 ubifs_err(c, "bad CRC: calculated %#08x, read %#08x", in ubifs_check_node()
294 ubifs_err(c, "bad node length %d", node_len); in ubifs_check_node()
[all …]
H A Dorphan.c81 ubifs_err(c, "orphaned twice"); in ubifs_add_orphan()
148 ubifs_err(c, "missing orphan ino %lu", (unsigned long)inum); in ubifs_delete_orphan()
280 ubifs_err(c, "out of space in orphan area"); in write_orph_node()
390 ubifs_err(c, "out of space in orphan area"); in consolidate()
562 ubifs_err(c, "invalid node type %d in orphan area at %d:%d", in do_kill_orphans()
589 ubifs_err(c, "out of order commit number %llu in orphan node at %d:%d", in do_kill_orphans()
824 ubifs_err(c, "found orphan node ino %lu, type %d", in dbg_orphan_check()
830 ubifs_err(c, "node read failed, error %d", err); in dbg_orphan_check()
837 ubifs_err(c, "missing orphan, ino %lu", in dbg_orphan_check()
880 ubifs_err(c, "cannot allocate memory to check orphans"); in dbg_scan_orphans()
[all …]
H A Dsb.c367 ubifs_err(c, "min. I/O unit mismatch: %d in superblock, %d real", in validate_sb()
373 ubifs_err(c, "LEB size mismatch: %d in superblock, %d real", in validate_sb()
395 ubifs_err(c, "bad LEB count: %d in superblock, %d on UBI volume, %d minimum required", in validate_sb()
401 ubifs_err(c, "max. LEB count %d less than LEB count %d", in validate_sb()
407 ubifs_err(c, "too few main LEBs count %d, must be at least %d", in validate_sb()
414 ubifs_err(c, "too small journal (%lld bytes), must be at least %lld bytes", in validate_sb()
421 ubifs_err(c, "too large journal size (%lld bytes), only %lld bytes available in the main area", in validate_sb()
470 ubifs_err(c, "bad superblock, error %d", err); in validate_sb()
556ubifs_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()
577 ubifs_err(c, "on-flash format version %d is not supported", in ubifs_read_superblock()
[all …]
H A Drecovery.c358 ubifs_err(c, "failed to recover master node"); in ubifs_recover_master_node()
360 ubifs_err(c, "dumping first master node"); in ubifs_recover_master_node()
364 ubifs_err(c, "dumping second master node"); in ubifs_recover_master_node()
682 ubifs_err(c, "unexpected return value %d", ret); in ubifs_recover_leb()
702 ubifs_err(c, "corrupt empty space LEB %d:%d, corruption starts at %d", in ubifs_recover_leb()
788 ubifs_err(c, "corruption %d", ret); in ubifs_recover_leb()
794 ubifs_err(c, "LEB %d scanning failed", lnum); in ubifs_recover_leb()
826 ubifs_err(c, "Not a valid node"); in get_cs_sqnum()
830 ubifs_err(c, "Node a CS node, type is %d", cs_node->ch.node_type); in get_cs_sqnum()
834 ubifs_err(c, "CS node cmt_no %llu != current cmt_no %llu", in get_cs_sqnum()
[all …]
H A Dsuper.c211 ubifs_err(c, "inode is too large (%lld)", in validate_inode()
217 ubifs_err(c, "unknown compression type %d", ui->compr_type); in validate_inode()
428 ubifs_err(c, "inode %lu validation failed, error %d", inode->i_ino, err); in ubifs_iget()
435 ubifs_err(c, "failed to read inode %lu, error %d", inode->i_ino, err); in ubifs_iget()
506 ubifs_err(c, "can't write inode %lu, error %d", in ubifs_write_inode()
550 ubifs_err(c, "can't delete inode %lu, error %d", in ubifs_evict_inode()
706 ubifs_err(c, "too small LEBs (%d bytes), min. is %d bytes", in init_constants_early()
712 ubifs_err(c, "too few LEBs (%d), min. is %d", in init_constants_early()
718 ubifs_err(c, "bad min. I/O size %d", c->min_io_size); in init_constants_early()
729 ubifs_err(c, "bad write buffer size %d for %d min. I/O unit", in init_constants_early()
[all …]
H A Dlpt_commit.c319 ubifs_err(c, "LPT out of space at LEB %d:%d needing %d, done_ltab %d, done_lsave %d", in layout_cnodes()
544 ubifs_err(c, "LPT out of space mismatch at LEB %d:%d needing %d, done_ltab %d, done_lsave %d", in write_cnodes()
1645 ubifs_err(c, "cannot allocate memory for ltab checking"); in dbg_check_ltab_lnum()
1667 ubifs_err(c, "invalid empty space in LEB %d at %d", in dbg_check_ltab_lnum()
1673 ubifs_err(c, "invalid free space in LEB %d (free %d, expected %d)", in dbg_check_ltab_lnum()
1678 ubifs_err(c, "invalid dirty space in LEB %d (dirty %d, expected %d)", in dbg_check_ltab_lnum()
1732 ubifs_err(c, "failed at LEB %d", lnum); in dbg_check_ltab()
1764 ubifs_err(c, "LPT space error: free %lld lpt_sz %lld", in dbg_chk_lpt_free_spc()
1804 ubifs_err(c, "dirty pnodes %d exceed max %d", in dbg_chk_lpt_sz()
1809 ubifs_err(c, "dirty nnodes %d exceed max %d", in dbg_chk_lpt_sz()
[all …]
H A Dubifs.c139 ubifs_err(c, "cannot decompress %d bytes, compressor %s, " in crypto_comp_decompress()
174 ubifs_err(c, "invalid compression type %d", compr_type); in ubifs_decompress()
181 ubifs_err(c, "%s compression is not compiled in", compr->name); in ubifs_decompress()
198 ubifs_err(c, "cannot decompress %d bytes, compressor %s," in ubifs_decompress()
382 ubifs_err(c, "cannot find next direntry, error %d", err); in ubifs_printdir()
727 ubifs_err(c, "bad data node (block %u, inode %lu)", in read_block()
831 ubifs_err(c, "cannot read page %lu of inode %lu, error %d", in do_readpage()
H A Dlpt.c144 ubifs_err(c, "too few LPT LEBs"); in ubifs_calc_lpt_geom()
150 ubifs_err(c, "LPT ltab too big"); in ubifs_calc_lpt_geom()
212 ubifs_err(c, "LPT ltab too big"); in calc_dflt_lpt_geom()
920 ubifs_err(c, "invalid crc in LPT node: crc %hx calc %hx", in check_lpt_crc()
944 ubifs_err(c, "invalid type (%d) in LPT node type %d", in check_lpt_type()
1245 ubifs_err(c, "error %d reading nnode at %d:%d", err, lnum, offs); in ubifs_read_nnode()
1310 ubifs_err(c, "error %d reading pnode at %d:%d", err, lnum, offs); in read_pnode()
1313 ubifs_err(c, "calc num: %d", calc_pnode_num_from_parent(c, parent, iip)); in read_pnode()
2105 ubifs_err(c, "pnode num %d expected %d parent num %d iip %d", in dbg_chk_pnode()
2120 ubifs_err(c, "bad LEB number %d expected %d", in dbg_chk_pnode()
[all …]
H A Dmaster.c79 ubifs_err(c, "unexpected node type %d master LEB %d:%d", in scan_for_master()
237 ubifs_err(c, "bad master node at offset %d error %d", c->mst_offs, err); in validate_master()
313 ubifs_err(c, "bad leb_cnt on master node"); in ubifs_read_master()
H A Dtnc.c101 ubifs_err(c, "old idx added twice!"); in insert_old_idx()
462 ubifs_err(c, "cannot read node type %d from LEB %d:%d, error %d", in try_read_node()
1703 ubifs_err(c, "bad node type (%d but expected %d)", in validate_data_node()
1710 ubifs_err(c, "expected node type %d", UBIFS_DATA_NODE); in validate_data_node()
1716 ubifs_err(c, "bad node length %d, expected %d", len, zbr->len); in validate_data_node()
1723 ubifs_err(c, "bad key in node at LEB %d:%d", in validate_data_node()
1735 ubifs_err(c, "bad node at LEB %d:%d", zbr->lnum, zbr->offs); in validate_data_node()
1760 ubifs_err(c, "buffer too small %d vs %d", bu->buf_len, len); in ubifs_tnc_bulk_read()
1776 ubifs_err(c, "failed to read from LEB %d:%d, error %d", in ubifs_tnc_bulk_read()
3336 ubifs_err(c, "inode %lu has size %lld, but there are data at offset %lld", in dbg_check_inode_size()
H A Dlog.c691 ubifs_err(c, "log is too full"); in ubifs_consolidate_log()
738 ubifs_err(c, "bad bud_bytes %lld, calculated %lld", in dbg_check_bud_bytes()
H A Dubifs.h630 #define ubifs_err(c, fmt, ...) \ macro
640 #define ubifs_err(c, fmt, ...) \ macro
659 ubifs_err(c, fmt, ##__VA_ARGS__); \
H A Dbudget.c508 ubifs_err(c, "cannot budget space, error %d", err); in ubifs_budget_space()