Lines Matching refs:prt_printf

460 	prt_printf(&buf, "dev\t%s (%u)\n",	req->ca->name, req->ca->dev_idx);  in trace_bucket_alloc2()
461 prt_printf(&buf, "watermark\t%s\n", bch2_watermarks[req->watermark]); in trace_bucket_alloc2()
462 prt_printf(&buf, "data type\t%s\n", __bch2_data_types[req->data_type]); in trace_bucket_alloc2()
463 prt_printf(&buf, "blocking\t%u\n", cl != NULL); in trace_bucket_alloc2()
464 prt_printf(&buf, "free\t%llu\n", req->usage.buckets[BCH_DATA_free]); in trace_bucket_alloc2()
465 prt_printf(&buf, "avail\t%llu\n", dev_buckets_free(req->ca, req->usage, req->watermark)); in trace_bucket_alloc2()
466 prt_printf(&buf, "copygc_wait\t%llu/%lli\n", in trace_bucket_alloc2()
469 prt_printf(&buf, "seen\t%llu\n", req->counters.buckets_seen); in trace_bucket_alloc2()
470 prt_printf(&buf, "open\t%llu\n", req->counters.skipped_open); in trace_bucket_alloc2()
471 prt_printf(&buf, "need journal commit\t%llu\n", req->counters.skipped_need_journal_commit); in trace_bucket_alloc2()
472 prt_printf(&buf, "nocow\t%llu\n", req->counters.skipped_nocow); in trace_bucket_alloc2()
473 prt_printf(&buf, "nouse\t%llu\n", req->counters.skipped_nouse); in trace_bucket_alloc2()
474 prt_printf(&buf, "mi_btree_bitmap\t%llu\n", req->counters.skipped_mi_btree_bitmap); in trace_bucket_alloc2()
477 prt_printf(&buf, "allocated\t%llu\n", ob->bucket); in trace_bucket_alloc2()
480 prt_printf(&buf, "err\t%s\n", bch2_err_str(PTR_ERR(ob))); in trace_bucket_alloc2()
1457 prt_printf(out, "%zu ref %u ", in bch2_open_bucket_to_text()
1461 prt_printf(out, " %u:%llu gen %u allocated %u/%u", in bch2_open_bucket_to_text()
1465 prt_printf(out, " ec idx %llu", ob->ec->idx); in bch2_open_bucket_to_text()
1520 prt_printf(out, "%lu: ", wp->write_point); in bch2_write_point_to_text()
1523 prt_printf(out, " last wrote: "); in bch2_write_point_to_text()
1527 prt_printf(out, " %s: ", bch2_write_point_states[i]); in bch2_write_point_to_text()
1573 prt_printf(out, "capacity\t%llu\n", c->capacity); in bch2_fs_alloc_debug_to_text()
1574 prt_printf(out, "reserved\t%llu\n", c->reserved); in bch2_fs_alloc_debug_to_text()
1575 prt_printf(out, "hidden\t%llu\n", percpu_u64_get(&c->usage->hidden)); in bch2_fs_alloc_debug_to_text()
1576 prt_printf(out, "btree\t%llu\n", percpu_u64_get(&c->usage->btree)); in bch2_fs_alloc_debug_to_text()
1577 prt_printf(out, "data\t%llu\n", percpu_u64_get(&c->usage->data)); in bch2_fs_alloc_debug_to_text()
1578 prt_printf(out, "cached\t%llu\n", percpu_u64_get(&c->usage->cached)); in bch2_fs_alloc_debug_to_text()
1579 prt_printf(out, "reserved\t%llu\n", percpu_u64_get(&c->usage->reserved)); in bch2_fs_alloc_debug_to_text()
1580 prt_printf(out, "online_reserved\t%llu\n", percpu_u64_get(c->online_reserved)); in bch2_fs_alloc_debug_to_text()
1581 prt_printf(out, "nr_inodes\t%llu\n", percpu_u64_get(&c->usage->nr_inodes)); in bch2_fs_alloc_debug_to_text()
1584 prt_printf(out, "freelist_wait\t%s\n", c->freelist_wait.list.first ? "waiting" : "empty"); in bch2_fs_alloc_debug_to_text()
1585 prt_printf(out, "open buckets allocated\t%i\n", OPEN_BUCKETS_COUNT - c->open_buckets_nr_free); in bch2_fs_alloc_debug_to_text()
1586 prt_printf(out, "open buckets total\t%u\n", OPEN_BUCKETS_COUNT); in bch2_fs_alloc_debug_to_text()
1587 prt_printf(out, "open_buckets_wait\t%s\n", c->open_buckets_wait.list.first ? "waiting" : "empty"); in bch2_fs_alloc_debug_to_text()
1588 prt_printf(out, "open_buckets_btree\t%u\n", nr[BCH_DATA_btree]); in bch2_fs_alloc_debug_to_text()
1589 prt_printf(out, "open_buckets_user\t%u\n", nr[BCH_DATA_user]); in bch2_fs_alloc_debug_to_text()
1590 prt_printf(out, "btree reserve cache\t%u\n", c->btree_reserve_cache_nr); in bch2_fs_alloc_debug_to_text()
1608 prt_printf(out, "reserves:\n"); in bch2_dev_alloc_debug_to_text()
1610 prt_printf(out, "%s\t%llu\r\n", bch2_watermarks[i], bch2_dev_buckets_reserved(ca, i)); in bch2_dev_alloc_debug_to_text()
1618 prt_printf(out, "open buckets\t%i\r\n", ca->nr_open_buckets); in bch2_dev_alloc_debug_to_text()
1619 prt_printf(out, "buckets to invalidate\t%llu\r\n", in bch2_dev_alloc_debug_to_text()
1627 prt_printf(&buf, "Allocator stuck? Waited for %u seconds\n", in bch2_print_allocator_stuck()
1630 prt_printf(&buf, "Allocator debug:\n"); in bch2_print_allocator_stuck()
1641 prt_printf(&buf, "Dev %u:\n", ca->dev_idx); in bch2_print_allocator_stuck()
1649 prt_printf(&buf, "Copygc debug:\n"); in bch2_print_allocator_stuck()
1655 prt_printf(&buf, "Journal debug:\n"); in bch2_print_allocator_stuck()