Lines Matching refs:total
99 int ret = kobject_add(&acc->total.kobj, parent, in bch_cache_accounting_add_kobjs()
112 acc->total.cache_hits = 0; in bch_cache_accounting_clear()
113 acc->total.cache_misses = 0; in bch_cache_accounting_clear()
114 acc->total.cache_bypass_hits = 0; in bch_cache_accounting_clear()
115 acc->total.cache_bypass_misses = 0; in bch_cache_accounting_clear()
116 acc->total.cache_readaheads = 0; in bch_cache_accounting_clear()
117 acc->total.cache_miss_collisions = 0; in bch_cache_accounting_clear()
118 acc->total.sectors_bypassed = 0; in bch_cache_accounting_clear()
123 kobject_put(&acc->total.kobj); in bch_cache_accounting_destroy()
164 acc->total.name += t; \ in scale_accounting()
175 scale_stats(&acc->total, 0); in scale_accounting()
238 kobject_init(&acc->total.kobj, &bch_stats_ktype); in bch_cache_accounting_init()