• Home
  • Raw
  • Download

Lines Matching refs:pr_err

221 	pr_err("\tmagic          %#x\n", le32_to_cpu(ch->magic));  in dump_ch()
222 pr_err("\tcrc %#x\n", le32_to_cpu(ch->crc)); in dump_ch()
223 pr_err("\tnode_type %d (%s)\n", ch->node_type, in dump_ch()
225 pr_err("\tgroup_type %d (%s)\n", ch->group_type, in dump_ch()
227 pr_err("\tsqnum %llu\n", in dump_ch()
229 pr_err("\tlen %u\n", le32_to_cpu(ch->len)); in dump_ch()
241 pr_err("Dump in-memory inode:"); in ubifs_dump_inode()
242 pr_err("\tinode %lu\n", inode->i_ino); in ubifs_dump_inode()
243 pr_err("\tsize %llu\n", in ubifs_dump_inode()
245 pr_err("\tnlink %u\n", inode->i_nlink); in ubifs_dump_inode()
246 pr_err("\tuid %u\n", (unsigned int)i_uid_read(inode)); in ubifs_dump_inode()
247 pr_err("\tgid %u\n", (unsigned int)i_gid_read(inode)); in ubifs_dump_inode()
248 pr_err("\tatime %u.%u\n", in ubifs_dump_inode()
251 pr_err("\tmtime %u.%u\n", in ubifs_dump_inode()
254 pr_err("\tctime %u.%u\n", in ubifs_dump_inode()
257 pr_err("\tcreat_sqnum %llu\n", ui->creat_sqnum); in ubifs_dump_inode()
258 pr_err("\txattr_size %u\n", ui->xattr_size); in ubifs_dump_inode()
259 pr_err("\txattr_cnt %u\n", ui->xattr_cnt); in ubifs_dump_inode()
260 pr_err("\txattr_names %u\n", ui->xattr_names); in ubifs_dump_inode()
261 pr_err("\tdirty %u\n", ui->dirty); in ubifs_dump_inode()
262 pr_err("\txattr %u\n", ui->xattr); in ubifs_dump_inode()
263 pr_err("\tbulk_read %u\n", ui->xattr); in ubifs_dump_inode()
264 pr_err("\tsynced_i_size %llu\n", in ubifs_dump_inode()
266 pr_err("\tui_size %llu\n", in ubifs_dump_inode()
268 pr_err("\tflags %d\n", ui->flags); in ubifs_dump_inode()
269 pr_err("\tcompr_type %d\n", ui->compr_type); in ubifs_dump_inode()
270 pr_err("\tlast_page_read %lu\n", ui->last_page_read); in ubifs_dump_inode()
271 pr_err("\tread_in_a_row %lu\n", ui->read_in_a_row); in ubifs_dump_inode()
272 pr_err("\tdata_len %d\n", ui->data_len); in ubifs_dump_inode()
277 pr_err("List of directory entries:\n"); in ubifs_dump_inode()
285 pr_err("error %ld\n", PTR_ERR(dent)); in ubifs_dump_inode()
289 pr_err("\t%d: %s (%s)\n", in ubifs_dump_inode()
311 pr_err("Not a node, first %zu bytes:", UBIFS_CH_SZ); in ubifs_dump_node()
325 pr_err("\tpad_len %u\n", le32_to_cpu(pad->pad_len)); in ubifs_dump_node()
333 pr_err("\tkey_hash %d (%s)\n", in ubifs_dump_node()
335 pr_err("\tkey_fmt %d (%s)\n", in ubifs_dump_node()
337 pr_err("\tflags %#x\n", sup_flags); in ubifs_dump_node()
338 pr_err("\tbig_lpt %u\n", in ubifs_dump_node()
340 pr_err("\tspace_fixup %u\n", in ubifs_dump_node()
342 pr_err("\tmin_io_size %u\n", le32_to_cpu(sup->min_io_size)); in ubifs_dump_node()
343 pr_err("\tleb_size %u\n", le32_to_cpu(sup->leb_size)); in ubifs_dump_node()
344 pr_err("\tleb_cnt %u\n", le32_to_cpu(sup->leb_cnt)); in ubifs_dump_node()
345 pr_err("\tmax_leb_cnt %u\n", le32_to_cpu(sup->max_leb_cnt)); in ubifs_dump_node()
346 pr_err("\tmax_bud_bytes %llu\n", in ubifs_dump_node()
348 pr_err("\tlog_lebs %u\n", le32_to_cpu(sup->log_lebs)); in ubifs_dump_node()
349 pr_err("\tlpt_lebs %u\n", le32_to_cpu(sup->lpt_lebs)); in ubifs_dump_node()
350 pr_err("\torph_lebs %u\n", le32_to_cpu(sup->orph_lebs)); in ubifs_dump_node()
351 pr_err("\tjhead_cnt %u\n", le32_to_cpu(sup->jhead_cnt)); in ubifs_dump_node()
352 pr_err("\tfanout %u\n", le32_to_cpu(sup->fanout)); in ubifs_dump_node()
353 pr_err("\tlsave_cnt %u\n", le32_to_cpu(sup->lsave_cnt)); in ubifs_dump_node()
354 pr_err("\tdefault_compr %u\n", in ubifs_dump_node()
356 pr_err("\trp_size %llu\n", in ubifs_dump_node()
358 pr_err("\trp_uid %u\n", le32_to_cpu(sup->rp_uid)); in ubifs_dump_node()
359 pr_err("\trp_gid %u\n", le32_to_cpu(sup->rp_gid)); in ubifs_dump_node()
360 pr_err("\tfmt_version %u\n", le32_to_cpu(sup->fmt_version)); in ubifs_dump_node()
361 pr_err("\ttime_gran %u\n", le32_to_cpu(sup->time_gran)); in ubifs_dump_node()
362 pr_err("\tUUID %pUB\n", sup->uuid); in ubifs_dump_node()
369 pr_err("\thighest_inum %llu\n", in ubifs_dump_node()
371 pr_err("\tcommit number %llu\n", in ubifs_dump_node()
373 pr_err("\tflags %#x\n", le32_to_cpu(mst->flags)); in ubifs_dump_node()
374 pr_err("\tlog_lnum %u\n", le32_to_cpu(mst->log_lnum)); in ubifs_dump_node()
375 pr_err("\troot_lnum %u\n", le32_to_cpu(mst->root_lnum)); in ubifs_dump_node()
376 pr_err("\troot_offs %u\n", le32_to_cpu(mst->root_offs)); in ubifs_dump_node()
377 pr_err("\troot_len %u\n", le32_to_cpu(mst->root_len)); in ubifs_dump_node()
378 pr_err("\tgc_lnum %u\n", le32_to_cpu(mst->gc_lnum)); in ubifs_dump_node()
379 pr_err("\tihead_lnum %u\n", le32_to_cpu(mst->ihead_lnum)); in ubifs_dump_node()
380 pr_err("\tihead_offs %u\n", le32_to_cpu(mst->ihead_offs)); in ubifs_dump_node()
381 pr_err("\tindex_size %llu\n", in ubifs_dump_node()
383 pr_err("\tlpt_lnum %u\n", le32_to_cpu(mst->lpt_lnum)); in ubifs_dump_node()
384 pr_err("\tlpt_offs %u\n", le32_to_cpu(mst->lpt_offs)); in ubifs_dump_node()
385 pr_err("\tnhead_lnum %u\n", le32_to_cpu(mst->nhead_lnum)); in ubifs_dump_node()
386 pr_err("\tnhead_offs %u\n", le32_to_cpu(mst->nhead_offs)); in ubifs_dump_node()
387 pr_err("\tltab_lnum %u\n", le32_to_cpu(mst->ltab_lnum)); in ubifs_dump_node()
388 pr_err("\tltab_offs %u\n", le32_to_cpu(mst->ltab_offs)); in ubifs_dump_node()
389 pr_err("\tlsave_lnum %u\n", le32_to_cpu(mst->lsave_lnum)); in ubifs_dump_node()
390 pr_err("\tlsave_offs %u\n", le32_to_cpu(mst->lsave_offs)); in ubifs_dump_node()
391 pr_err("\tlscan_lnum %u\n", le32_to_cpu(mst->lscan_lnum)); in ubifs_dump_node()
392 pr_err("\tleb_cnt %u\n", le32_to_cpu(mst->leb_cnt)); in ubifs_dump_node()
393 pr_err("\tempty_lebs %u\n", le32_to_cpu(mst->empty_lebs)); in ubifs_dump_node()
394 pr_err("\tidx_lebs %u\n", le32_to_cpu(mst->idx_lebs)); in ubifs_dump_node()
395 pr_err("\ttotal_free %llu\n", in ubifs_dump_node()
397 pr_err("\ttotal_dirty %llu\n", in ubifs_dump_node()
399 pr_err("\ttotal_used %llu\n", in ubifs_dump_node()
401 pr_err("\ttotal_dead %llu\n", in ubifs_dump_node()
403 pr_err("\ttotal_dark %llu\n", in ubifs_dump_node()
411 pr_err("\tlnum %u\n", le32_to_cpu(ref->lnum)); in ubifs_dump_node()
412 pr_err("\toffs %u\n", le32_to_cpu(ref->offs)); in ubifs_dump_node()
413 pr_err("\tjhead %u\n", le32_to_cpu(ref->jhead)); in ubifs_dump_node()
421 pr_err("\tkey %s\n", in ubifs_dump_node()
423 pr_err("\tcreat_sqnum %llu\n", in ubifs_dump_node()
425 pr_err("\tsize %llu\n", in ubifs_dump_node()
427 pr_err("\tnlink %u\n", le32_to_cpu(ino->nlink)); in ubifs_dump_node()
428 pr_err("\tatime %lld.%u\n", in ubifs_dump_node()
431 pr_err("\tmtime %lld.%u\n", in ubifs_dump_node()
434 pr_err("\tctime %lld.%u\n", in ubifs_dump_node()
437 pr_err("\tuid %u\n", le32_to_cpu(ino->uid)); in ubifs_dump_node()
438 pr_err("\tgid %u\n", le32_to_cpu(ino->gid)); in ubifs_dump_node()
439 pr_err("\tmode %u\n", le32_to_cpu(ino->mode)); in ubifs_dump_node()
440 pr_err("\tflags %#x\n", le32_to_cpu(ino->flags)); in ubifs_dump_node()
441 pr_err("\txattr_cnt %u\n", le32_to_cpu(ino->xattr_cnt)); in ubifs_dump_node()
442 pr_err("\txattr_size %u\n", le32_to_cpu(ino->xattr_size)); in ubifs_dump_node()
443 pr_err("\txattr_names %u\n", le32_to_cpu(ino->xattr_names)); in ubifs_dump_node()
444 pr_err("\tcompr_type %#x\n", in ubifs_dump_node()
446 pr_err("\tdata len %u\n", le32_to_cpu(ino->data_len)); in ubifs_dump_node()
456 pr_err("\tkey %s\n", in ubifs_dump_node()
458 pr_err("\tinum %llu\n", in ubifs_dump_node()
460 pr_err("\ttype %d\n", (int)dent->type); in ubifs_dump_node()
461 pr_err("\tnlen %d\n", nlen); in ubifs_dump_node()
462 pr_err("\tname "); in ubifs_dump_node()
465 pr_err("(bad name length, not printing, bad or corrupted node)"); in ubifs_dump_node()
480 pr_err("\tkey %s\n", in ubifs_dump_node()
482 pr_err("\tsize %u\n", le32_to_cpu(dn->size)); in ubifs_dump_node()
483 pr_err("\tcompr_typ %d\n", in ubifs_dump_node()
485 pr_err("\tdata size %d\n", dlen); in ubifs_dump_node()
486 pr_err("\tdata:\n"); in ubifs_dump_node()
495 pr_err("\tinum %u\n", le32_to_cpu(trun->inum)); in ubifs_dump_node()
496 pr_err("\told_size %llu\n", in ubifs_dump_node()
498 pr_err("\tnew_size %llu\n", in ubifs_dump_node()
507 pr_err("\tchild_cnt %d\n", n); in ubifs_dump_node()
508 pr_err("\tlevel %d\n", (int)le16_to_cpu(idx->level)); in ubifs_dump_node()
509 pr_err("\tBranches:\n"); in ubifs_dump_node()
516 pr_err("\t%d: LEB %d:%d len %d key %s\n", in ubifs_dump_node()
530 pr_err("\tcommit number %llu\n", in ubifs_dump_node()
533 pr_err("\tlast node flag %llu\n", in ubifs_dump_node()
536 pr_err("\t%d orphan inode numbers:\n", n); in ubifs_dump_node()
538 pr_err("\t ino %llu\n", in ubifs_dump_node()
543 pr_err("node type %d was not recognized\n", in ubifs_dump_node()
552 pr_err("Budgeting request: new_ino %d, dirtied_ino %d\n", in ubifs_dump_budget_req()
554 pr_err("\tnew_ino_d %d, dirtied_ino_d %d\n", in ubifs_dump_budget_req()
556 pr_err("\tnew_page %d, dirtied_page %d\n", in ubifs_dump_budget_req()
558 pr_err("\tnew_dent %d, mod_dent %d\n", in ubifs_dump_budget_req()
560 pr_err("\tidx_growth %d\n", req->idx_growth); in ubifs_dump_budget_req()
561 pr_err("\tdata_growth %d dd_growth %d\n", in ubifs_dump_budget_req()
569 pr_err("(pid %d) Lprops statistics: empty_lebs %d, idx_lebs %d\n", in ubifs_dump_lstats()
571 pr_err("\ttaken_empty_lebs %d, total_free %lld, total_dirty %lld\n", in ubifs_dump_lstats()
573 pr_err("\ttotal_used %lld, total_dark %lld, total_dead %lld\n", in ubifs_dump_lstats()
589 pr_err("(pid %d) Budgeting info: data budget sum %lld, total budget sum %lld\n", in ubifs_dump_budg()
592 pr_err("\tbudg_data_growth %lld, budg_dd_growth %lld, budg_idx_growth %lld\n", in ubifs_dump_budg()
594 pr_err("\tmin_idx_lebs %d, old_idx_sz %llu, uncommitted_idx %lld\n", in ubifs_dump_budg()
596 pr_err("\tpage_budget %d, inode_budget %d, dent_budget %d\n", in ubifs_dump_budg()
598 pr_err("\tnospace %u, nospace_rp %u\n", bi->nospace, bi->nospace_rp); in ubifs_dump_budg()
599 pr_err("\tdark_wm %d, dead_wm %d, max_idx_node_sz %d\n", in ubifs_dump_budg()
610 pr_err("\tfreeable_cnt %d, calc_idx_sz %lld, idx_gc_cnt %d\n", in ubifs_dump_budg()
612 pr_err("\tdirty_pg_cnt %ld, dirty_zn_cnt %ld, clean_zn_cnt %ld\n", in ubifs_dump_budg()
616 pr_err("\tgc_lnum %d, ihead_lnum %d\n", c->gc_lnum, c->ihead_lnum); in ubifs_dump_budg()
621 pr_err("\tjhead %s\t LEB %d\n", in ubifs_dump_budg()
626 pr_err("\tbud LEB %d\n", bud->lnum); in ubifs_dump_budg()
629 pr_err("\told bud LEB %d\n", bud->lnum); in ubifs_dump_budg()
631 pr_err("\tGC'ed idx LEB %d unmap %d\n", in ubifs_dump_budg()
633 pr_err("\tcommit state %d\n", c->cmt_state); in ubifs_dump_budg()
639 pr_err("Budgeting predictions:\n"); in ubifs_dump_budg()
640 pr_err("\tavailable: %lld, outstanding %lld, free %lld\n", in ubifs_dump_budg()
665 pr_err("LEB %-7d free %-8d dirty %-8d used %-8d free + dirty %-8d flags %#x (", in ubifs_dump_lprop()
669pr_err("LEB %-7d free %-8d dirty %-8d used %-8d free + dirty %-8d dark %-4d dead %-4d nodes fit %-… in ubifs_dump_lprop()
749 pr_err("(pid %d) start dumping LEB properties\n", current->pid); in ubifs_dump_lprops()
762 pr_err("(pid %d) finish dumping LEB properties\n", current->pid); in ubifs_dump_lprops()
770 pr_err("(pid %d) dumping LPT information\n", current->pid); in ubifs_dump_lpt_info()
771 pr_err("\tlpt_sz: %lld\n", c->lpt_sz); in ubifs_dump_lpt_info()
772 pr_err("\tpnode_sz: %d\n", c->pnode_sz); in ubifs_dump_lpt_info()
773 pr_err("\tnnode_sz: %d\n", c->nnode_sz); in ubifs_dump_lpt_info()
774 pr_err("\tltab_sz: %d\n", c->ltab_sz); in ubifs_dump_lpt_info()
775 pr_err("\tlsave_sz: %d\n", c->lsave_sz); in ubifs_dump_lpt_info()
776 pr_err("\tbig_lpt: %d\n", c->big_lpt); in ubifs_dump_lpt_info()
777 pr_err("\tlpt_hght: %d\n", c->lpt_hght); in ubifs_dump_lpt_info()
778 pr_err("\tpnode_cnt: %d\n", c->pnode_cnt); in ubifs_dump_lpt_info()
779 pr_err("\tnnode_cnt: %d\n", c->nnode_cnt); in ubifs_dump_lpt_info()
780 pr_err("\tdirty_pn_cnt: %d\n", c->dirty_pn_cnt); in ubifs_dump_lpt_info()
781 pr_err("\tdirty_nn_cnt: %d\n", c->dirty_nn_cnt); in ubifs_dump_lpt_info()
782 pr_err("\tlsave_cnt: %d\n", c->lsave_cnt); in ubifs_dump_lpt_info()
783 pr_err("\tspace_bits: %d\n", c->space_bits); in ubifs_dump_lpt_info()
784 pr_err("\tlpt_lnum_bits: %d\n", c->lpt_lnum_bits); in ubifs_dump_lpt_info()
785 pr_err("\tlpt_offs_bits: %d\n", c->lpt_offs_bits); in ubifs_dump_lpt_info()
786 pr_err("\tlpt_spc_bits: %d\n", c->lpt_spc_bits); in ubifs_dump_lpt_info()
787 pr_err("\tpcnt_bits: %d\n", c->pcnt_bits); in ubifs_dump_lpt_info()
788 pr_err("\tlnum_bits: %d\n", c->lnum_bits); in ubifs_dump_lpt_info()
789 pr_err("\tLPT root is at %d:%d\n", c->lpt_lnum, c->lpt_offs); in ubifs_dump_lpt_info()
790 pr_err("\tLPT head is at %d:%d\n", in ubifs_dump_lpt_info()
792 pr_err("\tLPT ltab is at %d:%d\n", c->ltab_lnum, c->ltab_offs); in ubifs_dump_lpt_info()
794 pr_err("\tLPT lsave is at %d:%d\n", in ubifs_dump_lpt_info()
797 pr_err("\tLPT LEB %d free %d dirty %d tgc %d cmt %d\n", in ubifs_dump_lpt_info()
808 pr_err("(pid %d) start dumping scanned data from LEB %d:%d\n", in ubifs_dump_sleb()
813 pr_err("Dumping node at LEB %d:%d len %d\n", in ubifs_dump_sleb()
825 pr_err("(pid %d) start dumping LEB %d\n", current->pid, lnum); in ubifs_dump_leb()
839 pr_err("LEB %d has %d nodes ending at %d\n", lnum, in ubifs_dump_leb()
844 pr_err("Dumping node at LEB %d:%d len %d\n", lnum, in ubifs_dump_leb()
849 pr_err("(pid %d) finish dumping LEB %d\n", current->pid, lnum); in ubifs_dump_leb()
870 pr_err("znode %p, LEB %d:%d len %d parent %p iip %d level %d child_cnt %d flags %lx\n", in ubifs_dump_znode()
879 pr_err("zbranches:\n"); in ubifs_dump_znode()
883 pr_err("\t%d: znode %p LEB %d:%d len %d key %s\n", in ubifs_dump_znode()
888 pr_err("\t%d: LNC %p LEB %d:%d len %d key %s\n", in ubifs_dump_znode()
900 pr_err("(pid %d) start dumping heap cat %d (%d elements)\n", in ubifs_dump_heap()
905 pr_err("\t%d. LEB %d hpos %d free %d dirty %d flags %d\n", in ubifs_dump_heap()
909 pr_err("(pid %d) finish dumping heap\n", current->pid); in ubifs_dump_heap()
917 pr_err("(pid %d) dumping pnode:\n", current->pid); in ubifs_dump_pnode()
918 pr_err("\taddress %zx parent %zx cnext %zx\n", in ubifs_dump_pnode()
920 pr_err("\tflags %lu iip %d level %d num %d\n", in ubifs_dump_pnode()
925 pr_err("\t%d: free %d dirty %d flags %d lnum %d\n", in ubifs_dump_pnode()
935 pr_err("\n"); in ubifs_dump_tnc()
936 pr_err("(pid %d) start dumping TNC tree\n", current->pid); in ubifs_dump_tnc()
939 pr_err("== Level %d ==\n", level); in ubifs_dump_tnc()
943 pr_err("== Level %d ==\n", level); in ubifs_dump_tnc()
948 pr_err("(pid %d) finish dumping TNC tree\n", current->pid); in ubifs_dump_tnc()
3110 pr_err("UBIFS error (pid %d): cannot create \"%s\" debugfs file or directory, error %d\n", in dbg_debugfs_init()