Home
last modified time | relevance | path

Searched refs:percpu_u64_get (Results 1 – 9 of 9) sorted by relevance

/linux/fs/bcachefs/
H A Ddisk_accounting.c341 if (percpu_u64_get(e->v[0] + i) || in accounting_mem_entry_is_zero()
343 percpu_u64_get(e->v[1] + i))) in accounting_mem_entry_is_zero()
804 v[0] = percpu_u64_get(&ca->usage->d[acc_k.dev_data_type.data_type].buckets); in bch2_verify_accounting_clean()
805 v[1] = percpu_u64_get(&ca->usage->d[acc_k.dev_data_type.data_type].sectors); in bch2_verify_accounting_clean()
806 v[2] = percpu_u64_get(&ca->usage->d[acc_k.dev_data_type.data_type].fragmented); in bch2_verify_accounting_clean()
H A Dsb-counters.c78 ctrs->d[i] = cpu_to_le64(percpu_u64_get(&c->counters[i])); in bch2_sb_counters_from_cpu()
H A Dbuckets.c47 percpu_u64_get(&c->usage->hidden); in __bch2_fs_usage_read_short()
49 data = percpu_u64_get(&c->usage->data) + in __bch2_fs_usage_read_short()
50 percpu_u64_get(&c->usage->btree); in __bch2_fs_usage_read_short()
51 reserved = percpu_u64_get(&c->usage->reserved) + in __bch2_fs_usage_read_short()
52 percpu_u64_get(c->online_reserved); in __bch2_fs_usage_read_short()
57 ret.nr_inodes = percpu_u64_get(&c->usage->nr_inodes); in __bch2_fs_usage_read_short()
H A Dalloc_foreground.c1707 prt_printf(out, "hidden\t%llu\n", percpu_u64_get(&c->usage->hidden)); in bch2_fs_alloc_debug_to_text()
1708 prt_printf(out, "btree\t%llu\n", percpu_u64_get(&c->usage->btree)); in bch2_fs_alloc_debug_to_text()
1709 prt_printf(out, "data\t%llu\n", percpu_u64_get(&c->usage->data)); in bch2_fs_alloc_debug_to_text()
1710 prt_printf(out, "cached\t%llu\n", percpu_u64_get(&c->usage->cached)); in bch2_fs_alloc_debug_to_text()
1711 prt_printf(out, "reserved\t%llu\n", percpu_u64_get(&c->usage->reserved)); in bch2_fs_alloc_debug_to_text()
1712 prt_printf(out, "online_reserved\t%llu\n", percpu_u64_get(c->online_reserved)); in bch2_fs_alloc_debug_to_text()
1713 prt_printf(out, "nr_inodes\t%llu\n", percpu_u64_get(&c->usage->nr_inodes)); in bch2_fs_alloc_debug_to_text()
H A Ddisk_accounting.h185 v[i] = percpu_u64_get(e->v[gc] + i); in bch2_accounting_mem_read_counters()
H A Dsysfs.c539 counter = percpu_u64_get(&c->counters[BCH_COUNTER_##t]);\ in SHOW()
759 percpu_u64_get(&ca->io_done->sectors[rw][i]) << 9); in dev_io_done_to_text()
H A Dchardev.c527 arg.online_reserved = percpu_u64_get(c->online_reserved); in bch2_ioctl_fs_usage()
566 arg.online_reserved = percpu_u64_get(c->online_reserved); in bch2_ioctl_query_accounting()
H A Dutil.h597 static inline u64 percpu_u64_get(u64 __percpu *src) in percpu_u64_get() function
H A Dsuper.c567 u64 v = percpu_u64_get(c->online_reserved); in __bch2_fs_free()