Searched refs:sinfo (Results 1 – 4 of 4) sorted by relevance
1157 struct slabinfo sinfo; in memcg_accumulate_slabinfo() local1163 memset(&sinfo, 0, sizeof(sinfo)); in memcg_accumulate_slabinfo()1164 get_slabinfo(c, &sinfo); in memcg_accumulate_slabinfo()1166 info->active_slabs += sinfo.active_slabs; in memcg_accumulate_slabinfo()1167 info->num_slabs += sinfo.num_slabs; in memcg_accumulate_slabinfo()1168 info->shared_avail += sinfo.shared_avail; in memcg_accumulate_slabinfo()1169 info->active_objs += sinfo.active_objs; in memcg_accumulate_slabinfo()1170 info->num_objs += sinfo.num_objs; in memcg_accumulate_slabinfo()1176 struct slabinfo sinfo; in cache_show() local1178 memset(&sinfo, 0, sizeof(sinfo)); in cache_show()[all …]
4104 void get_slabinfo(struct kmem_cache *cachep, struct slabinfo *sinfo) in get_slabinfo() argument4160 sinfo->active_objs = active_objs; in get_slabinfo()4161 sinfo->num_objs = num_objs; in get_slabinfo()4162 sinfo->active_slabs = active_slabs; in get_slabinfo()4163 sinfo->num_slabs = num_slabs; in get_slabinfo()4164 sinfo->shared_avail = shared_avail; in get_slabinfo()4165 sinfo->limit = cachep->limit; in get_slabinfo()4166 sinfo->batchcount = cachep->batchcount; in get_slabinfo()4167 sinfo->shared = cachep->shared; in get_slabinfo()4168 sinfo->objects_per_slab = cachep->num; in get_slabinfo()[all …]
168 void get_slabinfo(struct kmem_cache *s, struct slabinfo *sinfo);
5724 void get_slabinfo(struct kmem_cache *s, struct slabinfo *sinfo) in get_slabinfo() argument5738 sinfo->active_objs = nr_objs - nr_free; in get_slabinfo()5739 sinfo->num_objs = nr_objs; in get_slabinfo()5740 sinfo->active_slabs = nr_slabs; in get_slabinfo()5741 sinfo->num_slabs = nr_slabs; in get_slabinfo()5742 sinfo->objects_per_slab = oo_objects(s->oo); in get_slabinfo()5743 sinfo->cache_order = oo_order(s->oo); in get_slabinfo()