Home
last modified time | relevance | path

Searched refs:ratio (Results 1 – 3 of 3) sorted by relevance

/mm/
Dbacking-dev.c169 unsigned int ratio; in min_ratio_store() local
172 ret = kstrtouint(buf, 10, &ratio); in min_ratio_store()
176 ret = bdi_set_min_ratio(bdi, ratio); in min_ratio_store()
188 unsigned int ratio; in max_ratio_store() local
191 ret = kstrtouint(buf, 10, &ratio); in max_ratio_store()
195 ret = bdi_set_max_ratio(bdi, ratio); in max_ratio_store()
Dpage-writeback.c400 unsigned long ratio = (vm_dirty_ratio * PAGE_SIZE) / 100; in domain_dirty_limits() local
418 ratio = min(DIV_ROUND_UP(bytes, global_avail), in domain_dirty_limits()
429 thresh = (ratio * available_memory) / PAGE_SIZE; in domain_dirty_limits()
Dslub.c5325 unsigned int ratio; in remote_node_defrag_ratio_store() local
5328 err = kstrtouint(buf, 10, &ratio); in remote_node_defrag_ratio_store()
5331 if (ratio > 100) in remote_node_defrag_ratio_store()
5334 s->remote_node_defrag_ratio = ratio * 10; in remote_node_defrag_ratio_store()