Home
last modified time | relevance | path

Searched refs:class (Results 1 – 2 of 2) sorted by relevance

/mm/
Dzsmalloc.c457 static inline void zs_stat_inc(struct size_class *class, in zs_stat_inc() argument
461 class->stats.objs[type] += cnt; in zs_stat_inc()
464 static inline void zs_stat_dec(struct size_class *class, in zs_stat_dec() argument
468 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() argument
475 return class->stats.objs[type]; in zs_stat_get()
502 struct size_class *class; in zs_stats_size_show() local
515 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 …]
Dbacking-dev.c23 static struct class *bdi_class;