Lines Matching defs:sc
2346 static void free_stripe(struct kmem_cache *sc, struct stripe_head *sh)
2353 kmem_cache_free(sc, sh);
2356 static struct stripe_head *alloc_stripe(struct kmem_cache *sc, gfp_t gfp,
2361 sh = kmem_cache_zalloc(sc, gfp);
2376 free_stripe(sc, sh);
2382 free_stripe(sc, sh);
2414 struct kmem_cache *sc;
2427 sc = kmem_cache_create(conf->cache_name[conf->active_name],
2430 if (!sc)
2432 conf->slab_cache = sc;
2544 struct kmem_cache *sc;
2551 sc = kmem_cache_create(conf->cache_name[1-conf->active_name],
2554 if (!sc)
2561 nsh = alloc_stripe(sc, GFP_KERNEL, newsize, conf);
2572 free_stripe(sc, nsh);
2574 kmem_cache_destroy(sc);
2643 conf->slab_cache = sc;
7366 struct shrink_control *sc)
7373 while (ret < sc->nr_to_scan &&
7387 struct shrink_control *sc)