Lines Matching refs:batchcount
246 unsigned int batchcount;
574 .batchcount = 1,
863 int batchcount, gfp_t gfp)
880 nc->batchcount = batchcount;
1114 cachep->batchcount + cachep->num;
1143 l3->free_limit -= cachep->batchcount;
1212 cachep->batchcount, GFP_KERNEL);
1217 cachep->shared * cachep->batchcount,
2122 cpu_cache_get(cachep)->batchcount = 1;
2124 cachep->batchcount = 1;
3000 int batchcount;
3009 batchcount = ac->batchcount;
3010 if (!ac->touched && batchcount > BATCHREFILL_LIMIT) {
3016 batchcount = BATCHREFILL_LIMIT;
3024 if (l3->shared && transfer_objects(ac, l3->shared, batchcount)) {
3029 while (batchcount > 0) {
3052 while (slabp->inuse < cachep->num && batchcount--) {
3545 int batchcount;
3549 batchcount = ac->batchcount;
3551 BUG_ON(!batchcount || batchcount > ac->avail);
3560 if (batchcount > max)
3561 batchcount = max;
3563 ac->entry, sizeof(void *) * batchcount);
3564 shared_array->avail += batchcount;
3569 free_block(cachep, ac->entry, batchcount, node);
3590 ac->avail -= batchcount;
3591 memmove(ac->entry, &(ac->entry[batchcount]), sizeof(void *)*ac->avail);
3885 cachep->shared*cachep->batchcount,
3909 cachep->batchcount + cachep->num;
3928 cachep->batchcount + cachep->num;
3971 int batchcount, int shared, gfp_t gfp)
3982 batchcount, gfp);
3995 cachep->batchcount = batchcount;
4053 * With debugging enabled, large batchcount lead to excessively long
4054 * periods with disabled local interrupts. Limit the batchcount
4178 seq_puts(m, " : tunables <limit> <batchcount> <sharedfactor>");
4270 cachep->limit, cachep->batchcount, cachep->shared);
4339 int limit, batchcount, shared, res;
4353 if (sscanf(tmp, " %d %d %d", &limit, &batchcount, &shared) != 3)
4361 if (limit < 1 || batchcount < 1 ||
4362 batchcount > limit || shared < 0) {
4366 batchcount, shared,