Searched refs:class (Results 1 – 2 of 2) sorted by relevance
457 static inline void zs_stat_inc(struct size_class *class, in zs_stat_inc() argument461 class->stats.objs[type] += cnt; in zs_stat_inc()464 static inline void zs_stat_dec(struct size_class *class, in zs_stat_dec() argument468 class->stats.objs[type] -= cnt; in zs_stat_dec()471 static inline unsigned long zs_stat_get(struct size_class *class, in zs_stat_get() argument475 return class->stats.objs[type]; in zs_stat_get()502 struct size_class *class; in zs_stats_size_show() local515 class = pool->size_class[i]; in zs_stats_size_show()517 if (class->index != i) in zs_stats_size_show()520 spin_lock(&class->lock); in zs_stats_size_show()[all …]
23 static struct class *bdi_class;