Lines Matching refs:batchcount

188 	unsigned int batchcount;
383 .batchcount = 1,
527 ac->batchcount = batch;
533 int batchcount, gfp_t gfp)
547 init_arraycache(ac, entries, batchcount);
814 n->free_limit = (1 + nr_cpus_node(node)) * cachep->batchcount +
830 (1 + nr_cpus_node(node)) * cachep->batchcount + cachep->num;
885 cachep->shared * cachep->batchcount, 0xbaadf00d, gfp);
955 n->free_limit -= cachep->batchcount;
1721 struct kmem_cache *cachep, int entries, int batchcount)
1735 entries, batchcount);
1773 cpu_cache_get(cachep)->batchcount = 1;
1775 cachep->batchcount = 1;
2838 struct array_cache *ac, struct slab *slab, int batchcount)
2846 while (slab->active < cachep->num && batchcount--) {
2854 return batchcount;
2859 int batchcount;
2870 batchcount = ac->batchcount;
2871 if (!ac->touched && batchcount > BATCHREFILL_LIMIT) {
2877 batchcount = BATCHREFILL_LIMIT;
2890 if (shared && transfer_objects(ac, shared, batchcount)) {
2895 while (batchcount > 0) {
2903 batchcount = alloc_block(cachep, ac, slab, batchcount);
2931 alloc_block(cachep, ac, slab, batchcount);
3300 int batchcount;
3305 batchcount = ac->batchcount;
3314 if (batchcount > max)
3315 batchcount = max;
3317 ac->entry, sizeof(void *) * batchcount);
3318 shared_array->avail += batchcount;
3323 free_block(cachep, ac->entry, batchcount, node, &list);
3339 ac->avail -= batchcount;
3340 memmove(ac->entry, &(ac->entry[batchcount]), sizeof(void *)*ac->avail);
3663 int batchcount, int shared, gfp_t gfp)
3668 cpu_cache = alloc_kmem_cache_cpus(cachep, limit, batchcount);
3682 cachep->batchcount = batchcount;
3714 int batchcount = 0;
3755 * With debugging enabled, large batchcount lead to excessively long
3756 * periods with disabled local interrupts. Limit the batchcount
3761 batchcount = (limit + 1) / 2;
3762 err = do_tune_cpucache(cachep, limit, batchcount, shared, gfp);
3898 sinfo->batchcount = cachep->batchcount;
3950 int limit, batchcount, shared, res;
3964 if (sscanf(tmp, " %d %d %d", &limit, &batchcount, &shared) != 3)
3972 if (limit < 1 || batchcount < 1 ||
3973 batchcount > limit || shared < 0) {
3977 batchcount, shared,