Lines Matching refs:gain
3660 int gain;
3663 static void read_ctrl_pos(struct lruvec *lruvec, int type, int tier, int gain,
3675 pos->gain = gain;
3723 pv->refaulted * (sp->total + MIN_LRU_BATCH) * sp->gain <=
3724 (sp->refaulted + 1) * pv->total * pv->gain;
5045 * To leave a margin for fluctuations, use a larger gain factor (1:2).
5063 int gain[ANON_AND_FILE] = { swappiness, 200 - swappiness };
5071 read_ctrl_pos(lruvec, LRU_GEN_ANON, 0, gain[LRU_GEN_ANON], &sp);
5072 read_ctrl_pos(lruvec, LRU_GEN_FILE, 0, gain[LRU_GEN_FILE], &pv);
5075 read_ctrl_pos(lruvec, !type, 0, gain[!type], &sp);
5077 read_ctrl_pos(lruvec, type, tier, gain[type], &pv);