Searched refs:percpu_u64_get (Results 1 – 8 of 8) sorted by relevance
/linux/fs/bcachefs/ |
H A D | disk_accounting.c | 372 if (percpu_u64_get(e->v[0] + i) || in accounting_mem_entry_is_zero() 374 percpu_u64_get(e->v[1] + i))) in accounting_mem_entry_is_zero() 793 v[j] = percpu_u64_get(i->v[0] + j); in bch2_accounting_read() 955 v[0] = percpu_u64_get(&ca->usage->d[acc_k.dev_data_type.data_type].buckets); in bch2_verify_accounting_clean() 956 v[1] = percpu_u64_get(&ca->usage->d[acc_k.dev_data_type.data_type].sectors); in bch2_verify_accounting_clean() 957 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 | 49 percpu_u64_get(&c->usage->hidden); in __bch2_fs_usage_read_short() 51 data = percpu_u64_get(&c->usage->data) + in __bch2_fs_usage_read_short() 52 percpu_u64_get(&c->usage->btree); in __bch2_fs_usage_read_short() 53 reserved = percpu_u64_get(&c->usage->reserved) + in __bch2_fs_usage_read_short() 54 percpu_u64_get(c->online_reserved); in __bch2_fs_usage_read_short() 59 ret.nr_inodes = percpu_u64_get(&c->usage->nr_inodes); in __bch2_fs_usage_read_short()
|
H A D | alloc_foreground.c | 1632 prt_printf(out, "hidden\t%llu\n", percpu_u64_get(&c->usage->hidden)); in bch2_fs_alloc_debug_to_text() 1633 prt_printf(out, "btree\t%llu\n", percpu_u64_get(&c->usage->btree)); in bch2_fs_alloc_debug_to_text() 1634 prt_printf(out, "data\t%llu\n", percpu_u64_get(&c->usage->data)); in bch2_fs_alloc_debug_to_text() 1635 prt_printf(out, "cached\t%llu\n", percpu_u64_get(&c->usage->cached)); in bch2_fs_alloc_debug_to_text() 1636 prt_printf(out, "reserved\t%llu\n", percpu_u64_get(&c->usage->reserved)); in bch2_fs_alloc_debug_to_text() 1637 prt_printf(out, "online_reserved\t%llu\n", percpu_u64_get(c->online_reserved)); in bch2_fs_alloc_debug_to_text() 1638 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 | chardev.c | 403 arg.online_reserved = percpu_u64_get(c->online_reserved); in bch2_ioctl_fs_usage() 442 arg.online_reserved = percpu_u64_get(c->online_reserved); in bch2_ioctl_query_accounting()
|
H A D | disk_accounting.h | 207 v[i] = percpu_u64_get(e->v[gc] + i); in bch2_accounting_mem_read_counters()
|
H A D | sysfs.c | 510 counter = percpu_u64_get(&c->counters[BCH_COUNTER_##t]);\ in SHOW() 747 percpu_u64_get(&ca->io_done->sectors[rw][i]) << 9); in dev_io_done_to_text()
|
H A D | util.h | 620 static inline u64 percpu_u64_get(u64 __percpu *src) in percpu_u64_get() function
|
H A D | super.c | 584 u64 v = percpu_u64_get(c->online_reserved); in __bch2_fs_free()
|