Lines Matching refs:total
97 int ret = kobject_add(&acc->total.kobj, parent, in bch_cache_accounting_add_kobjs()
110 acc->total.cache_hits = 0; in bch_cache_accounting_clear()
111 acc->total.cache_misses = 0; in bch_cache_accounting_clear()
112 acc->total.cache_bypass_hits = 0; in bch_cache_accounting_clear()
113 acc->total.cache_bypass_misses = 0; in bch_cache_accounting_clear()
114 acc->total.cache_miss_collisions = 0; in bch_cache_accounting_clear()
115 acc->total.sectors_bypassed = 0; in bch_cache_accounting_clear()
120 kobject_put(&acc->total.kobj); in bch_cache_accounting_destroy()
160 acc->total.name += t; \ in scale_accounting()
170 scale_stats(&acc->total, 0); in scale_accounting()
225 kobject_init(&acc->total.kobj, &bch_stats_ktype); in bch_cache_accounting_init()