Searched refs:nr_objs (Results 1 – 2 of 2) sorted by relevance
23 int nr_objs; member36 if (cachep->nr_objs) { in kmem_cache_alloc()37 cachep->nr_objs--; in kmem_cache_alloc()62 if (cachep->nr_objs > 10) { in kmem_cache_free()67 cachep->nr_objs++; in kmem_cache_free()108 ret->nr_objs = 0; in kmem_cache_create()
2390 unsigned long nr_objs; in slab_out_of_memory() local2395 nr_objs = node_nr_objs(n); in slab_out_of_memory()2398 node, nr_slabs, nr_objs, nr_free); in slab_out_of_memory()5848 unsigned long nr_objs = 0; in get_slabinfo() local5855 nr_objs += node_nr_objs(n); in get_slabinfo()5859 sinfo->active_objs = nr_objs - nr_free; in get_slabinfo()5860 sinfo->num_objs = nr_objs; in get_slabinfo()