Searched refs:ratio (Results 1 – 5 of 5) sorted by relevance
/mm/ |
D | backing-dev.c | 167 unsigned int ratio; in min_ratio_store() local 170 ret = kstrtouint(buf, 10, &ratio); in min_ratio_store() 174 ret = bdi_set_min_ratio(bdi, ratio); in min_ratio_store() 186 unsigned int ratio; in max_ratio_store() local 189 ret = kstrtouint(buf, 10, &ratio); in max_ratio_store() 193 ret = bdi_set_max_ratio(bdi, ratio); in max_ratio_store()
|
D | page-writeback.c | 402 unsigned long ratio = (vm_dirty_ratio * PAGE_SIZE) / 100; in domain_dirty_limits() local 420 ratio = min(DIV_ROUND_UP(bytes, global_avail), in domain_dirty_limits() 431 thresh = (ratio * available_memory) / PAGE_SIZE; in domain_dirty_limits()
|
D | memcontrol.c | 1526 unsigned int ratio; member 1578 memory_stats[i].ratio = HPAGE_PMD_SIZE; in memory_stats_init() 1580 VM_BUG_ON(!memory_stats[i].ratio); in memory_stats_init() 1612 size *= memory_stats[i].ratio; in memory_stat_format() 6519 size *= memory_stats[i].ratio; in memory_numa_stat_show()
|
D | slub.c | 5308 unsigned int ratio; in remote_node_defrag_ratio_store() local 5311 err = kstrtouint(buf, 10, &ratio); in remote_node_defrag_ratio_store() 5314 if (ratio > 100) in remote_node_defrag_ratio_store() 5317 s->remote_node_defrag_ratio = ratio * 10; in remote_node_defrag_ratio_store()
|
D | page_alloc.c | 8110 int ratio = sysctl_lowmem_reserve_ratio[i]; in setup_per_zone_lowmem_reserve() local 8111 bool clear = !ratio || !zone_managed_pages(zone); in setup_per_zone_lowmem_reserve() 8122 zone->lowmem_reserve[j] = managed_pages / ratio; in setup_per_zone_lowmem_reserve()
|