Home
last modified time | relevance | path

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

/mm/
A Dutil.c876 unsigned long allowed; in vm_commit_limit() local
879 allowed = sysctl_overcommit_kbytes >> (PAGE_SHIFT - 10); in vm_commit_limit()
881 allowed = ((totalram_pages() - hugetlb_total_pages()) in vm_commit_limit()
883 allowed += total_swap_pages; in vm_commit_limit()
885 return allowed; in vm_commit_limit()
931 long allowed; in __vm_enough_memory() local
948 allowed = vm_commit_limit(); in __vm_enough_memory()
953 allowed -= sysctl_admin_reserve_kbytes >> (PAGE_SHIFT - 10); in __vm_enough_memory()
961 allowed -= min_t(long, mm->total_vm / 32, reserve); in __vm_enough_memory()
964 if (percpu_counter_read_positive(&vm_committed_as) < allowed) in __vm_enough_memory()
A Dmlock.c795 int allowed = 0; in user_shm_lock() local
810 allowed = 0; in user_shm_lock()
813 allowed = 1; in user_shm_lock()
816 return allowed; in user_shm_lock()
A Dmremap.c1821 bool allowed = true, seen_vma = false; in remap_move() local
1838 if (!allowed) in remap_move()
1868 allowed = vma_multi_allowed(vma); in remap_move()
1869 if (seen_vma && !allowed) in remap_move()
1879 VM_WARN_ON_ONCE(allowed && res_vma != new_addr); in remap_move()

Completed in 13 milliseconds