Lines Matching refs:allowed
906 unsigned long allowed;
909 allowed = sysctl_overcommit_kbytes >> (PAGE_SHIFT - 10);
911 allowed = ((totalram_pages() - hugetlb_total_pages())
913 allowed += total_swap_pages;
915 return allowed;
961 long allowed;
978 allowed = vm_commit_limit();
983 allowed -= sysctl_admin_reserve_kbytes >> (PAGE_SHIFT - 10);
991 allowed -= min_t(long, mm->total_vm / 32, reserve);
994 if (percpu_counter_read_positive(&vm_committed_as) < allowed)