Home
last modified time | relevance | path

Searched refs:counters (Results 1 – 13 of 13) sorted by relevance

/fs/bcachefs/
A Dsb-counters.c38 struct bch_sb_field_counters *ctrs = field_to_type(f, counters); in bch2_sb_counters_to_text()
52 struct bch_sb_field_counters *ctrs = bch2_sb_field_get(c->disk_sb.sb, counters); in bch2_sb_counters_to_cpu()
62 percpu_u64_set(&c->counters[i], v); in bch2_sb_counters_to_cpu()
72 struct bch_sb_field_counters *ctrs = bch2_sb_field_get(c->disk_sb.sb, counters); in bch2_sb_counters_from_cpu()
77 ret = bch2_sb_field_resize(&c->disk_sb, counters, in bch2_sb_counters_from_cpu()
88 ctrs->d[stable] = cpu_to_le64(percpu_u64_get(&c->counters[i])); in bch2_sb_counters_from_cpu()
96 free_percpu(c->counters); in bch2_fs_counters_exit()
101 c->counters = __alloc_percpu(sizeof(u64) * BCH_COUNTER_NR, sizeof(u64)); in bch2_fs_counters_init()
102 if (!c->counters) in bch2_fs_counters_init()
136 ? percpu_u64_get(&c->counters[i]) in bch2_ioctl_query_counters()
A Dalloc_foreground.c185 req->counters.skipped_open++; in may_alloc_bucket()
194 req->counters.need_journal_commit++; in may_alloc_bucket()
200 req->counters.skipped_nocow++; in may_alloc_bucket()
218 req->counters.skipped_nouse++; in __try_alloc_bucket()
236 req->counters.skipped_open++; in __try_alloc_bucket()
328 req->counters.buckets_seen++; in bch2_bucket_alloc_early()
329 req->counters.skipped_mi_btree_bitmap++; in bch2_bucket_alloc_early()
348 req->counters.buckets_seen++; in bch2_bucket_alloc_early()
400 req->counters.buckets_seen++; in bch2_bucket_alloc_freelist()
416 req->counters.skipped_mi_btree_bitmap++; in bch2_bucket_alloc_freelist()
[all …]
A DMakefile81 sb-counters.o \
A Dio_read.c601 this_cpu_add(c->counters[BCH_COUNTER_io_read_retry], in bch2_rbio_retry()
1043 this_cpu_add(c->counters[BCH_COUNTER_io_read_inline], in __bch2_read_extent()
1244 this_cpu_add(c->counters[BCH_COUNTER_io_read], bio_sectors(&rbio->bio)); in __bch2_read_extent()
1246 this_cpu_add(c->counters[BCH_COUNTER_io_move_read], bio_sectors(&rbio->bio)); in __bch2_read_extent()
1339 this_cpu_add(c->counters[BCH_COUNTER_io_read_hole], in __bch2_read_extent()
A Ddata_update.c232 this_cpu_inc(c->counters[BCH_COUNTER_io_move_created_rebalance]); in trace_io_move_created_rebalance2()
466 this_cpu_add(c->counters[BCH_COUNTER_io_move_finish], new->k.size); in __bch2_data_update_index_update()
515 this_cpu_add(m->op.c->counters[BCH_COUNTER_io_move_write], m->k.k->k.size); in bch2_data_update_read_done()
A Dalloc_foreground.h65 } counters; member
A Dbcachefs.h257 #define count_event(_c, _name) this_cpu_inc((_c)->counters[BCH_COUNTER_##_name])
1156 u64 __percpu *counters; member
A Dmove.c159 this_cpu_inc(c->counters[BCH_COUNTER_io_move_write_fail]); in move_write_done()
347 this_cpu_add(c->counters[BCH_COUNTER_io_move], k.k->size); in bch2_move_extent()
A Dsysfs.c527 counter = percpu_u64_get(&c->counters[BCH_COUNTER_##t]);\ in SHOW()
A Dbcachefs_format.h496 x(counters, 10) \
A Dio_write.c1710 this_cpu_add(c->counters[BCH_COUNTER_io_write], bio_sectors(bio)); in CLOSURE_CALLBACK()
/fs/btrfs/
A Dcompression.c1317 u32 counters[COUNTERS_SIZE]; in radix_sort() local
1340 memset(counters, 0, sizeof(counters)); in radix_sort()
1345 counters[addr]++; in radix_sort()
1349 counters[i] += counters[i - 1]; in radix_sort()
1354 counters[addr]--; in radix_sort()
1355 new_addr = counters[addr]; in radix_sort()
1367 memset(counters, 0, sizeof(counters)); in radix_sort()
1372 counters[addr]++; in radix_sort()
1376 counters[i] += counters[i - 1]; in radix_sort()
1381 counters[addr]--; in radix_sort()
[all …]
/fs/xfs/
A DKconfig169 filesystem counters.

Completed in 40 milliseconds