Home
last modified time | relevance | path

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

/linux/fs/ubifs/
H A Dauth.c147 ubifs_err(c, "hash mismatch on node at LEB %d:%d", lnum, offs); in ubifs_bad_hash()
148 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()
221 ubifs_err(c, "invalid signature len %d", le32_to_cpu(signode->len)); 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()
263 ubifs_err(c, "authentication hash name needed with authentication"); in ubifs_init_authentication()
270 ubifs_err(c, "Unknown hash algo %s specified", 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()
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 …]
H A 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 …]
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()
343 ubifs_err(c, "bad branch %d", i); in read_znode()
354 ubifs_err(c, "bad key type at slot %d: %d", in read_znode()
365 ubifs_err(c, "bad target node (type %d) length (%d)", in read_znode()
367 ubifs_err(c, "have to be %d", c->ranges[type].len); in read_znode()
372 ubifs_err(c, "bad target node (type %d) length (%d)", in read_znode()
374 ubifs_err(c, "have to be in range of %d-%d", in read_znode()
393 ubifs_err(c, "bad key order (keys %d and %d)", i, i + 1); in read_znode()
397 ubifs_err(c, "keys %d and %d are not hashed but equivalent", in read_znode()
[all …]
H A 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 …]
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()
545 ubifs_err(c, "invalid node type %d in orphan area at %d:%d", in do_kill_orphans()
574 ubifs_err(c, "out of order commit number %llu in orphan node at %d:%d", in do_kill_orphans()
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()
[all …]
H A 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 …]
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 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 …]
H A 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()
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()
[all …]
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()
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 …]
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 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 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()
459 ubifs_err(c, "out of space"); in layout_in_empty_space()
880 ubifs_err(c, "bad ref in znode"); in write_index()
919 ubifs_err(c, "inconsistent znode posn"); in write_index()
1017 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 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()
H A Ddebug.h153 ubifs_err(c, "commit lock is not locked!\n"); \
H A Dbudget.c496 ubifs_err(c, "cannot budget space, error %d", err); in ubifs_budget_space()