Home
last modified time | relevance | path

Searched refs:reserve (Results 1 – 5 of 5) sorted by relevance

/mm/
Dbootmem.c331 int reserve, int flags) in mark_bootmem_node() argument
336 bdata - bootmem_node_data, start, end, reserve, flags); in mark_bootmem_node()
344 if (reserve) in mark_bootmem_node()
352 int reserve, int flags) in mark_bootmem() argument
370 err = mark_bootmem_node(bdata, pos, max, reserve, flags); in mark_bootmem()
371 if (reserve && err) { in mark_bootmem()
Dpage_alloc.c4040 int reserve; in setup_zone_migrate_reserve() local
4052 reserve = roundup(min_wmark_pages(zone), pageblock_nr_pages) >> in setup_zone_migrate_reserve()
4062 reserve = min(2, reserve); in setup_zone_migrate_reserve()
4066 if (reserve == old_reserve) in setup_zone_migrate_reserve()
4068 zone->nr_migrate_reserve_block = reserve; in setup_zone_migrate_reserve()
4082 if (reserve > 0) { in setup_zone_migrate_reserve()
4093 reserve--; in setup_zone_migrate_reserve()
4103 reserve--; in setup_zone_migrate_reserve()
Dnommu.c1908 long free, allowed, reserve; in __vm_enough_memory() local
1971 reserve = sysctl_user_reserve_kbytes >> (PAGE_SHIFT - 10); in __vm_enough_memory()
1972 allowed -= min_t(long, mm->total_vm / 32, reserve); in __vm_enough_memory()
Dhugetlb.c2485 unsigned long reserve, start, end; in hugetlb_vm_op_close() local
2493 reserve = (end - start) - region_count(resv, start, end); in hugetlb_vm_op_close()
2497 if (reserve) { in hugetlb_vm_op_close()
2498 hugetlb_acct_memory(h, -reserve); in hugetlb_vm_op_close()
2499 hugepage_subpool_put_pages(spool, reserve); in hugetlb_vm_op_close()
Dmmap.c167 long free, allowed, reserve; in __vm_enough_memory() local
234 reserve = sysctl_user_reserve_kbytes >> (PAGE_SHIFT - 10); in __vm_enough_memory()
235 allowed -= min_t(long, mm->total_vm / 32, reserve); in __vm_enough_memory()