Lines Matching refs:prt_printf

468 	prt_printf(&buf, "dev\t%s (%u)\n",	ca->name, ca->dev_idx);  in trace_bucket_alloc2()
469 prt_printf(&buf, "watermark\t%s\n", bch2_watermarks[watermark]); in trace_bucket_alloc2()
470 prt_printf(&buf, "data type\t%s\n", __bch2_data_types[data_type]); in trace_bucket_alloc2()
471 prt_printf(&buf, "blocking\t%u\n", cl != NULL); in trace_bucket_alloc2()
472 prt_printf(&buf, "free\t%llu\n", usage->buckets[BCH_DATA_free]); in trace_bucket_alloc2()
473 prt_printf(&buf, "avail\t%llu\n", dev_buckets_free(ca, *usage, watermark)); in trace_bucket_alloc2()
474 prt_printf(&buf, "copygc_wait\t%lu/%lli\n", in trace_bucket_alloc2()
477 prt_printf(&buf, "seen\t%llu\n", s->buckets_seen); in trace_bucket_alloc2()
478 prt_printf(&buf, "open\t%llu\n", s->skipped_open); in trace_bucket_alloc2()
479 prt_printf(&buf, "need journal commit\t%llu\n", s->skipped_need_journal_commit); in trace_bucket_alloc2()
480 prt_printf(&buf, "nocow\t%llu\n", s->skipped_nocow); in trace_bucket_alloc2()
481 prt_printf(&buf, "nouse\t%llu\n", s->skipped_nouse); in trace_bucket_alloc2()
482 prt_printf(&buf, "mi_btree_bitmap\t%llu\n", s->skipped_mi_btree_bitmap); in trace_bucket_alloc2()
485 prt_printf(&buf, "allocated\t%llu\n", ob->bucket); in trace_bucket_alloc2()
488 prt_printf(&buf, "err\t%s\n", bch2_err_str(PTR_ERR(ob))); in trace_bucket_alloc2()
1559 prt_printf(out, "%zu ref %u ", in bch2_open_bucket_to_text()
1563 prt_printf(out, " %u:%llu gen %u allocated %u/%u", in bch2_open_bucket_to_text()
1567 prt_printf(out, " ec idx %llu", ob->ec->idx); in bch2_open_bucket_to_text()
1620 prt_printf(out, "%lu: ", wp->write_point); in bch2_write_point_to_text()
1623 prt_printf(out, " last wrote: "); in bch2_write_point_to_text()
1627 prt_printf(out, " %s: ", bch2_write_point_states[i]); in bch2_write_point_to_text()
1671 prt_printf(out, "capacity\t%llu\n", c->capacity); in bch2_fs_alloc_debug_to_text()
1672 prt_printf(out, "reserved\t%llu\n", c->reserved); in bch2_fs_alloc_debug_to_text()
1673 prt_printf(out, "hidden\t%llu\n", percpu_u64_get(&c->usage->hidden)); in bch2_fs_alloc_debug_to_text()
1674 prt_printf(out, "btree\t%llu\n", percpu_u64_get(&c->usage->btree)); in bch2_fs_alloc_debug_to_text()
1675 prt_printf(out, "data\t%llu\n", percpu_u64_get(&c->usage->data)); in bch2_fs_alloc_debug_to_text()
1676 prt_printf(out, "cached\t%llu\n", percpu_u64_get(&c->usage->cached)); in bch2_fs_alloc_debug_to_text()
1677 prt_printf(out, "reserved\t%llu\n", percpu_u64_get(&c->usage->reserved)); in bch2_fs_alloc_debug_to_text()
1678 prt_printf(out, "online_reserved\t%llu\n", percpu_u64_get(c->online_reserved)); in bch2_fs_alloc_debug_to_text()
1679 prt_printf(out, "nr_inodes\t%llu\n", percpu_u64_get(&c->usage->nr_inodes)); in bch2_fs_alloc_debug_to_text()
1682 prt_printf(out, "freelist_wait\t%s\n", c->freelist_wait.list.first ? "waiting" : "empty"); in bch2_fs_alloc_debug_to_text()
1683 prt_printf(out, "open buckets allocated\t%i\n", OPEN_BUCKETS_COUNT - c->open_buckets_nr_free); in bch2_fs_alloc_debug_to_text()
1684 prt_printf(out, "open buckets total\t%u\n", OPEN_BUCKETS_COUNT); in bch2_fs_alloc_debug_to_text()
1685 prt_printf(out, "open_buckets_wait\t%s\n", c->open_buckets_wait.list.first ? "waiting" : "empty"); in bch2_fs_alloc_debug_to_text()
1686 prt_printf(out, "open_buckets_btree\t%u\n", nr[BCH_DATA_btree]); in bch2_fs_alloc_debug_to_text()
1687 prt_printf(out, "open_buckets_user\t%u\n", nr[BCH_DATA_user]); in bch2_fs_alloc_debug_to_text()
1688 prt_printf(out, "btree reserve cache\t%u\n", c->btree_reserve_cache_nr); in bch2_fs_alloc_debug_to_text()
1706 prt_printf(out, "reserves:\n"); in bch2_dev_alloc_debug_to_text()
1708 prt_printf(out, "%s\t%llu\r\n", bch2_watermarks[i], bch2_dev_buckets_reserved(ca, i)); in bch2_dev_alloc_debug_to_text()
1716 prt_printf(out, "open buckets\t%i\r\n", ca->nr_open_buckets); in bch2_dev_alloc_debug_to_text()
1717 prt_printf(out, "buckets to invalidate\t%llu\r\n", in bch2_dev_alloc_debug_to_text()
1725 prt_printf(&buf, "Allocator stuck? Waited for %u seconds\n", in bch2_print_allocator_stuck()
1728 prt_printf(&buf, "Allocator debug:\n"); in bch2_print_allocator_stuck()
1735 prt_printf(&buf, "Dev %u:\n", ca->dev_idx); in bch2_print_allocator_stuck()
1742 prt_printf(&buf, "Copygc debug:\n"); in bch2_print_allocator_stuck()
1748 prt_printf(&buf, "Journal debug:\n"); in bch2_print_allocator_stuck()