Lines Matching refs:nr_objs
23 unsigned long nr_objs; /* number of objects in this cache */ member
35 unsigned long nr_objs; /* total number of objects */ member
109 &p->nr_active_objs, &p->nr_objs, in get_slabinfo()
128 if (p->nr_objs) { in get_slabinfo()
129 p->use = 100 * p->nr_active_objs / p->nr_objs; in get_slabinfo()
134 stats->nr_objs += p->nr_objs; in get_slabinfo()
136 stats->total_size += p->nr_objs * p->obj_size; in get_slabinfo()
150 if (stats->nr_objs) in get_slabinfo()
151 stats->avg_obj_size = stats->total_size / stats->nr_objs; in get_slabinfo()
234 BUILD_SORT_FUNC(nr_objs)
273 struct slab_stat stats = { .nr_objs = 0 }; in main()
318 stats.nr_objs, in main()
319 100.0 * stats.nr_active_objs / stats.nr_objs, in main()
340 p->nr_objs, p->nr_active_objs, p->use, in main()