Home
last modified time | relevance | path

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

12

/linux-6.15/fs/ubifs/
H A Dauth.c148 ubifs_err(c, "hash expected: %*ph%s", len, hash, cont); in ubifs_bad_hash()
149 ubifs_err(c, "hash calculated: %*ph%s", len, calc, cont); in ubifs_bad_hash()
205 ubifs_err(c, "Unable to find signature node"); in ubifs_sb_verify_signature()
213 ubifs_err(c, "Signature node is of wrong type"); in ubifs_sb_verify_signature()
227 ubifs_err(c, "Signature type %d is not supported\n", in ubifs_sb_verify_signature()
239 ubifs_err(c, "Failed to verify signature"); in ubifs_sb_verify_signature()
270 ubifs_err(c, "Unknown hash algo %s specified", in ubifs_init_authentication()
281 ubifs_err(c, "Failed to request key: %ld", in ubifs_init_authentication()
289 ubifs_err(c, "key type must be logon"); in ubifs_init_authentication()
304 ubifs_err(c, "Can not allocate %s: %d", in ubifs_init_authentication()
[all …]
H A 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()
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()
338 ubifs_err(c, "LEB %d scanning failed", lnum); in ubifs_scan()
[all …]
H A Dlprops.c901 ubifs_err(c, "idx_gc list count %d expected %d", i, in dbg_check_cats()
933 ubifs_err(c, "null ptr in LPT heap cat %d", cat); in dbg_check_cats()
937 ubifs_err(c, "bad ptr in LPT heap cat %d", cat); in dbg_check_cats()
941 ubifs_err(c, "taken LEB in LPT heap cat %d", cat); in dbg_check_cats()
1029 ubifs_err(c, "bad LEB category %d expected %d", in scan_check_cb()
1064 ubifs_err(c, "bad LPT list (category %d)", cat); in scan_check_cb()
1076 ubifs_err(c, "bad LPT heap (category %d)", cat); in scan_check_cb()
1123 ubifs_err(c, "indexing node in data LEB %d:%d", in scan_check_cb()
1202 ubifs_err(c, "data node with indexing flag"); in scan_check_cb()
1282 ubifs_err(c, "bad overall accounting"); in dbg_check_lprops()
[all …]
H A Dtnc_misc.c320 ubifs_err(c, "current fanout %d, branch count %d", in read_znode()
322 ubifs_err(c, "max levels %d, znode level %d", in read_znode()
344 ubifs_err(c, "bad branch %d", i); in read_znode()
356 ubifs_err(c, "bad key type at slot %d: %d", in read_znode()
368 ubifs_err(c, "bad target node (type %d) length (%d)", in read_znode()
370 ubifs_err(c, "have to be %d", c->ranges[type].len); in read_znode()
376 ubifs_err(c, "bad target node (type %d) length (%d)", in read_znode()
378 ubifs_err(c, "have to be in range of %d-%d", in read_znode()
398 ubifs_err(c, "bad key order (keys %d and %d)", i, i + 1); in read_znode()
403 ubifs_err(c, "keys %d and %d are not hashed but equivalent", in read_znode()
[all …]
H A Ddebug.c1266 ubifs_err(c, "bad order of colliding key %s", in dbg_check_key_order()
1473 ubifs_err(c, "failed, error %d", err); in dbg_check_znode()
1961 ubifs_err(c, "bad node %lu node length %d", in read_add_inode()
2015 ubifs_err(c, "bad leaf length %d (LEB %d:%d)", in check_leaf()
2251 ubifs_err(c, "inode %lu not found in index", in check_inodes()
2345 ubifs_err(c, "bad node type %d", sa->type); in dbg_check_data_nodes_order()
2350 ubifs_err(c, "bad node type %d", sb->type); in dbg_check_data_nodes_order()
2413 ubifs_err(c, "bad node type %d", sa->type); in dbg_check_nondata_nodes_order()
2419 ubifs_err(c, "bad node type %d", sb->type); in dbg_check_nondata_nodes_order()
2435 ubifs_err(c, "smaller inode node goes first"); in dbg_check_nondata_nodes_order()
[all …]
H A Dsb.c401 ubifs_err(c, "LEB size mismatch: %d in superblock, %d real", in validate_sb()
429 ubifs_err(c, "max. LEB count %d less than LEB count %d", in validate_sb()
508 ubifs_err(c, "bad superblock, error %d", err); in validate_sb()
555 ubifs_err(c, "authenticated FS found, but no key given"); in authenticate_sb_node()
570 ubifs_err(c, "superblock uses unknown hash algo %d", in authenticate_sb_node()
576 ubifs_err(c, "This filesystem uses %s for hashing," in authenticate_sb_node()
594 ubifs_err(c, "provided key does not fit"); in authenticate_sb_node()
603 ubifs_err(c, "Failed to authenticate superblock: %d", err); in authenticate_sb_node()
685 ubifs_err(c, "on-flash format version %d is not supported", in ubifs_read_superblock()
710 ubifs_err(c, "unsupported key format"); in ubifs_read_superblock()
[all …]
H A Dreplay.c493 ubifs_err(c, "bad %s node", key_type == UBIFS_DENT_KEY ? in ubifs_validate_entry()
499 ubifs_err(c, "bad key type %d", key_type); in ubifs_validate_entry()
730 ubifs_err(c, "file system's life ended"); in replay_bud()
790 ubifs_err(c, "bad truncation node"); in replay_bud()
807 ubifs_err(c, "unexpected node type %d in bud LEB %d:%d", in replay_bud()
1060 ubifs_err(c, "first node is not at zero offset"); in replay_log_leb()
1068 ubifs_err(c, "file system's life ended"); in replay_log_leb()
1073 ubifs_err(c, "bad sqnum %llu, commit sqnum %llu", in replay_log_leb()
1108 ubifs_err(c, "unexpected node in log"); in replay_log_leb()
1113 ubifs_err(c, "unexpected node in log"); in replay_log_leb()
[all …]
H A Dorphan.c79 ubifs_err(c, "ino %lu orphaned twice", (unsigned long)inum); in ubifs_add_orphan()
165 ubifs_err(c, "missing orphan ino %lu", (unsigned long)inum); in ubifs_delete_orphan()
304 ubifs_err(c, "out of space in orphan area"); in write_orph_node()
414 ubifs_err(c, "out of space in orphan area"); in consolidate()
825 ubifs_err(c, "found orphan node ino %lu, type %d", in dbg_orphan_check()
831 ubifs_err(c, "node read failed, error %d", err); in dbg_orphan_check()
838 ubifs_err(c, "missing orphan, ino %lu", in dbg_orphan_check()
881 ubifs_err(c, "cannot allocate memory to check orphans"); in dbg_scan_orphans()
919 ubifs_err(c, "out of memory"); in dbg_check_orphans()
929 ubifs_err(c, "cannot scan TNC, error %d", err); in dbg_check_orphans()
[all …]
H A Dio.c158 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()
305 ubifs_err(c, "bad node at LEB %d:%d", lnum, offs); in ubifs_check_node()
1057 ubifs_err(c, "bad node type (%d but expected %d)", in ubifs_read_node_wbuf()
1064 ubifs_err(c, "expected node type %d", type); in ubifs_read_node_wbuf()
[all …]
H A 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()
H A Dcompress.c214 ubifs_err(c, "cannot decompress %d bytes, compressor %s, error %d", in ubifs_decompress_req()
241 ubifs_err(c, "invalid compression type %d", compr_type); in ubifs_decompress()
248 ubifs_err(c, "%s compression is not compiled in", compr->name); in ubifs_decompress()
289 ubifs_err(c, "invalid compression type %d", compr_type); in ubifs_decompress_folio()
296 ubifs_err(c, "%s compression is not compiled in", compr->name); in ubifs_decompress_folio()
H A 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()
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()
838 ubifs_err(c, "failed to get CS sqnum"); in get_cs_sqnum()
1028 ubifs_err(c, "unexpected empty space at %d:%d", in clean_an_unclean_leb()
1122 ubifs_err(c, "could not find an empty LEB"); in grab_empty_leb()
[all …]
H A Dxattr.c79 ubifs_err(c, "inode %lu already has too many xattrs (%d), cannot create more", in create_xattr()
91ubifs_err(c, "cannot add one more xattr name to inode %lu, total names length would become %d, max… in create_xattr()
239 ubifs_err(c, "dead extended attribute entry, error %d", in iget_xattr()
245 ubifs_err(c, "corrupt extended attribute entry"); in iget_xattr()
436 ubifs_err(c, "cannot find next direntry, error %d", err); in ubifs_listxattr()
519 ubifs_err(c, "dead directory entry '%s', error %d", in ubifs_purge_xattrs()
531 ubifs_err(c, "cannot remove xattr, error %d", err); in ubifs_purge_xattrs()
543 ubifs_err(c, "cannot find next direntry, error %d", err); in ubifs_purge_xattrs()
644 ubifs_err(c, "cannot initialize security for inode %lu, error %d", in ubifs_init_security()
H A Dlpt_commit.c1601 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()
1687 ubifs_err(c, "failed at LEB %d", lnum); in dbg_check_ltab()
1719 ubifs_err(c, "LPT space error: free %lld lpt_sz %lld", in dbg_chk_lpt_free_spc()
1759 ubifs_err(c, "dirty pnodes %d exceed max %d", in dbg_chk_lpt_sz()
1764 ubifs_err(c, "dirty nnodes %d exceed max %d", in dbg_chk_lpt_sz()
1782 ubifs_err(c, "LPT wrote %lld but space used was %lld", in dbg_chk_lpt_sz()
1787 ubifs_err(c, "LPT wrote %lld but lpt_sz is %lld", in dbg_chk_lpt_sz()
1792 ubifs_err(c, "LPT layout size %lld but wrote %lld", in dbg_chk_lpt_sz()
1797 ubifs_err(c, "LPT new nhead offs: expected %d was %d", in dbg_chk_lpt_sz()
[all …]
H A Dsuper.c75 ubifs_err(c, "inode is too large (%lld)", in validate_inode()
81 ubifs_err(c, "unknown compression type %d", ui->compr_type); in validate_inode()
324 ubifs_err(c, "can't write inode %lu, error %d", in ubifs_write_inode()
378 ubifs_err(c, "can't delete inode %lu, error %d", in ubifs_evict_inode()
801 ubifs_err(c, "no LEB for GC"); in take_gc_lnum()
907 ubifs_err(c, "orphan list not empty at unmount"); in free_orphans()
1301 ubifs_err(c, "'compressor \"%s\" is not compiled in", in mount_ubifs()
1329 ubifs_err(c, "cannot spawn \"%s\", error %d", in mount_ubifs()
1659 ubifs_err(c, "the file-system is not R/W-compatible"); in ubifs_remount_rw()
1744 ubifs_err(c, "cannot spawn \"%s\", error %d", in ubifs_remount_rw()
[all …]
H A Dmaster.c142 ubifs_err(c, "Failed to verify master node hash"); in scan_for_master()
148 ubifs_err(c, "Failed to verify master node HMAC"); in scan_for_master()
161 ubifs_err(c, "unexpected node type %d master LEB %d:%d", in scan_for_master()
319 ubifs_err(c, "bad master node at offset %d error %d", c->mst_offs, err); in validate_master()
397 ubifs_err(c, "bad leb_cnt on master node"); in ubifs_read_master()
H A 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()
958 ubifs_err(c, "invalid type (%d) in LPT node type %d", in check_lpt_type()
1762 ubifs_err(c, "Failed to authenticate LPT"); in lpt_check_hash()
2272 ubifs_err(c, "bad LEB number %d expected %d", in dbg_chk_pnode()
2278 ubifs_err(c, "LEB %d taken but not uncat %d", in dbg_chk_pnode()
2291 ubifs_err(c, "LEB %d index but cat %d", in dbg_chk_pnode()
2304 ubifs_err(c, "LEB %d not index but cat %d", in dbg_chk_pnode()
2352 ubifs_err(c, "LEB %d cat %d free %d dirty %d", in dbg_chk_pnode()
[all …]
H A Dcommit.c227 ubifs_err(c, "commit failed, error %d", err); in do_commit()
714 ubifs_err(c, "dumping index node (iip=%d)", i->iip); in dbg_check_old_index()
720 ubifs_err(c, "dumping parent index node"); in dbg_check_old_index()
729 ubifs_err(c, "failed, error %d", err); in dbg_check_old_index()
H A Ddir.c110 ubifs_err(c, "fscrypt_prepare_new_inode failed: %i", err); in ubifs_new_inode()
152 ubifs_err(c, "out of inode numbers"); in ubifs_new_inode()
175 ubifs_err(c, "ubifs_add_orphan failed: %i", err); in ubifs_new_inode()
190 ubifs_err(c, "fscrypt_set_context failed: %i", err); in ubifs_new_inode()
275 ubifs_err(c, "dead directory entry '%pd', error %d", in ubifs_lookup()
372 ubifs_err(c, "cannot create regular file, error %d", err); in ubifs_create()
413 ubifs_err(c, "cannot create whiteout file, error %d", err); in create_whiteout()
524 ubifs_err(c, "cannot create temporary file, error %d", err); in ubifs_tmpfile()
724 ubifs_err(c, "cannot find next direntry, error %d", err); in ubifs_readdir()
1055 ubifs_err(c, "cannot create directory, error %d", err); in ubifs_mkdir()
H A Dmisc.c23 void ubifs_err(const struct ubifs_info *c, const char *fmt, ...) in ubifs_err() function
H A 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()
881 ubifs_err(c, "bad ref in znode"); in write_index()
920 ubifs_err(c, "inconsistent znode posn"); in write_index()
1018 ubifs_err(c, "inconsistent ihead"); in write_index()
H A Dsysfs.c126 ubifs_err(c, "cannot create sysfs entry for ubifs%d_%d, error %d\n", in ubifs_sysfs_register()
H A Dtnc.c66 ubifs_err(c, "old idx added twice!"); in do_insert_old_idx()
492 ubifs_err(c, "cannot read node type %d from LEB %d:%d, error %d", in try_read_node()
1735 ubifs_err(c, "bad node type (%d but expected %d)", in validate_data_node()
1742 ubifs_err(c, "expected node type %d", UBIFS_DATA_NODE); in validate_data_node()
1754 ubifs_err(c, "bad node length %d, expected %d", len, zbr->len); in validate_data_node()
1761 ubifs_err(c, "bad key in node at LEB %d:%d", in validate_data_node()
1773 ubifs_err(c, "bad node at LEB %d:%d", zbr->lnum, zbr->offs); in validate_data_node()
1798 ubifs_err(c, "buffer too small %d vs %d", bu->buf_len, len); in ubifs_tnc_bulk_read()
1814 ubifs_err(c, "failed to read from LEB %d:%d, error %d", in ubifs_tnc_bulk_read()
3565 ubifs_err(c, "inode %lu has size %lld, but there are data at offset %lld", in dbg_check_inode_size()
H A Dfile.c93 ubifs_err(c, "bad data node (block %u, inode %lu)", in read_block()
165 ubifs_err(c, "cannot read page %lu of inode %lu, error %d", in do_readpage()
681 ubifs_err(c, "bad data node (block %u, inode %lu)", in populate_page()
914 ubifs_err(c, "cannot write folio %lu of inode %lu, error %d", in do_writepage()
H A 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