Searched refs:percpu_u64_get (Results 1 – 8 of 8) sorted by relevance
/linux/fs/bcachefs/ |
H A D | sb-counters.c | 88 ctrs->d[stable] = cpu_to_le64(percpu_u64_get(&c->counters[i])); in bch2_sb_counters_from_cpu() 136 ? percpu_u64_get(&c->counters[i]) in bch2_ioctl_query_counters()
|
H A D | disk_accounting.c | 430 if (percpu_u64_get(e->v[0] + i) || in accounting_mem_entry_is_zero() 432 percpu_u64_get(e->v[1] + i))) in accounting_mem_entry_is_zero() 857 v[j] = percpu_u64_get(i->v[0] + j); in bch2_accounting_read() 1018 v[0] = percpu_u64_get(&ca->usage->d[acc_k.dev_data_type.data_type].buckets); in bch2_verify_accounting_clean() 1019 v[1] = percpu_u64_get(&ca->usage->d[acc_k.dev_data_type.data_type].sectors); in bch2_verify_accounting_clean() 1020 v[2] = percpu_u64_get(&ca->usage->d[acc_k.dev_data_type.data_type].fragmented); in bch2_verify_accounting_clean()
|
H A D | buckets.c | 34 usage->buckets[i] = percpu_u64_get(&ca->usage->d[i].buckets); in bch2_dev_usage_read_fast() 56 percpu_u64_get(&c->usage->hidden); in __bch2_fs_usage_read_short() 58 data = percpu_u64_get(&c->usage->data) + in __bch2_fs_usage_read_short() 59 percpu_u64_get(&c->usage->btree); in __bch2_fs_usage_read_short() 60 reserved = percpu_u64_get(&c->usage->reserved) + in __bch2_fs_usage_read_short() 61 percpu_u64_get(c->online_reserved); in __bch2_fs_usage_read_short() 66 ret.nr_inodes = percpu_u64_get(&c->usage->nr_inodes); in __bch2_fs_usage_read_short()
|
H A D | alloc_foreground.c | 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()
|
H A D | disk_accounting.h | 233 v[i] = percpu_u64_get(e->v[gc] + i); in bch2_accounting_mem_read_counters()
|
H A D | sysfs.c | 527 counter = percpu_u64_get(&c->counters[BCH_COUNTER_##t]);\ in SHOW() 793 percpu_u64_get(&ca->io_done->sectors[rw][i]) << 9); in dev_io_done_to_text()
|
H A D | util.h | 637 static inline u64 percpu_u64_get(u64 __percpu *src) in percpu_u64_get() function
|
H A D | super.c | 628 u64 v = percpu_u64_get(c->online_reserved); in __bch2_fs_free()
|