Searched refs:__vm_enough_memory (Results 1 – 4 of 4) sorted by relevance
930 int __vm_enough_memory(const struct mm_struct *mm, long pages, int cap_sys_admin) in __vm_enough_memory() function
702 * a positive value, __vm_enough_memory() will be called with cap_sys_admin703 * set. If at least one LSM returns 0 or negative, __vm_enough_memory() will be716 * The module will respond with 0 if it thinks the __vm_enough_memory() in security_vm_enough_memory_mm() 728 return __vm_enough_memory(mm, pages, cap_sys_admin); in security_vm_enough_memory_mm()
3822 extern int __vm_enough_memory(const struct mm_struct *mm, long pages, int cap_sys_admin);
858 mm/util.c::__vm_enough_memory() for more information.