Home
last modified time | relevance | path

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

12

/linux-6.1.9/fs/ubifs/
Dauth.c148 ubifs_err(c, "hash mismatch on node at LEB %d:%d", lnum, offs); in ubifs_bad_hash()
149 ubifs_err(c, "hash expected: %*ph%s", len, hash, cont); in ubifs_bad_hash()
150 ubifs_err(c, "hash calculated: %*ph%s", len, calc, cont); in ubifs_bad_hash()
206 ubifs_err(c, "Unable to find signature node"); in ubifs_sb_verify_signature()
214 ubifs_err(c, "Signature node is of wrong type"); in ubifs_sb_verify_signature()
222 ubifs_err(c, "invalid signature len %d", le32_to_cpu(signode->len)); in ubifs_sb_verify_signature()
228 ubifs_err(c, "Signature type %d is not supported\n", in ubifs_sb_verify_signature()
240 ubifs_err(c, "Failed to verify signature"); in ubifs_sb_verify_signature()
264 ubifs_err(c, "authentication hash name needed with authentication"); in ubifs_init_authentication()
271 ubifs_err(c, "Unknown hash algo %s specified", in ubifs_init_authentication()
[all …]
Dscan.c91 ubifs_err(c, "bad pad node at LEB %d:%d", in ubifs_scan_a_node()
101 ubifs_err(c, "bad padding length %d - %d", in ubifs_scan_a_node()
143 ubifs_err(c, "cannot read %d bytes from LEB %d:%d, error %d", in ubifs_start_scan()
230 ubifs_err(c, "corruption at LEB %d:%d", lnum, offs); in ubifs_scanned_corruption()
234 ubifs_err(c, "first %d bytes from LEB %d:%d", len, lnum, offs); in ubifs_scanned_corruption()
289 ubifs_err(c, "garbage"); in ubifs_scan()
295 ubifs_err(c, "bad node"); in ubifs_scan()
298 ubifs_err(c, "unknown"); in ubifs_scan()
315 ubifs_err(c, "empty space starts at non-aligned offset %d", in ubifs_scan()
328 ubifs_err(c, "corrupt empty space at LEB %d:%d", in ubifs_scan()
[all …]
Dtnc_misc.c298 ubifs_err(c, "current fanout %d, branch count %d", in read_znode()
300 ubifs_err(c, "max levels %d, znode level %d", in read_znode()
322 ubifs_err(c, "bad branch %d", i); in read_znode()
334 ubifs_err(c, "bad key type at slot %d: %d", in read_znode()
346 ubifs_err(c, "bad target node (type %d) length (%d)", in read_znode()
348 ubifs_err(c, "have to be %d", c->ranges[type].len); in read_znode()
354 ubifs_err(c, "bad target node (type %d) length (%d)", in read_znode()
356 ubifs_err(c, "have to be in range of %d-%d", in read_znode()
376 ubifs_err(c, "bad key order (keys %d and %d)", i, i + 1); in read_znode()
381 ubifs_err(c, "keys %d and %d are not hashed but equivalent", in read_znode()
[all …]
Dlprops.c671 ubifs_err(c, "cannot change properties of LEB %d, error %d", in ubifs_change_one_lp()
710 ubifs_err(c, "cannot update properties of LEB %d, error %d", in ubifs_update_one_lp()
735 ubifs_err(c, "cannot read properties of LEB %d, error %d", in ubifs_read_one_lp()
862 ubifs_err(c, "non-empty LEB %d on empty list (free %d dirty %d flags %d)", in dbg_check_cats()
868 ubifs_err(c, "taken LEB %d on empty list (free %d dirty %d flags %d)", in dbg_check_cats()
878 ubifs_err(c, "non-freeable LEB %d on freeable list (free %d dirty %d flags %d)", in dbg_check_cats()
884 ubifs_err(c, "taken LEB %d on freeable list (free %d dirty %d flags %d)", in dbg_check_cats()
892 ubifs_err(c, "freeable list count %d expected %d", i, in dbg_check_cats()
901 ubifs_err(c, "idx_gc list count %d expected %d", i, in dbg_check_cats()
908 ubifs_err(c, "non-freeable LEB %d on frdi_idx list (free %d dirty %d flags %d)", in dbg_check_cats()
[all …]
Ddebug.c784 ubifs_err(c, "cannot read lprops for LEB %d", lnum); in ubifs_dump_lprops()
841 ubifs_err(c, "cannot allocate memory for dumping LEB %d", lnum); in ubifs_dump_leb()
847 ubifs_err(c, "scan error %d", (int)PTR_ERR(sleb)); in ubifs_dump_leb()
1054 ubifs_err(c, "free space changed from %lld to %lld", in dbg_check_space_info()
1099 ubifs_err(c, "ui_size is %lld, synced_i_size is %lld, but inode is clean", in dbg_check_synced_i_size()
1101 ubifs_err(c, "i_ino %lu, i_mode %#x, i_size %lld", inode->i_ino, in dbg_check_synced_i_size()
1163 ubifs_err(c, "directory inode %lu has size %llu, but calculated size is %llu", in dbg_check_dir()
1171 ubifs_err(c, "directory inode %lu has nlink %u, but calculated nlink is %u", in dbg_check_dir()
1230 ubifs_err(c, "1st entry at %d:%d has key %s", zbr1->lnum, in dbg_check_key_order()
1233 ubifs_err(c, "but it should have key %s according to tnc", in dbg_check_key_order()
[all …]
Dsb.c395 ubifs_err(c, "min. I/O unit mismatch: %d in superblock, %d real", in validate_sb()
401 ubifs_err(c, "LEB size mismatch: %d in superblock, %d real", in validate_sb()
423 ubifs_err(c, "bad LEB count: %d in superblock, %d on UBI volume, %d minimum required", in validate_sb()
429 ubifs_err(c, "max. LEB count %d less than LEB count %d", in validate_sb()
435 ubifs_err(c, "too few main LEBs count %d, must be at least %d", in validate_sb()
442 ubifs_err(c, "too small journal (%lld bytes), must be at least %lld bytes", in validate_sb()
449 ubifs_err(c, "too large journal size (%lld bytes), only %lld bytes available in the main area", in validate_sb()
508 ubifs_err(c, "bad superblock, error %d", err); in validate_sb()
550 ubifs_err(c, "authenticated FS forced, but found FS without authentication"); in authenticate_sb_node()
555 ubifs_err(c, "authenticated FS found, but no key given"); in authenticate_sb_node()
[all …]
Dreplay.c491 ubifs_err(c, "bad %s node", key_type == UBIFS_DENT_KEY ? in ubifs_validate_entry()
497 ubifs_err(c, "bad key type %d", key_type); in ubifs_validate_entry()
728 ubifs_err(c, "file system's life ended"); in replay_bud()
788 ubifs_err(c, "bad truncation node"); in replay_bud()
805 ubifs_err(c, "unexpected node type %d in bud LEB %d:%d", in replay_bud()
832 ubifs_err(c, "bad node is at LEB %d:%d", lnum, snod->offs); in replay_bud()
964 ubifs_err(c, "bud at LEB %d:%d was already referred", lnum, offs); in validate_ref()
1020 ubifs_err(c, "first log node at LEB %d:%d is not CS node", in replay_log_leb()
1025 ubifs_err(c, "first CS node at LEB %d:%d has wrong commit number %llu expected %llu", in replay_log_leb()
1058 ubifs_err(c, "first node is not at zero offset"); in replay_log_leb()
[all …]
Dcrypto.c56 ubifs_err(c, "fscrypt_encrypt_block_inplace() failed: %d", err); in ubifs_encrypt()
73 ubifs_err(c, "bad compr_size: %i", clen); in ubifs_decrypt()
82 ubifs_err(c, "fscrypt_decrypt_block_inplace() failed: %d", err); in ubifs_decrypt()
Dio.c98 ubifs_err(c, "reading %d bytes from LEB %d:%d failed, error %d", in ubifs_leb_read()
118 ubifs_err(c, "writing %d bytes to LEB %d:%d failed, error %d", in ubifs_leb_write()
138 ubifs_err(c, "changing %d bytes in LEB %d failed, error %d", in ubifs_leb_change()
158 ubifs_err(c, "unmap LEB %d failed, error %d", lnum, err); in ubifs_leb_unmap()
177 ubifs_err(c, "mapping LEB %d failed, error %d", lnum, err); in ubifs_leb_map()
190 ubifs_err(c, "ubi_is_mapped failed for LEB %d, error %d", in ubifs_is_mapped()
257 ubifs_err(c, "bad magic %#08x, expected %#08x", in ubifs_check_node()
267 ubifs_err(c, "bad node type %d", type); in ubifs_check_node()
291 ubifs_err(c, "bad CRC: calculated %#08x, read %#08x", in ubifs_check_node()
302 ubifs_err(c, "bad node length %d", node_len); in ubifs_check_node()
[all …]
Dorphan.c73 ubifs_err(c, "orphaned twice"); in orphan_add()
216 ubifs_err(c, "missing orphan ino %lu", (unsigned long)inum); in ubifs_delete_orphan()
360 ubifs_err(c, "out of space in orphan area"); in write_orph_node()
470 ubifs_err(c, "out of space in orphan area"); in consolidate()
647 ubifs_err(c, "invalid node type %d in orphan area at %d:%d", in do_kill_orphans()
676 ubifs_err(c, "out of order commit number %llu in orphan node at %d:%d", in do_kill_orphans()
930 ubifs_err(c, "found orphan node ino %lu, type %d", in dbg_orphan_check()
936 ubifs_err(c, "node read failed, error %d", err); in dbg_orphan_check()
943 ubifs_err(c, "missing orphan, ino %lu", in dbg_orphan_check()
986 ubifs_err(c, "cannot allocate memory to check orphans"); in dbg_scan_orphans()
[all …]
Drecovery.c352 ubifs_err(c, "failed to recover master node"); in ubifs_recover_master_node()
354 ubifs_err(c, "dumping first master node"); in ubifs_recover_master_node()
358 ubifs_err(c, "dumping second master node"); in ubifs_recover_master_node()
673 ubifs_err(c, "unexpected return value %d", ret); in ubifs_recover_leb()
693 ubifs_err(c, "corrupt empty space LEB %d:%d, corruption starts at %d", in ubifs_recover_leb()
779 ubifs_err(c, "corruption %d", ret); in ubifs_recover_leb()
785 ubifs_err(c, "LEB %d scanning failed", lnum); in ubifs_recover_leb()
817 ubifs_err(c, "Not a valid node"); in get_cs_sqnum()
821 ubifs_err(c, "Not a CS node, type is %d", cs_node->ch.node_type); in get_cs_sqnum()
825 ubifs_err(c, "CS node cmt_no %llu != current cmt_no %llu", in get_cs_sqnum()
[all …]
Dxattr.c92 ubifs_err(c, "inode %lu already has too many xattrs (%d), cannot create more", in create_xattr()
104ubifs_err(c, "cannot add one more xattr name to inode %lu, total names length would become %d, max… in create_xattr()
252 ubifs_err(c, "dead extended attribute entry, error %d", in iget_xattr()
258 ubifs_err(c, "corrupt extended attribute entry"); in iget_xattr()
449 ubifs_err(c, "cannot find next direntry, error %d", err); in ubifs_listxattr()
532 ubifs_err(c, "dead directory entry '%s', error %d", in ubifs_purge_xattrs()
548 ubifs_err(c, "cannot remove xattr, error %d", err); in ubifs_purge_xattrs()
562 ubifs_err(c, "cannot find next direntry, error %d", err); in ubifs_purge_xattrs()
683 ubifs_err(c, "cannot initialize security for inode %lu, error %d", in ubifs_init_security()
Dcompress.c160 ubifs_err(c, "invalid compression type %d", compr_type); in ubifs_decompress()
167 ubifs_err(c, "%s compression is not compiled in", compr->name); in ubifs_decompress()
184 ubifs_err(c, "cannot decompress %d bytes, compressor %s, error %d", in ubifs_decompress()
Dsuper.c79 ubifs_err(c, "inode is too large (%lld)", in validate_inode()
85 ubifs_err(c, "unknown compression type %d", ui->compr_type); in validate_inode()
255 ubifs_err(c, "inode %lu validation failed, error %d", inode->i_ino, err); in ubifs_iget()
262 ubifs_err(c, "failed to read inode %lu, error %d", inode->i_ino, err); in ubifs_iget()
328 ubifs_err(c, "can't write inode %lu, error %d", in ubifs_write_inode()
382 ubifs_err(c, "can't delete inode %lu, error %d", in ubifs_evict_inode()
698 ubifs_err(c, "too small LEB size %d, at least %d needed", in init_constants_sb()
713 ubifs_err(c, "too small log %d LEBs, required min. %d LEBs", in init_constants_sb()
805 ubifs_err(c, "no LEB for GC"); in take_gc_lnum()
902 ubifs_err(c, "orphan list not empty at unmount"); in free_orphans()
[all …]
Dlpt_commit.c311 ubifs_err(c, "LPT out of space at LEB %d:%d needing %d, done_ltab %d, done_lsave %d", in layout_cnodes()
535 ubifs_err(c, "LPT out of space mismatch at LEB %d:%d needing %d, done_ltab %d, done_lsave %d", in write_cnodes()
1601 ubifs_err(c, "cannot allocate memory for ltab checking"); in dbg_check_ltab_lnum()
1623 ubifs_err(c, "invalid empty space in LEB %d at %d", in dbg_check_ltab_lnum()
1629 ubifs_err(c, "invalid free space in LEB %d (free %d, expected %d)", in dbg_check_ltab_lnum()
1634 ubifs_err(c, "invalid dirty space in LEB %d (dirty %d, expected %d)", in dbg_check_ltab_lnum()
1688 ubifs_err(c, "failed at LEB %d", lnum); in dbg_check_ltab()
1720 ubifs_err(c, "LPT space error: free %lld lpt_sz %lld", in dbg_chk_lpt_free_spc()
1760 ubifs_err(c, "dirty pnodes %d exceed max %d", in dbg_chk_lpt_sz()
1765 ubifs_err(c, "dirty nnodes %d exceed max %d", in dbg_chk_lpt_sz()
[all …]
Dmaster.c139 ubifs_err(c, "Failed to verify master node hash"); in scan_for_master()
145 ubifs_err(c, "Failed to verify master node HMAC"); in scan_for_master()
158 ubifs_err(c, "unexpected node type %d master LEB %d:%d", in scan_for_master()
316 ubifs_err(c, "bad master node at offset %d error %d", c->mst_offs, err); in validate_master()
394 ubifs_err(c, "bad leb_cnt on master node"); in ubifs_read_master()
Dlpt.c136 ubifs_err(c, "too few LPT LEBs"); in ubifs_calc_lpt_geom()
142 ubifs_err(c, "LPT ltab too big"); in ubifs_calc_lpt_geom()
204 ubifs_err(c, "LPT ltab too big"); in calc_dflt_lpt_geom()
934 ubifs_err(c, "invalid crc in LPT node: crc %hx calc %hx", in check_lpt_crc()
958 ubifs_err(c, "invalid type (%d) in LPT node type %d", in check_lpt_type()
1257 ubifs_err(c, "error %d reading nnode at %d:%d", err, lnum, offs); in ubifs_read_nnode()
1322 ubifs_err(c, "error %d reading pnode at %d:%d", err, lnum, offs); in read_pnode()
1325 ubifs_err(c, "calc num: %d", calc_pnode_num_from_parent(c, parent, iip)); in read_pnode()
1762 ubifs_err(c, "Failed to authenticate LPT"); in lpt_check_hash()
2256 ubifs_err(c, "pnode num %d expected %d parent num %d iip %d", in dbg_chk_pnode()
[all …]
Dcommit.c216 ubifs_err(c, "commit failed, error %d", err); in do_commit()
703 ubifs_err(c, "dumping index node (iip=%d)", i->iip); in dbg_check_old_index()
709 ubifs_err(c, "dumping parent index node"); in dbg_check_old_index()
718 ubifs_err(c, "failed, error %d", err); in dbg_check_old_index()
Ddir.c106 ubifs_err(c, "fscrypt_prepare_new_inode failed: %i", err); in ubifs_new_inode()
148 ubifs_err(c, "out of inode numbers"); in ubifs_new_inode()
170 ubifs_err(c, "fscrypt_set_context failed: %i", err); in ubifs_new_inode()
256 ubifs_err(c, "dead directory entry '%pd', error %d", in ubifs_lookup()
351 ubifs_err(c, "cannot create regular file, error %d", err); in ubifs_create()
399 ubifs_err(c, "cannot create whiteout file, error %d", err); in create_whiteout()
509 ubifs_err(c, "cannot create temporary file, error %d", err); in ubifs_tmpfile()
703 ubifs_err(c, "cannot find next direntry, error %d", err); in ubifs_readdir()
1030 ubifs_err(c, "cannot create directory, error %d", err); in ubifs_mkdir()
Dmisc.c23 void ubifs_err(const struct ubifs_info *c, const char *fmt, ...) in ubifs_err() function
Dtnc_commit.c46 ubifs_err(c, "bad ref in znode"); in make_idx_node()
460 ubifs_err(c, "out of space"); in layout_in_empty_space()
879 ubifs_err(c, "bad ref in znode"); in write_index()
918 ubifs_err(c, "inconsistent znode posn"); in write_index()
1016 ubifs_err(c, "inconsistent ihead"); in write_index()
Dsysfs.c126 ubifs_err(c, "cannot create sysfs entry for ubifs%d_%d, error %d\n", in ubifs_sysfs_register()
Dtnc.c94 ubifs_err(c, "old idx added twice!"); in insert_old_idx()
454 ubifs_err(c, "cannot read node type %d from LEB %d:%d, error %d", in try_read_node()
1697 ubifs_err(c, "bad node type (%d but expected %d)", in validate_data_node()
1704 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()
3521 ubifs_err(c, "inode %lu has size %lld, but there are data at offset %lld", in dbg_check_inode_size()
Dfile.c93 ubifs_err(c, "bad data node (block %u, inode %lu)", in read_block()
166 ubifs_err(c, "cannot read page %lu of inode %lu, error %d", in do_readpage()
703 ubifs_err(c, "bad data node (block %u, inode %lu)", in populate_page()
939 ubifs_err(c, "cannot write page %lu of inode %lu, error %d", in do_writepage()
Dlog.c708 ubifs_err(c, "log is too full"); in ubifs_consolidate_log()
755 ubifs_err(c, "bad bud_bytes %lld, calculated %lld", in dbg_check_bud_bytes()

12