Searched refs:ub_mem2zram_ratio (Results 1 – 4 of 4) sorted by relevance
36 unsigned int ub_mem2zram_ratio; member326 atomic_set(&memcg->memcg_reclaimed.ub_mem2zram_ratio, in zswapd_memcgs_param_parse()327 zswap_param[i].ub_mem2zram_ratio); in zswapd_memcgs_param_parse()376 if (kstrtoint(token, 0, &zswap_param[i].ub_mem2zram_ratio) || in zswapd_memcgs_param_write()377 zswap_param[i].ub_mem2zram_ratio > MAX_RATIO) in zswapd_memcgs_param_write()410 unsigned int ub_mem2zram_ratio; in zswapd_single_memcg_param_write() local416 if (sscanf(buf, "%u %u %u", &ub_mem2zram_ratio, &ub_zram2ufs_ratio, in zswapd_single_memcg_param_write()420 if (ub_mem2zram_ratio > MAX_RATIO || ub_zram2ufs_ratio > MAX_RATIO || in zswapd_single_memcg_param_write()424 atomic_set(&memcg->memcg_reclaimed.ub_mem2zram_ratio, in zswapd_single_memcg_param_write()425 ub_mem2zram_ratio); in zswapd_single_memcg_param_write()[all …]
615 if (zram_ratio >= (u32)atomic_read(&memcg->memcg_reclaimed.ub_mem2zram_ratio)) { in zswapd_shrink_anon()
5421 atomic_set(&memcg->memcg_reclaimed.ub_mem2zram_ratio, 60); in mem_cgroup_css_alloc()
37 atomic_t ub_mem2zram_ratio; member