Home
last modified time | relevance | path

Searched refs:security_vm_enough_memory_mm (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/mm/
H A Dmremap.c641 if (security_vm_enough_memory_mm(mm, to_account >> PAGE_SHIFT)) in move_vma()
1049 if (security_vm_enough_memory_mm(mm, pages)) { in SYSCALL_DEFINE5()
H A Dmmap.c1948 if (security_vm_enough_memory_mm(mm, grow)) in acct_stack_growth()
2708 if (security_vm_enough_memory_mm(mm, charged)) in __mmap_region()
3113 if (security_vm_enough_memory_mm(mm, len >> PAGE_SHIFT)) in do_brk_flags()
3307 security_vm_enough_memory_mm(mm, charged)) in insert_vm_struct()
H A Dmprotect.c622 if (security_vm_enough_memory_mm(mm, charged)) in mprotect_fixup()
H A Dshmem.c167 0 : security_vm_enough_memory_mm(current->mm, VM_ACCT(size)); in shmem_acct_size()
181 return security_vm_enough_memory_mm(current->mm, in shmem_reacct_size()
200 return security_vm_enough_memory_mm(current->mm, in shmem_acct_block()
H A Dswapfile.c2440 if (!security_vm_enough_memory_mm(current->mm, p->pages)) in SYSCALL_DEFINE1()
/openbmc/linux/include/linux/
H A Dsecurity.h291 int security_vm_enough_memory_mm(struct mm_struct *mm, long pages);
607 static inline int security_vm_enough_memory_mm(struct mm_struct *mm, long pages) in security_vm_enough_memory_mm() function
/openbmc/linux/kernel/
H A Dfork.c707 if (security_vm_enough_memory_mm(oldmm, len)) /* sic */ in dup_mmap()
/openbmc/linux/security/
H A Dsecurity.c1021 int security_vm_enough_memory_mm(struct mm_struct *mm, long pages) in security_vm_enough_memory_mm() function