Searched refs:accounting (Results 1 – 4 of 4) sorted by relevance
/drivers/md/bcache/ |
D | stats.c | 202 mark_cache_stats(&dc->accounting.collector, hit, bypass); in bch_mark_cache_accounting() 203 mark_cache_stats(&c->accounting.collector, hit, bypass); in bch_mark_cache_accounting() 209 atomic_inc(&dc->accounting.collector.cache_readaheads); in bch_mark_cache_readahead() 210 atomic_inc(&c->accounting.collector.cache_readaheads); in bch_mark_cache_readahead() 216 atomic_inc(&dc->accounting.collector.cache_miss_collisions); in bch_mark_cache_miss_collision() 217 atomic_inc(&c->accounting.collector.cache_miss_collisions); in bch_mark_cache_miss_collision() 223 atomic_add(sectors, &dc->accounting.collector.sectors_bypassed); in bch_mark_sectors_bypassed() 224 atomic_add(sectors, &c->accounting.collector.sectors_bypassed); in bch_mark_sectors_bypassed()
|
D | bcache.h | 348 struct cache_accounting accounting; member 479 struct cache_accounting accounting; member
|
D | super.c | 1108 bch_cache_accounting_destroy(&dc->accounting); in cached_dev_flush() 1129 bch_cache_accounting_init(&dc->accounting, &dc->disk.cl); in cached_dev_init() 1188 if (bch_cache_accounting_add_kobjs(&dc->accounting, &dc->disk.kobj)) in register_bdev() 1402 bch_cache_accounting_destroy(&c->accounting); in cache_set_flush() 1495 bch_cache_accounting_init(&c->accounting, &c->cl); in bch_cache_set_alloc() 1770 if (bch_cache_accounting_add_kobjs(&c->accounting, &c->kobj)) in register_cache_set()
|
D | sysfs.c | 224 bch_cache_accounting_clear(&dc->accounting); in STORE() 619 bch_cache_accounting_clear(&c->accounting); in STORE()
|